LeviLamina
Loading...
Searching...
No Matches
VideoTrackInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/VideoSinkInterface.h"
7#include "mc/external/rtc/VideoSourceInterface.h"
8#include "mc/external/webrtc/MediaStreamTrackInterface.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace rtc { struct VideoSinkWants; }
13namespace webrtc { class VideoFrame; }
14namespace webrtc { class VideoTrackSourceInterface; }
15// clang-format on
16
17namespace webrtc {
18
20 public ::rtc::VideoSourceInterface<::webrtc::VideoFrame> {
21public:
22 // VideoTrackInterface inner types define
23 enum class ContentHint : int {
24 KNone = 0,
25 KFluid = 1,
26 KDetailed = 2,
27 KText = 3,
28 };
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual void AddOrUpdateSink(
35 ::rtc::VideoSinkWants const& wants
36 ) /*override*/;
37
38 virtual void RemoveSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame>* sink) /*override*/;
39
40 virtual ::webrtc::VideoTrackSourceInterface* GetSource() const = 0;
41
42 virtual ::webrtc::VideoTrackInterface::ContentHint content_hint() const;
43
44 virtual void set_content_hint(::webrtc::VideoTrackInterface::ContentHint hint);
45
46 virtual ~VideoTrackInterface() /*override*/;
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCNAPI void $dtor();
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCNAPI void
60
62
63 MCNAPI ::webrtc::VideoTrackInterface::ContentHint $content_hint() const;
64
65 MCNAPI void $set_content_hint(::webrtc::VideoTrackInterface::ContentHint hint);
66
67
68 // NOLINTEND
69};
70
71} // namespace webrtc
Definition VideoSinkInterface.h:8
Definition VideoSourceInterface.h:8
Definition MediaStreamTrackInterface.h:11
Definition VideoFrame.h:16
Definition VideoTrackInterface.h:20
MCAPI void $RemoveSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink)
MCAPI::webrtc::VideoTrackInterface::ContentHint $content_hint() const
MCAPI void $set_content_hint(::webrtc::VideoTrackInterface::ContentHint hint)
MCAPI void $AddOrUpdateSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink, ::rtc::VideoSinkWants const &wants)
Definition VideoTrackSourceInterface.h:20
Definition VideoSinkWants.h:7