LeviLamina
Loading...
Searching...
No Matches
VideoTrackSource.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/MediaSourceInterface.h"
9#include "mc/external/webrtc/Notifier.h"
10#include "mc/external/webrtc/VideoTrackSourceInterface.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace rtc { struct VideoSinkWants; }
15namespace webrtc { class RecordableEncodedFrame; }
16namespace webrtc { class VideoFrame; }
17// clang-format on
18
19namespace webrtc {
20
21class VideoTrackSource : public ::webrtc::Notifier<::webrtc::VideoTrackSourceInterface> {
22public:
23 // member variables
24 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 VideoTrackSource& operator=(VideoTrackSource const&);
34 VideoTrackSource(VideoTrackSource const&);
35 VideoTrackSource();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ::webrtc::MediaSourceInterface::SourceState state() const /*override*/;
41
42 virtual bool remote() const /*override*/;
43
44 virtual bool is_screencast() const /*override*/;
45
46 virtual ::std::optional<bool> needs_denoising() const /*override*/;
47
48 virtual bool GetStats(::webrtc::VideoTrackSourceInterface::Stats* stats) /*override*/;
49
50 virtual void AddOrUpdateSink(
52 ::rtc::VideoSinkWants const& wants
53 ) /*override*/;
54
55 virtual void RemoveSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame>* sink) /*override*/;
56
57 virtual bool SupportsEncodedOutput() const /*override*/;
58
59 virtual void GenerateKeyFrame() /*override*/;
60
61 virtual void AddEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame>* sink) /*override*/;
62
63 virtual void RemoveEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame>* sink) /*override*/;
64
65 virtual ::rtc::VideoSourceInterface<::webrtc::VideoFrame>* source() = 0;
66
67 virtual ~VideoTrackSource() /*override*/;
68 // NOLINTEND
69
70public:
71 // member functions
72 // NOLINTBEGIN
73 MCNAPI void SetState(::webrtc::MediaSourceInterface::SourceState new_state);
74
75 MCNAPI explicit VideoTrackSource(bool remote);
76 // NOLINTEND
77
78public:
79 // constructor thunks
80 // NOLINTBEGIN
81 MCNAPI void* $ctor(bool remote);
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCNAPI void $dtor();
88 // NOLINTEND
89
90public:
91 // virtual function thunks
92 // NOLINTBEGIN
93 MCNAPI ::webrtc::MediaSourceInterface::SourceState $state() const;
94
95 MCNAPI bool $remote() const;
96
97 MCNAPI bool $is_screencast() const;
98
99 MCNAPI ::std::optional<bool> $needs_denoising() const;
100
102
103 MCNAPI void
105
107
108 MCNAPI bool $SupportsEncodedOutput() const;
109
110 MCNAPI void $GenerateKeyFrame();
111
113
115
116
117 // NOLINTEND
118
119public:
120 // vftables
121 // NOLINTBEGIN
122 MCNAPI static void** $vftable();
123
124 MCNAPI static void** $vftableForRefCountInterface();
125
126 MCNAPI static void** $vftableForNotifierInterface();
127 // NOLINTEND
128};
129
130} // namespace webrtc
Definition VideoSinkInterface.h:8
Definition Notifier.h:8
Definition RecordableEncodedFrame.h:18
Definition VideoFrame.h:16
MCAPI void * $ctor(bool remote)
MCAPI VideoTrackSource(bool remote)
MCAPI void $AddEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame > *sink)
MCAPI bool $remote() const
MCAPI void SetState(::webrtc::MediaSourceInterface::SourceState new_state)
MCAPI void $RemoveEncodedSink(::rtc::VideoSinkInterface<::webrtc::RecordableEncodedFrame > *sink)
MCAPI bool $GetStats(::webrtc::VideoTrackSourceInterface::Stats *stats)
MCAPI bool $is_screencast() const
static MCAPI void ** $vftableForNotifierInterface()
MCAPI void $GenerateKeyFrame()
MCAPI void $AddOrUpdateSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink, ::rtc::VideoSinkWants const &wants)
static MCAPI void ** $vftable()
MCAPI::webrtc::MediaSourceInterface::SourceState $state() const
MCAPI ::std::optional< bool > $needs_denoising() const
static MCAPI void ** $vftableForRefCountInterface()
MCAPI bool $SupportsEncodedOutput() const
MCAPI void $RemoveSink(::rtc::VideoSinkInterface<::webrtc::VideoFrame > *sink)
Definition Alias.h:14
Definition VideoSinkWants.h:7
Definition VideoTrackSourceInterface.h:28