3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/cricket/MediaType.h"
7#include "mc/external/webrtc/AudioSourceInterface.h"
8#include "mc/external/webrtc/ObserverInterface.h"
9#include "mc/external/webrtc/RtpReceiverInternal.h"
10#include "mc/external/webrtc/scoped_refptr.h"
16namespace rtc {
class Thread; }
57 AudioRtpReceiver& operator=(AudioRtpReceiver
const&);
58 AudioRtpReceiver(AudioRtpReceiver
const&);
64 virtual ~AudioRtpReceiver() ;
66 virtual void OnChanged() ;
68 virtual void OnSetVolume(
double volume) ;
70 virtual ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface> track()
const ;
72 virtual ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface> dtls_transport()
const ;
74 virtual ::std::vector<::std::string> stream_ids()
const ;
76 virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>> streams()
const ;
78 virtual ::cricket::MediaType media_type()
const ;
80 virtual ::std::string id()
const ;
82 virtual ::webrtc::RtpParameters GetParameters()
const ;
87 virtual ::webrtc::scoped_refptr<::webrtc::FrameDecryptorInterface> GetFrameDecryptor()
const ;
91 virtual void SetupMediaChannel(uint ssrc) ;
93 virtual void SetupUnsignaledMediaChannel() ;
95 virtual ::std::optional<uint> ssrc()
const ;
97 virtual void NotifyFirstPacketReceived() ;
99 virtual void set_stream_ids(::std::vector<::std::string> stream_ids) ;
108 virtual void SetJitterBufferMinimumDelay(::std::optional<double> delay_seconds) ;
112 virtual ::std::vector<::webrtc::RtpSource> GetSources()
const ;
114 virtual int AttachmentId()
const ;
116 virtual void SetDepacketizerToDecoderFrameTransformer(
126 ::std::string receiver_id,
127 ::std::vector<::std::string> stream_ids,
128 bool is_unified_plan,
134 ::std::string
const& receiver_id,
136 bool is_unified_plan,
152 ::std::string receiver_id,
153 ::std::vector<::std::string> stream_ids,
154 bool is_unified_plan,
160 ::std::string
const& receiver_id,
162 bool is_unified_plan,
180 MCNAPI ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface>
$track()
const;
182 MCNAPI ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface>
$dtls_transport()
const;
186 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>>
$streams()
const;
190 MCNAPI ::std::string
$id()
const;
204 MCNAPI ::std::optional<uint>
$ssrc()
const;
MCAPI void Reconfigure(bool track_enabled)
MCAPI void $SetDepacketizerToDecoderFrameTransformer(::webrtc::scoped_refptr<::webrtc::FrameTransformerInterface > frame_transformer)
MCAPI ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > $track() const
MCAPI ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface > $dtls_transport() const
MCAPI ::webrtc::scoped_refptr<::webrtc::FrameDecryptorInterface > $GetFrameDecryptor() const
MCAPI ::std::vector<::webrtc::RtpSource > $GetSources() const
MCAPI void SetOutputVolume_w(double volume)
static MCAPI void ** $vftableForObserverInterface()
static MCAPI void ** $vftableForAudioObserver()
MCAPI int $AttachmentId() const
MCAPI AudioRtpReceiver(::rtc::Thread *worker_thread, ::std::string const &receiver_id, ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > const &streams, bool is_unified_plan, ::cricket::VoiceMediaReceiveChannelInterface *voice_channel)
MCAPI void * $ctor(::rtc::Thread *worker_thread, ::std::string const &receiver_id, ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > const &streams, bool is_unified_plan, ::cricket::VoiceMediaReceiveChannelInterface *voice_channel)
MCAPI void $OnSetVolume(double volume)
MCAPI AudioRtpReceiver(::rtc::Thread *worker_thread, ::std::string receiver_id, ::std::vector<::std::string > stream_ids, bool is_unified_plan, ::cricket::VoiceMediaReceiveChannelInterface *voice_channel)
MCAPI::webrtc::RtpParameters $GetParameters() const
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > $streams() const
MCAPI void $SetStreams(::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > > const &streams)
MCAPI void $SetFrameDecryptor(::webrtc::scoped_refptr<::webrtc::FrameDecryptorInterface > frame_decryptor)
MCAPI ::std::vector<::std::string > $stream_ids() const
MCAPI ::std::optional< uint > $ssrc() const
MCAPI void $SetJitterBufferMinimumDelay(::std::optional< double > delay_seconds)
MCAPI void * $ctor(::rtc::Thread *worker_thread, ::std::string receiver_id, ::std::vector<::std::string > stream_ids, bool is_unified_plan, ::cricket::VoiceMediaReceiveChannelInterface *voice_channel)
MCAPI::cricket::MediaType $media_type() const
MCAPI void RestartMediaChannel(::std::optional< uint > ssrc)
MCAPI void $set_transport(::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface > dtls_transport)
MCAPI void $SetObserver(::webrtc::RtpReceiverObserverInterface *observer)
MCAPI void $SetupUnsignaledMediaChannel()
MCAPI::std::string $id() const
static MCAPI void ** $vftableForRtpReceiverInternal()
MCAPI void $set_stream_ids(::std::vector<::std::string > stream_ids)
MCAPI void $SetupMediaChannel(uint ssrc)
MCAPI void $SetMediaChannel(::cricket::MediaReceiveChannelInterface *media_channel)
MCAPI void $NotifyFirstPacketReceived()
Definition AudioSourceInterface.h:24
Definition DtlsTransportInterface.h:18
Definition FrameDecryptorInterface.h:11
Definition ObserverInterface.h:7
Definition RtpReceiverInternal.h:18
Definition RtpReceiverObserverInterface.h:10
Definition scoped_refptr.h:8
Definition RtpParameters.h:7