3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/absl/AnyInvocable.h"
7#include "mc/external/webrtc/MediaType.h"
8#include "mc/external/webrtc/RTCErrorOr.h"
9#include "mc/external/webrtc/RtpReceiverProxyWithInternal.h"
10#include "mc/external/webrtc/RtpSenderBase.h"
11#include "mc/external/webrtc/RtpSenderProxyWithInternal.h"
12#include "mc/external/webrtc/RtpTransceiverProxyWithInternal.h"
13#include "mc/external/webrtc/scoped_refptr.h"
63 RtpTransmissionManager& operator=(RtpTransmissionManager
const&);
64 RtpTransmissionManager(RtpTransmissionManager
const&);
65 RtpTransmissionManager();
70 virtual void OnSetStreams() ;
72 virtual ~RtpTransmissionManager() =
default;
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(::webrtc::MediaType media_type, ::std::string
const& receiver_id);
114 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>
CreateSender(
115 ::webrtc::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>>
169 ::webrtc::MediaType media_type
175 ::webrtc::MediaType media_type
178 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface>
187 bool is_unified_plan,
193 ::std::function<
void()> on_negotiation_needed
208 bool is_unified_plan,
214 ::std::function<
void()> on_negotiation_needed
Definition AnyInvocable.h:8
Definition AudioTrackInterface.h:18
Definition CodecLookupHelper.h:13
Definition ConnectionContext.h:17
Definition Environment.h:7
Definition LegacyStatsCollectorInterface.h:14
Definition PeerConnectionObserver.h:22
Definition RtpReceiverInterface.h:25
Definition RtpReceiverInternal.h:18
Definition RtpReceiverProxyWithInternal.h:8
Definition RtpSenderBase.h:38
Definition RtpSenderInterface.h:28
Definition RtpSenderInternal.h:22
Definition RtpSenderProxyWithInternal.h:8
Definition RtpTransceiver.h:40
MCAPI::webrtc::VoiceMediaSendChannelInterface * voice_media_send_channel() const
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::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > CreateReceiver(::webrtc::MediaType media_type, ::std::string const &receiver_id)
MCAPI void OnRemoteSenderAdded(::webrtc::RtpSenderInfo const &sender_info, ::webrtc::MediaStreamInterface *stream, ::webrtc::MediaType media_type)
MCAPI::webrtc::VideoMediaSendChannelInterface * video_media_send_channel() const
MCAPI RtpTransmissionManager(::webrtc::Environment const &env, bool is_unified_plan, ::webrtc::ConnectionContext *context, ::webrtc::CodecLookupHelper *codec_lookup_helper, ::webrtc::UsagePattern *usage_pattern, ::webrtc::PeerConnectionObserver *observer, ::webrtc::LegacyStatsCollectorInterface *legacy_stats, ::std::function< void()> on_negotiation_needed)
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > > GetReceiversInternal() const
MCAPI void AddVideoTrack(::webrtc::VideoTrackInterface *track, ::webrtc::MediaStreamInterface *stream)
MCAPI void * $ctor(::webrtc::Environment const &env, bool is_unified_plan, ::webrtc::ConnectionContext *context, ::webrtc::CodecLookupHelper *codec_lookup_helper, ::webrtc::UsagePattern *usage_pattern, ::webrtc::PeerConnectionObserver *observer, ::webrtc::LegacyStatsCollectorInterface *legacy_stats, ::std::function< void()> on_negotiation_needed)
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 > * GetRemoteSenderInfos(::webrtc::MediaType media_type)
MCAPI void RemoveVideoTrack(::webrtc::VideoTrackInterface *track, ::webrtc::MediaStreamInterface *stream)
MCAPI void CreateAudioReceiver(::webrtc::MediaStreamInterface *stream, ::webrtc::RtpSenderInfo const &remote_sender_info)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > CreateSender(::webrtc::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::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, ::webrtc::MediaType media_type)
MCAPI void OnRemoteSenderRemoved(::webrtc::RtpSenderInfo const &sender_info, ::webrtc::MediaStreamInterface *stream, ::webrtc::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 void RunWithObserver(::absl::AnyInvocable< void(::webrtc::PeerConnectionObserver *) && > task)
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 ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > CreateAndAddTransceiver(::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > sender, ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > receiver)
MCAPI void OnLocalSenderRemoved(::webrtc::RtpSenderInfo const &sender_info, ::webrtc::MediaType media_type)
MCAPI ::std::vector<::webrtc::RtpSenderInfo > * GetLocalSenderInfos(::webrtc::MediaType media_type)
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 ::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)
Definition UsagePattern.h:15
Definition VideoTrackInterface.h:20
Definition scoped_refptr.h:8
Definition RtpEncodingParameters.h:7
Definition RtpSenderInfo.h:7