3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/absl/AnyInvocable.h"
7#include "mc/external/webrtc/ObserverInterface.h"
8#include "mc/external/webrtc/RtpSenderInternal.h"
9#include "mc/external/webrtc/VideoEncoderFactory.h"
10#include "mc/external/webrtc/scoped_refptr.h"
14namespace cricket {
class MediaSendChannelInterface; }
15namespace cricket {
struct Codec; }
16namespace rtc {
class Thread; }
17namespace webrtc {
class DtlsTransportInterface; }
18namespace webrtc {
class FrameEncryptorInterface; }
19namespace webrtc {
class FrameTransformerInterface; }
20namespace webrtc {
class MediaStreamTrackInterface; }
21namespace webrtc {
class RTCError; }
22namespace webrtc {
struct RtpEncodingParameters; }
23namespace webrtc {
struct RtpParameters; }
44 virtual void OnSetStreams() = 0;
94 virtual ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface> track() const ;
103 virtual
void SetParametersAsync(
105 ::absl::AnyInvocable<
void(::webrtc::
RTCError) &&> callback
109 virtual ::webrtc::
RtpParameters GetParametersInternal() const ;
112 virtual
void SetParametersInternal(
114 ::absl::AnyInvocable<
void(::webrtc::
RTCError) &&> callback,
122 virtual ::webrtc::
RtpParameters GetParametersInternalWithAllLayers() const ;
126 SetParametersInternalWithAllLayers(::webrtc::
RtpParameters const& parameters) ;
129 virtual
void SetSsrc(uint ssrc) ;
132 virtual uint ssrc() const ;
135 virtual ::
std::vector<::
std::
string> stream_ids() const ;
138 virtual
void set_stream_ids(::
std::vector<::
std::
string> const& stream_ids) ;
141 virtual
void SetStreams(::
std::vector<::
std::
string> const& stream_ids) ;
144 virtual ::
std::
string id() const ;
167 virtual
void Stop() ;
170 virtual
int AttachmentId() const ;
173 virtual ::webrtc::
RTCError DisableEncodingLayers(::
std::vector<::
std::
string> const& rids) ;
176 virtual
void SetEncoderToPacketizerFrameTransformer(
181 virtual
void SetEncoderSelector(
186 virtual
void SetTransceiverAsStopped() ;
189 virtual
void SetSendCodecs(::
std::vector<::cricket::Codec> send_codecs) ;
192 virtual ::
std::
string track_kind() const = 0;
195 virtual
void SetSend() = 0;
198 virtual
void ClearSend() = 0;
201 virtual
void AttachTrack();
204 virtual
void DetachTrack();
207 virtual
void AddTrackToStats();
210 virtual
void RemoveTrackFromStats();
213 virtual ::webrtc::
RTCError GenerateKeyFrame(::
std::vector<::
std::
string> const&) = 0;
225 ::rtc::Thread* worker_thread,
226 ::
std::
string const&
id,
237 ::rtc::Thread* worker_thread,
238 ::
std::
string const&
id,
264 ::absl::AnyInvocable<
void(::webrtc::
RTCError) &&> callback
271 ::absl::AnyInvocable<
void(::webrtc::
RTCError) &&> callback,
Definition DtlsTransportInterface.h:18
Definition FrameEncryptorInterface.h:11
Definition ObserverInterface.h:7
Definition RtpSenderBase.h:36
Definition RtpSenderBase.h:28
MCAPI void $AttachTrack()
static MCAPI void ** $vftableForObserverInterface()
MCAPI::std::string $id() const
MCAPI::webrtc::RTCError CheckSetParameters(::webrtc::RtpParameters const ¶meters)
MCAPI::webrtc::RtpParameters $GetParametersInternalWithAllLayers() const
MCAPI void $set_transport(::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface > dtls_transport)
MCAPI void $AddTrackToStats()
MCAPI void $RemoveTrackFromStats()
MCAPI ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface > $dtls_transport() const
MCAPI ::webrtc::scoped_refptr<::webrtc::MediaStreamTrackInterface > $track() const
MCAPI::webrtc::RtpParameters $GetParametersInternal() const
MCAPI ::std::vector<::webrtc::RtpEncodingParameters > $init_send_encodings() const
MCAPI void $SetStreams(::std::vector<::std::string > const &stream_ids)
MCAPI void SetEncoderSelectorOnChannel()
MCAPI::webrtc::RTCError $CheckCodecParameters(::webrtc::RtpParameters const ¶meters)
MCAPI void $SetFrameEncryptor(::webrtc::scoped_refptr<::webrtc::FrameEncryptorInterface > frame_encryptor)
MCAPI int $AttachmentId() const
MCAPI void $SetTransceiverAsStopped()
MCAPI void $set_init_send_encodings(::std::vector<::webrtc::RtpEncodingParameters > const &init_send_encodings)
MCAPI void $DetachTrack()
MCAPI::webrtc::RTCError $SetParametersInternalWithAllLayers(::webrtc::RtpParameters const ¶meters)
MCAPI::webrtc::RTCError $SetParameters(::webrtc::RtpParameters const ¶meters)
static MCAPI void ** $vftableForRtpSenderInternal()
MCAPI void $SetEncoderToPacketizerFrameTransformer(::webrtc::scoped_refptr<::webrtc::FrameTransformerInterface > frame_transformer)
MCAPI::webrtc::RTCError $DisableEncodingLayers(::std::vector<::std::string > const &rids)
MCAPI::webrtc::RtpParameters $GetParameters() const
MCAPI void $SetParametersAsync(::webrtc::RtpParameters const ¶meters, ::absl::AnyInvocable< void(::webrtc::RTCError) && > callback)
MCAPI void $SetSsrc(uint ssrc)
MCAPI void $SetEncoderSelector(::std::unique_ptr<::webrtc::VideoEncoderFactory::EncoderSelectorInterface > encoder_selector)
MCAPI void $SetMediaChannel(::cricket::MediaSendChannelInterface *media_channel)
MCAPI void * $ctor(::rtc::Thread *worker_thread, ::std::string const &id, ::webrtc::RtpSenderBase::SetStreamsObserver *set_streams_observer)
MCAPI ::std::vector<::std::string > $stream_ids() const
MCAPI void $SetSendCodecs(::std::vector<::cricket::Codec > send_codecs)
MCAPI ::webrtc::scoped_refptr<::webrtc::FrameEncryptorInterface > $GetFrameEncryptor() const
MCAPI void $set_stream_ids(::std::vector<::std::string > const &stream_ids)
MCAPI bool $SetTrack(::webrtc::MediaStreamTrackInterface *track)
MCAPI void $SetParametersInternal(::webrtc::RtpParameters const ¶meters, ::absl::AnyInvocable< void(::webrtc::RTCError) && > callback, bool blocking)
Definition RtpSenderInternal.h:22
Definition VideoEncoderFactory.h:16
Definition scoped_refptr.h:8
Definition RtpEncodingParameters.h:7
Definition RtpParameters.h:7