3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/cricket/MediaType.h"
7#include "mc/external/webrtc/RTCErrorOr.h"
8#include "mc/external/webrtc/RtpReceiverProxyWithInternal.h"
9#include "mc/external/webrtc/RtpSenderBase.h"
10#include "mc/external/webrtc/RtpSenderProxyWithInternal.h"
11#include "mc/external/webrtc/RtpTransceiverProxyWithInternal.h"
12#include "mc/external/webrtc/scoped_refptr.h"
16namespace cricket {
class MediaEngineInterface; }
17namespace cricket {
class VideoMediaReceiveChannelInterface; }
18namespace cricket {
class VideoMediaSendChannelInterface; }
19namespace cricket {
class VoiceMediaReceiveChannelInterface; }
20namespace cricket {
class VoiceMediaSendChannelInterface; }
21namespace webrtc {
class AudioTrackInterface; }
22namespace webrtc {
class ConnectionContext; }
23namespace webrtc {
class LegacyStatsCollectorInterface; }
24namespace webrtc {
class MediaStreamInterface; }
25namespace webrtc {
class MediaStreamTrackInterface; }
26namespace webrtc {
class PeerConnectionObserver; }
27namespace webrtc {
class RtpReceiverInterface; }
28namespace webrtc {
class RtpReceiverInternal; }
29namespace webrtc {
class RtpSenderInterface; }
30namespace webrtc {
class RtpSenderInternal; }
31namespace webrtc {
class RtpTransceiver; }
32namespace webrtc {
class UsagePattern; }
33namespace webrtc {
class VideoTrackInterface; }
34namespace webrtc {
struct RtpEncodingParameters; }
35namespace webrtc {
struct RtpSenderInfo; }
69 virtual void OnSetStreams() ;
80 MCNAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface>>
AddTrack(
82 ::std::vector<::std::string>
const& stream_ids,
83 ::std::vector<::webrtc::RtpEncodingParameters>
const* init_send_encodings
86 MCNAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface>>
AddTrackPlanB(
88 ::std::vector<::std::string>
const& stream_ids,
89 ::std::vector<::webrtc::RtpEncodingParameters>
const* init_send_encodings
92 MCNAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface>>
AddTrackUnifiedPlan(
94 ::std::vector<::std::string>
const& stream_ids,
95 ::std::vector<::webrtc::RtpEncodingParameters>
const* init_send_encodings
102 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
111 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal>>
112 CreateReceiver(::cricket::MediaType media_type, ::std::string
const& receiver_id);
114 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>
CreateSender(
115 ::cricket::MediaType media_type,
116 ::std::string
const&
id,
118 ::std::vector<::std::string>
const& stream_ids,
119 ::std::vector<::webrtc::RtpEncodingParameters>
const& send_encodings
125 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
128 ::std::vector<::webrtc::RtpEncodingParameters>
const* init_send_encodings
131 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal>>
134 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>
137 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>
141 ::std::vector<::webrtc::RtpSenderInfo>
const& infos,
142 ::std::string
const& stream_id,
143 ::std::string
const& sender_id
146 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
151 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal>>>
156 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>>
159 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
162 MCNAPI ::webrtc::PeerConnectionObserver*
Observer()
const;
173 ::cricket::MediaType media_type
179 ::cricket::MediaType media_type
182 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface>
190 bool is_unified_plan,
195 ::std::function<
void()> on_negotiation_needed
213 bool is_unified_plan,
218 ::std::function<
void()> on_negotiation_needed
Definition AudioTrackInterface.h:18
Definition ConnectionContext.h:17
Definition LegacyStatsCollectorInterface.h:14
Definition PeerConnectionObserver.h:22
Definition RtpReceiverProxyWithInternal.h:8
Definition RtpSenderBase.h:36
Definition RtpSenderProxyWithInternal.h:8
Definition RtpTransmissionManager.h:40
MCAPI void OnRemoteSenderAdded(::webrtc::RtpSenderInfo const &sender_info, ::webrtc::MediaStreamInterface *stream, ::cricket::MediaType media_type)
MCAPI void OnLocalSenderRemoved(::webrtc::RtpSenderInfo const &sender_info, ::cricket::MediaType media_type)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > CreateReceiver(::cricket::MediaType media_type, ::std::string const &receiver_id)
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > > GetSendersInternal() const
MCAPI void RemoveAudioTrack(::webrtc::AudioTrackInterface *track, ::webrtc::MediaStreamInterface *stream)
MCAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > > AddTrackPlanB(::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > track, ::std::vector<::std::string > const &stream_ids, ::std::vector<::webrtc::RtpEncodingParameters > const *init_send_encodings)
MCAPI void AddAudioTrack(::webrtc::AudioTrackInterface *track, ::webrtc::MediaStreamInterface *stream)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > CreateSender(::cricket::MediaType media_type, ::std::string const &id, ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > track, ::std::vector<::std::string > const &stream_ids, ::std::vector<::webrtc::RtpEncodingParameters > const &send_encodings)
MCAPI::cricket::VideoMediaSendChannelInterface * video_media_send_channel() const
MCAPI::webrtc::PeerConnectionObserver * Observer() const
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > > GetReceiversInternal() const
MCAPI void AddVideoTrack(::webrtc::VideoTrackInterface *track, ::webrtc::MediaStreamInterface *stream)
MCAPI::cricket::MediaEngineInterface * media_engine() const
MCAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > > AddTrack(::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > track, ::std::vector<::std::string > const &stream_ids, ::std::vector<::webrtc::RtpEncodingParameters > const *init_send_encodings)
MCAPI ::std::vector<::webrtc::RtpSenderInfo > * GetLocalSenderInfos(::cricket::MediaType media_type)
MCAPI void OnNegotiationNeeded()
MCAPI void RemoveVideoTrack(::webrtc::VideoTrackInterface *track, ::webrtc::MediaStreamInterface *stream)
MCAPI void OnRemoteSenderRemoved(::webrtc::RtpSenderInfo const &sender_info, ::webrtc::MediaStreamInterface *stream, ::cricket::MediaType media_type)
MCAPI void CreateAudioReceiver(::webrtc::MediaStreamInterface *stream, ::webrtc::RtpSenderInfo const &remote_sender_info)
MCAPI::webrtc::RtpSenderInfo const * FindSenderInfo(::std::vector<::webrtc::RtpSenderInfo > const &infos, ::std::string const &stream_id, ::std::string const &sender_id) const
MCAPI::cricket::VideoMediaReceiveChannelInterface * video_media_receive_channel() const
MCAPI void OnLocalSenderAdded(::webrtc::RtpSenderInfo const &sender_info, ::cricket::MediaType media_type)
MCAPI void CreateVideoReceiver(::webrtc::MediaStreamInterface *stream, ::webrtc::RtpSenderInfo const &remote_sender_info)
MCAPI::cricket::VoiceMediaReceiveChannelInterface * voice_media_receive_channel() const
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > FindReceiverById(::std::string const &receiver_id) const
MCAPI RtpTransmissionManager(bool is_unified_plan, ::webrtc::ConnectionContext *context, ::webrtc::UsagePattern *usage_pattern, ::webrtc::PeerConnectionObserver *observer, ::webrtc::LegacyStatsCollectorInterface *legacy_stats, ::std::function< void()> on_negotiation_needed)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface > RemoveAndStopReceiver(::webrtc::RtpSenderInfo const &remote_sender_info)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > FindSenderById(::std::string const &sender_id) const
MCAPI::cricket::VoiceMediaSendChannelInterface * voice_media_send_channel() const
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > CreateAndAddTransceiver(::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > sender, ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > receiver)
static MCAPI void ** $vftable()
MCAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > > AddTrackUnifiedPlan(::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > track, ::std::vector<::std::string > const &stream_ids, ::std::vector<::webrtc::RtpEncodingParameters > const *init_send_encodings)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > GetAudioTransceiver() const
MCAPI void $OnSetStreams()
MCAPI void * $ctor(bool is_unified_plan, ::webrtc::ConnectionContext *context, ::webrtc::UsagePattern *usage_pattern, ::webrtc::PeerConnectionObserver *observer, ::webrtc::LegacyStatsCollectorInterface *legacy_stats, ::std::function< void()> on_negotiation_needed)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > GetVideoTransceiver() const
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > FindSenderForTrack(::webrtc::MediaStreamTrackInterface *track) const
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > FindFirstTransceiverForAddedTrack(::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > track, ::std::vector<::webrtc::RtpEncodingParameters > const *init_send_encodings)
MCAPI ::std::vector<::webrtc::RtpSenderInfo > * GetRemoteSenderInfos(::cricket::MediaType media_type)
Definition UsagePattern.h:15
Definition VideoTrackInterface.h:20
Definition scoped_refptr.h:8
Definition RtpSenderInfo.h:7