3#include "mc/_HeaderOutputPredefine.h"
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"
16namespace webrtc {
class Thread; }
34 VoiceChannel& operator=(VoiceChannel
const&);
35 VoiceChannel(VoiceChannel
const&);
41 virtual ~VoiceChannel() =
default;
43 virtual ::webrtc::VideoChannel* AsVideoChannel() ;
45 virtual ::webrtc::VoiceChannel* AsVoiceChannel() ;
47 virtual ::webrtc::VoiceMediaSendChannelInterface* media_send_channel() ;
49 virtual ::webrtc::VoiceMediaSendChannelInterface* voice_media_send_channel() ;
51 virtual ::webrtc::VoiceMediaReceiveChannelInterface* media_receive_channel() ;
53 virtual ::webrtc::VoiceMediaReceiveChannelInterface* voice_media_receive_channel() ;
55 virtual ::webrtc::MediaType media_type()
const ;
57 virtual void UpdateMediaSendRecvState_w() ;
59 virtual bool SetLocalContent_w(
61 ::webrtc::SdpType type,
62 ::std::string& error_desc
65 virtual bool SetRemoteContent_w(
67 ::webrtc::SdpType type,
68 ::std::string& error_desc
79 ::std::unique_ptr<::webrtc::VoiceMediaSendChannelInterface> media_send_channel,
80 ::std::unique_ptr<::webrtc::VoiceMediaReceiveChannelInterface> media_receive_channel,
81 ::std::string_view mid,
95 ::std::unique_ptr<::webrtc::VoiceMediaSendChannelInterface> media_send_channel,
96 ::std::unique_ptr<::webrtc::VoiceMediaReceiveChannelInterface> media_receive_channel,
97 ::std::string_view mid,
125 ::webrtc::SdpType type,
126 ::std::string& error_desc
131 ::webrtc::SdpType type,
132 ::std::string& error_desc
Definition BaseChannel.h:37
Definition MediaContentDescription.h:20
Definition TaskQueueBase.h:16
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 CryptoOptions.h:12