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"
58 RtpTransmissionManager& operator=(RtpTransmissionManager
const&);
59 RtpTransmissionManager(RtpTransmissionManager
const&);
60 RtpTransmissionManager();
65 virtual void OnSetStreams() ;
67 virtual ~RtpTransmissionManager() =
default;
75 MCNAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface>>
AddTrack(
77 ::std::vector<::std::string>
const& stream_ids,
78 ::std::vector<::webrtc::RtpEncodingParameters>
const* init_send_encodings
81 MCNAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface>>
AddTrackPlanB(
83 ::std::vector<::std::string>
const& stream_ids,
84 ::std::vector<::webrtc::RtpEncodingParameters>
const* init_send_encodings
87 MCNAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface>>
AddTrackUnifiedPlan(
89 ::std::vector<::std::string>
const& stream_ids,
90 ::std::vector<::webrtc::RtpEncodingParameters>
const* init_send_encodings
97 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
106 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal>>
107 CreateReceiver(::cricket::MediaType media_type, ::std::string
const& receiver_id);
109 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>
CreateSender(
110 ::cricket::MediaType media_type,
111 ::std::string
const&
id,
113 ::std::vector<::std::string>
const& stream_ids,
114 ::std::vector<::webrtc::RtpEncodingParameters>
const& send_encodings
120 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
123 ::std::vector<::webrtc::RtpEncodingParameters>
const* init_send_encodings
126 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal>>
129 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>
132 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>
136 ::std::vector<::webrtc::RtpSenderInfo>
const& infos,
137 ::std::string
const& stream_id,
138 ::std::string
const& sender_id
141 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
146 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal>>>
151 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>>
154 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
164 ::cricket::MediaType media_type
170 ::cricket::MediaType media_type
173 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface>
181 bool is_unified_plan,
186 ::std::function<
void()> on_negotiation_needed
198 bool is_unified_plan,
203 ::std::function<
void()> on_negotiation_needed
Definition AudioTrackInterface.h:18
Definition ConnectionContext.h:17
Definition LegacyStatsCollectorInterface.h:14
Definition PeerConnectionObserver.h:22
Definition RtpReceiverInterface.h:24
Definition RtpReceiverInternal.h:18
Definition RtpReceiverProxyWithInternal.h:8
Definition RtpSenderBase.h:36
Definition RtpSenderInterface.h:26
Definition RtpSenderInternal.h:22
Definition RtpSenderProxyWithInternal.h:8
Definition RtpTransceiver.h:37
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 ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > > GetReceiversInternal() const
MCAPI void AddVideoTrack(::webrtc::VideoTrackInterface *track, ::webrtc::MediaStreamInterface *stream)
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 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 void OnLocalSenderAdded(::webrtc::RtpSenderInfo const &sender_info, ::cricket::MediaType media_type)
MCAPI void CreateVideoReceiver(::webrtc::MediaStreamInterface *stream, ::webrtc::RtpSenderInfo const &remote_sender_info)
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 RtpEncodingParameters.h:7
Definition RtpSenderInfo.h:7