3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/cricket/MediaType.h"
7#include "mc/external/webrtc/AudioSourceInterface.h"
8#include "mc/external/webrtc/MediaSourceInterface.h"
9#include "mc/external/webrtc/ObserverInterface.h"
10#include "mc/external/webrtc/RtpReceiverInternal.h"
11#include "mc/external/webrtc/scoped_refptr.h"
15namespace cricket {
class MediaReceiveChannelInterface; }
16namespace cricket {
class VoiceMediaReceiveChannelInterface; }
17namespace rtc {
class Thread; }
18namespace webrtc {
class DtlsTransportInterface; }
19namespace webrtc {
class FrameDecryptorInterface; }
20namespace webrtc {
class FrameTransformerInterface; }
21namespace webrtc {
class MediaStreamInterface; }
22namespace webrtc {
class MediaStreamTrackInterface; }
23namespace webrtc {
class RtpReceiverObserverInterface; }
24namespace webrtc {
class RtpSource; }
25namespace webrtc {
struct RtpParameters; }
69 virtual void OnChanged() ;
72 virtual void OnSetVolume(
double volume) ;
75 virtual ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface> track()
const ;
78 virtual ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface> dtls_transport()
const ;
81 virtual ::std::vector<::std::string> stream_ids()
const ;
84 virtual ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>> streams()
const ;
87 virtual ::cricket::MediaType media_type()
const ;
90 virtual ::std::string id()
const ;
93 virtual ::webrtc::RtpParameters GetParameters()
const ;
100 virtual ::webrtc::scoped_refptr<::webrtc::FrameDecryptorInterface> GetFrameDecryptor()
const ;
103 virtual void Stop() ;
106 virtual void SetupMediaChannel(uint ssrc) ;
109 virtual void SetupUnsignaledMediaChannel() ;
112 virtual ::std::optional<uint> ssrc()
const ;
115 virtual void NotifyFirstPacketReceived() ;
118 virtual void set_stream_ids(::std::vector<::std::string> stream_ids) ;
131 virtual void SetJitterBufferMinimumDelay(::std::optional<double> delay_seconds) ;
137 virtual ::std::vector<::webrtc::RtpSource> GetSources()
const ;
140 virtual int AttachmentId()
const ;
143 virtual void SetDepacketizerToDecoderFrameTransformer(
153 ::std::string receiver_id,
154 ::std::vector<::std::string> stream_ids,
155 bool is_unified_plan,
161 ::std::string
const& receiver_id,
163 bool is_unified_plan,
172 ::std::optional<uint> ssrc,
174 ::webrtc::MediaSourceInterface::SourceState state
185 ::std::string receiver_id,
186 ::std::vector<::std::string> stream_ids,
187 bool is_unified_plan,
193 ::std::string
const& receiver_id,
195 bool is_unified_plan,
213 MCNAPI ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface>
$track()
const;
215 MCNAPI ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface>
$dtls_transport()
const;
219 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>>
$streams()
const;
223 MCNAPI ::std::string
$id()
const;
237 MCNAPI ::std::optional<uint>
$ssrc()
const;
Definition AudioRtpReceiver.h:32
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 RestartMediaChannel_w(::std::optional< uint > ssrc, bool track_enabled, ::webrtc::MediaSourceInterface::SourceState state)
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 ObserverInterface.h:7
Definition RtpReceiverInternal.h:18
Definition RtpReceiverObserverInterface.h:10
Definition scoped_refptr.h:8