LeviLamina
Loading...
Searching...
No Matches
VideoChannel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/BaseChannel.h"
7#include "mc/external/webrtc/MediaType.h"
8#include "mc/external/webrtc/SdpType.h"
9#include "mc/external/webrtc/VideoMediaReceiveChannelInterface.h"
10#include "mc/external/webrtc/VideoMediaSendChannelInterface.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace webrtc { class MediaContentDescription; }
15namespace webrtc { class TaskQueueBase; }
16namespace webrtc { class Thread; }
17namespace webrtc { class UniqueRandomIdGenerator; }
18namespace webrtc { class VoiceChannel; }
19namespace webrtc { struct CryptoOptions; }
20// clang-format on
21
22namespace webrtc {
23
24class VideoChannel : public ::webrtc::BaseChannel {
25public:
26 // member variables
27 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 VideoChannel& operator=(VideoChannel const&);
35 VideoChannel(VideoChannel const&);
36 VideoChannel();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual ~VideoChannel() /*override*/ = default;
42
43 virtual ::webrtc::VideoChannel* AsVideoChannel() /*override*/;
44
45 virtual ::webrtc::VoiceChannel* AsVoiceChannel() /*override*/;
46
47 virtual ::webrtc::VideoMediaSendChannelInterface* media_send_channel() /*override*/;
48
49 virtual ::webrtc::VideoMediaSendChannelInterface* video_media_send_channel() /*override*/;
50
51 virtual ::webrtc::VideoMediaReceiveChannelInterface* media_receive_channel() /*override*/;
52
53 virtual ::webrtc::VideoMediaReceiveChannelInterface* video_media_receive_channel() /*override*/;
54
55 virtual ::webrtc::MediaType media_type() const /*override*/;
56
57 virtual void UpdateMediaSendRecvState_w() /*override*/;
58
59 virtual bool SetLocalContent_w(
61 ::webrtc::SdpType type,
62 ::std::string& error_desc
63 ) /*override*/;
64
65 virtual bool SetRemoteContent_w(
67 ::webrtc::SdpType type,
68 ::std::string& error_desc
69 ) /*override*/;
70 // NOLINTEND
71
72public:
73 // member functions
74 // NOLINTBEGIN
76 ::webrtc::TaskQueueBase* worker_thread,
77 ::webrtc::Thread* network_thread,
78 ::webrtc::TaskQueueBase* signaling_thread,
79 ::std::unique_ptr<::webrtc::VideoMediaSendChannelInterface> media_send_channel,
80 ::std::unique_ptr<::webrtc::VideoMediaReceiveChannelInterface> media_receive_channel,
81 ::std::string_view mid,
82 bool srtp_required,
83 ::webrtc::CryptoOptions crypto_options,
85 );
86 // NOLINTEND
87
88public:
89 // constructor thunks
90 // NOLINTBEGIN
91 MCNAPI void* $ctor(
92 ::webrtc::TaskQueueBase* worker_thread,
93 ::webrtc::Thread* network_thread,
94 ::webrtc::TaskQueueBase* signaling_thread,
95 ::std::unique_ptr<::webrtc::VideoMediaSendChannelInterface> media_send_channel,
96 ::std::unique_ptr<::webrtc::VideoMediaReceiveChannelInterface> media_receive_channel,
97 ::std::string_view mid,
98 bool srtp_required,
99 ::webrtc::CryptoOptions crypto_options,
101 );
102 // NOLINTEND
103
104public:
105 // virtual function thunks
106 // NOLINTBEGIN
107 MCNAPI ::webrtc::VideoChannel* $AsVideoChannel();
108
109 MCNAPI ::webrtc::VoiceChannel* $AsVoiceChannel();
110
111 MCNAPI ::webrtc::VideoMediaSendChannelInterface* $media_send_channel();
112
113 MCNAPI ::webrtc::VideoMediaSendChannelInterface* $video_media_send_channel();
114
115 MCNAPI ::webrtc::VideoMediaReceiveChannelInterface* $media_receive_channel();
116
117 MCNAPI ::webrtc::VideoMediaReceiveChannelInterface* $video_media_receive_channel();
118
119 MCNAPI ::webrtc::MediaType $media_type() const;
120
122
125 ::webrtc::SdpType type,
126 ::std::string& error_desc
127 );
128
131 ::webrtc::SdpType type,
132 ::std::string& error_desc
133 );
134
135
136 // NOLINTEND
137
138public:
139 // vftables
140 // NOLINTBEGIN
141 MCNAPI static void** $vftableForChannelInterface();
142
143 MCNAPI static void** $vftableForRtpPacketSinkInterface();
144
146 // NOLINTEND
147};
148
149} // namespace webrtc
Definition BaseChannel.h:37
Definition MediaContentDescription.h:20
Definition TaskQueueBase.h:16
Definition Thread.h:20
Definition UniqueRandomIdGenerator.h:7
MCAPI::webrtc::VideoMediaReceiveChannelInterface * $video_media_receive_channel()
MCAPI void * $ctor(::webrtc::TaskQueueBase *worker_thread, ::webrtc::Thread *network_thread, ::webrtc::TaskQueueBase *signaling_thread, ::std::unique_ptr<::webrtc::VideoMediaSendChannelInterface > media_send_channel, ::std::unique_ptr<::webrtc::VideoMediaReceiveChannelInterface > media_receive_channel, ::std::string_view mid, bool srtp_required, ::webrtc::CryptoOptions crypto_options, ::webrtc::UniqueRandomIdGenerator *ssrc_generator)
MCAPI bool $SetLocalContent_w(::webrtc::MediaContentDescription const *content, ::webrtc::SdpType type, ::std::string &error_desc)
static MCAPI void ** $vftableForRtpPacketSinkInterface()
MCAPI VideoChannel(::webrtc::TaskQueueBase *worker_thread, ::webrtc::Thread *network_thread, ::webrtc::TaskQueueBase *signaling_thread, ::std::unique_ptr<::webrtc::VideoMediaSendChannelInterface > media_send_channel, ::std::unique_ptr<::webrtc::VideoMediaReceiveChannelInterface > media_receive_channel, ::std::string_view mid, bool srtp_required, ::webrtc::CryptoOptions crypto_options, ::webrtc::UniqueRandomIdGenerator *ssrc_generator)
MCAPI::webrtc::VideoMediaSendChannelInterface * $media_send_channel()
MCAPI::webrtc::VoiceChannel * $AsVoiceChannel()
MCAPI::webrtc::VideoMediaSendChannelInterface * $video_media_send_channel()
static MCAPI void ** $vftableForChannelInterface()
MCAPI::webrtc::VideoChannel * $AsVideoChannel()
MCAPI::webrtc::VideoMediaReceiveChannelInterface * $media_receive_channel()
MCAPI::webrtc::MediaType $media_type() const
MCAPI bool $SetRemoteContent_w(::webrtc::MediaContentDescription const *content, ::webrtc::SdpType type, ::std::string &error_desc)
static MCAPI void ** $vftableForMediaChannelNetworkInterface()
MCAPI void $UpdateMediaSendRecvState_w()
Definition VoiceChannel.h:24
Definition Alias.h:14
Definition CryptoOptions.h:12