LeviLamina
Loading...
Searching...
No Matches
VoiceChannel.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/VoiceMediaReceiveChannelInterface.h"
10#include "mc/external/webrtc/VoiceMediaSendChannelInterface.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 VideoChannel; }
19namespace webrtc { struct CryptoOptions; }
20// clang-format on
21
22namespace webrtc {
23
24class VoiceChannel : public ::webrtc::BaseChannel {
25public:
26 // member variables
27 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 VoiceChannel& operator=(VoiceChannel const&);
35 VoiceChannel(VoiceChannel const&);
36 VoiceChannel();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual ~VoiceChannel() /*override*/ = default;
42
43 virtual ::webrtc::VideoChannel* AsVideoChannel() /*override*/;
44
45 virtual ::webrtc::VoiceChannel* AsVoiceChannel() /*override*/;
46
47 virtual ::webrtc::VoiceMediaSendChannelInterface* media_send_channel() /*override*/;
48
49 virtual ::webrtc::VoiceMediaSendChannelInterface* voice_media_send_channel() /*override*/;
50
51 virtual ::webrtc::VoiceMediaReceiveChannelInterface* media_receive_channel() /*override*/;
52
53 virtual ::webrtc::VoiceMediaReceiveChannelInterface* voice_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::VoiceMediaSendChannelInterface> media_send_channel,
80 ::std::unique_ptr<::webrtc::VoiceMediaReceiveChannelInterface> 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::VoiceMediaSendChannelInterface> media_send_channel,
96 ::std::unique_ptr<::webrtc::VoiceMediaReceiveChannelInterface> 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::VoiceMediaSendChannelInterface* $media_send_channel();
112
113 MCNAPI ::webrtc::VoiceMediaSendChannelInterface* $voice_media_send_channel();
114
115 MCNAPI ::webrtc::VoiceMediaReceiveChannelInterface* $media_receive_channel();
116
117 MCNAPI ::webrtc::VoiceMediaReceiveChannelInterface* $voice_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
Definition VideoChannel.h:24
MCAPI::webrtc::VoiceMediaReceiveChannelInterface * $media_receive_channel()
MCAPI::webrtc::VideoChannel * $AsVideoChannel()
MCAPI::webrtc::MediaType $media_type() const
MCAPI::webrtc::VoiceMediaReceiveChannelInterface * $voice_media_receive_channel()
static MCAPI void ** $vftableForMediaChannelNetworkInterface()
MCAPI bool $SetLocalContent_w(::webrtc::MediaContentDescription const *content, ::webrtc::SdpType type, ::std::string &error_desc)
static MCAPI void ** $vftableForRtpPacketSinkInterface()
MCAPI::webrtc::VoiceMediaSendChannelInterface * $voice_media_send_channel()
MCAPI VoiceChannel(::webrtc::TaskQueueBase *worker_thread, ::webrtc::Thread *network_thread, ::webrtc::TaskQueueBase *signaling_thread, ::std::unique_ptr<::webrtc::VoiceMediaSendChannelInterface > media_send_channel, ::std::unique_ptr<::webrtc::VoiceMediaReceiveChannelInterface > media_receive_channel, ::std::string_view mid, bool srtp_required, ::webrtc::CryptoOptions crypto_options, ::webrtc::UniqueRandomIdGenerator *ssrc_generator)
static MCAPI void ** $vftableForChannelInterface()
MCAPI bool $SetRemoteContent_w(::webrtc::MediaContentDescription const *content, ::webrtc::SdpType type, ::std::string &error_desc)
MCAPI void * $ctor(::webrtc::TaskQueueBase *worker_thread, ::webrtc::Thread *network_thread, ::webrtc::TaskQueueBase *signaling_thread, ::std::unique_ptr<::webrtc::VoiceMediaSendChannelInterface > media_send_channel, ::std::unique_ptr<::webrtc::VoiceMediaReceiveChannelInterface > media_receive_channel, ::std::string_view mid, bool srtp_required, ::webrtc::CryptoOptions crypto_options, ::webrtc::UniqueRandomIdGenerator *ssrc_generator)
MCAPI::webrtc::VoiceMediaSendChannelInterface * $media_send_channel()
MCAPI::webrtc::VoiceChannel * $AsVoiceChannel()
MCAPI void $UpdateMediaSendRecvState_w()
Definition Alias.h:14
Definition CryptoOptions.h:12