LeviLamina
Loading...
Searching...
No Matches
RtpTransmissionManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
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/RtpSenderProxyWithInternal.h"
10#include "mc/external/webrtc/RtpTransceiverProxyWithInternal.h"
11#include "mc/external/webrtc/scoped_refptr.h"
12
13// auto generated forward declare list
14// clang-format off
15namespace cricket { class MediaEngineInterface; }
16namespace cricket { class VideoMediaReceiveChannelInterface; }
17namespace cricket { class VideoMediaSendChannelInterface; }
18namespace cricket { class VoiceMediaReceiveChannelInterface; }
19namespace cricket { class VoiceMediaSendChannelInterface; }
20namespace webrtc { class AudioTrackInterface; }
21namespace webrtc { class ConnectionContext; }
22namespace webrtc { class LegacyStatsCollectorInterface; }
23namespace webrtc { class MediaStreamInterface; }
24namespace webrtc { class MediaStreamTrackInterface; }
25namespace webrtc { class PeerConnectionObserver; }
26namespace webrtc { class RtpReceiverInterface; }
27namespace webrtc { class RtpReceiverInternal; }
28namespace webrtc { class RtpSenderInterface; }
29namespace webrtc { class RtpSenderInternal; }
30namespace webrtc { class RtpTransceiver; }
31namespace webrtc { class UsagePattern; }
32namespace webrtc { class VideoTrackInterface; }
33namespace webrtc { struct RtpEncodingParameters; }
34namespace webrtc { struct RtpSenderInfo; }
35// clang-format on
36
37namespace webrtc {
38
40public:
41 // prevent constructor by default
43
44public:
45 // member functions
46 // NOLINTBEGIN
48
49 MCNAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface>> AddTrack(
51 ::std::vector<::std::string> const&,
52 ::std::vector<::webrtc::RtpEncodingParameters> const*
53 );
54
55 MCNAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface>> AddTrackPlanB(
57 ::std::vector<::std::string> const&,
58 ::std::vector<::webrtc::RtpEncodingParameters> const*
59 );
60
61 MCNAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface>> AddTrackUnifiedPlan(
63 ::std::vector<::std::string> const&,
64 ::std::vector<::webrtc::RtpEncodingParameters> const*
65 );
66
68
69 MCNAPI void Close();
70
71 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
75 );
76
78
79 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal>>
80 CreateReceiver(::cricket::MediaType, ::std::string const&);
81
82 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>> CreateSender(
83 ::cricket::MediaType,
84 ::std::string const&,
86 ::std::vector<::std::string> const&,
87 ::std::vector<::webrtc::RtpEncodingParameters> const&
88 );
89
91
92 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
95 ::std::vector<::webrtc::RtpEncodingParameters> const*
96 );
97
98 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal>>
99 FindReceiverById(::std::string const&) const;
100
101 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>
102 FindSenderById(::std::string const&) const;
103
104 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>
106
107 MCNAPI ::webrtc::RtpSenderInfo const*
108 FindSenderInfo(::std::vector<::webrtc::RtpSenderInfo> const&, ::std::string const&, ::std::string const&) const;
109
110 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
112
113 MCNAPI ::std::vector<::webrtc::RtpSenderInfo>* GetLocalSenderInfos(::cricket::MediaType);
114
115 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal>>>
117
118 MCNAPI ::std::vector<::webrtc::RtpSenderInfo>* GetRemoteSenderInfos(::cricket::MediaType);
119
120 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>>
122
123 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver>>
125
126 MCNAPI ::webrtc::PeerConnectionObserver* Observer() const;
127
128 MCNAPI void OnLocalSenderAdded(::webrtc::RtpSenderInfo const&, ::cricket::MediaType);
129
130 MCNAPI void OnLocalSenderRemoved(::webrtc::RtpSenderInfo const&, ::cricket::MediaType);
131
132 MCNAPI void OnNegotiationNeeded();
133
134 MCNAPI void
136
137 MCNAPI void
139
140 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface>
142
144
146
148 bool,
153 ::std::function<void()>
154 );
155
156 MCNAPI ::cricket::MediaEngineInterface* media_engine() const;
157
158 MCNAPI ::cricket::VideoMediaReceiveChannelInterface* video_media_receive_channel() const;
159
160 MCNAPI ::cricket::VideoMediaSendChannelInterface* video_media_send_channel() const;
161
162 MCNAPI ::cricket::VoiceMediaReceiveChannelInterface* voice_media_receive_channel() const;
163
164 MCNAPI ::cricket::VoiceMediaSendChannelInterface* voice_media_send_channel() const;
165 // NOLINTEND
166
167public:
168 // constructor thunks
169 // NOLINTBEGIN
170 MCNAPI void* $ctor(
171 bool,
176 ::std::function<void()>
177 );
178 // NOLINTEND
179
180public:
181 // vftables
182 // NOLINTBEGIN
183 MCNAPI static void** $vftable();
184 // NOLINTEND
185};
186
187} // namespace webrtc
Definition AudioTrackInterface.h:18
Definition ConnectionContext.h:17
Definition LegacyStatsCollectorInterface.h:7
Definition MediaStreamInterface.h:18
Definition MediaStreamTrackInterface.h:11
Definition PeerConnectionObserver.h:22
Definition RtpReceiverProxyWithInternal.h:8
Definition RtpSenderProxyWithInternal.h:8
Definition RtpTransmissionManager.h:39
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > FindReceiverById(::std::string const &) const
MCAPI ::std::vector<::webrtc::RtpSenderInfo > * GetRemoteSenderInfos(::cricket::MediaType)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > CreateSender(::cricket::MediaType, ::std::string const &, ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface >, ::std::vector<::std::string > const &, ::std::vector<::webrtc::RtpEncodingParameters > const &)
MCAPI void CreateAudioReceiver(::webrtc::MediaStreamInterface *, ::webrtc::RtpSenderInfo const &)
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > > GetSendersInternal() const
MCAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > > AddTrackUnifiedPlan(::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface >, ::std::vector<::std::string > const &, ::std::vector<::webrtc::RtpEncodingParameters > const *)
MCAPI void OnLocalSenderRemoved(::webrtc::RtpSenderInfo const &, ::cricket::MediaType)
MCAPI RtpTransmissionManager(bool, ::webrtc::ConnectionContext *, ::webrtc::UsagePattern *, ::webrtc::PeerConnectionObserver *, ::webrtc::LegacyStatsCollectorInterface *, ::std::function< void()>)
MCAPI::cricket::VideoMediaSendChannelInterface * video_media_send_channel() const
MCAPI void OnRemoteSenderAdded(::webrtc::RtpSenderInfo const &, ::webrtc::MediaStreamInterface *, ::cricket::MediaType)
MCAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > > AddTrack(::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface >, ::std::vector<::std::string > const &, ::std::vector<::webrtc::RtpEncodingParameters > const *)
MCAPI::webrtc::PeerConnectionObserver * Observer() const
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > > GetReceiversInternal() const
MCAPI::cricket::MediaEngineInterface * media_engine() const
MCAPI void OnRemoteSenderRemoved(::webrtc::RtpSenderInfo const &, ::webrtc::MediaStreamInterface *, ::cricket::MediaType)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > FindSenderForTrack(::webrtc::MediaStreamTrackInterface *) const
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInterface > RemoveAndStopReceiver(::webrtc::RtpSenderInfo const &)
MCAPI void OnLocalSenderAdded(::webrtc::RtpSenderInfo const &, ::cricket::MediaType)
MCAPI::cricket::VideoMediaReceiveChannelInterface * video_media_receive_channel() const
MCAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::RtpSenderInterface > > AddTrackPlanB(::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface >, ::std::vector<::std::string > const &, ::std::vector<::webrtc::RtpEncodingParameters > const *)
MCAPI void * $ctor(bool, ::webrtc::ConnectionContext *, ::webrtc::UsagePattern *, ::webrtc::PeerConnectionObserver *, ::webrtc::LegacyStatsCollectorInterface *, ::std::function< void()>)
MCAPI::cricket::VoiceMediaReceiveChannelInterface * voice_media_receive_channel() const
MCAPI void RemoveVideoTrack(::webrtc::VideoTrackInterface *, ::webrtc::MediaStreamInterface *)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > CreateAndAddTransceiver(::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > >, ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > >)
MCAPI ::std::vector<::webrtc::RtpSenderInfo > * GetLocalSenderInfos(::cricket::MediaType)
MCAPI void AddVideoTrack(::webrtc::VideoTrackInterface *, ::webrtc::MediaStreamInterface *)
MCAPI::cricket::VoiceMediaSendChannelInterface * voice_media_send_channel() const
MCAPI void AddAudioTrack(::webrtc::AudioTrackInterface *, ::webrtc::MediaStreamInterface *)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > FindFirstTransceiverForAddedTrack(::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface >, ::std::vector<::webrtc::RtpEncodingParameters > const *)
MCAPI void CreateVideoReceiver(::webrtc::MediaStreamInterface *, ::webrtc::RtpSenderInfo const &)
static MCAPI void ** $vftable()
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > FindSenderById(::std::string const &) const
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > GetAudioTransceiver() const
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpTransceiverProxyWithInternal<::webrtc::RtpTransceiver > > GetVideoTransceiver() const
MCAPI void RemoveAudioTrack(::webrtc::AudioTrackInterface *, ::webrtc::MediaStreamInterface *)
MCAPI::webrtc::RtpSenderInfo const * FindSenderInfo(::std::vector<::webrtc::RtpSenderInfo > const &, ::std::string const &, ::std::string const &) const
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > > CreateReceiver(::cricket::MediaType, ::std::string const &)
Definition UsagePattern.h:15
Definition VideoTrackInterface.h:20
Definition scoped_refptr.h:8
Definition RtpSenderInfo.h:7