LeviLamina
Loading...
Searching...
No Matches
RtpTransceiver.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/RtpReceiverProxyWithInternal.h"
8#include "mc/external/webrtc/RtpSenderProxyWithInternal.h"
9#include "mc/external/webrtc/RtpTransceiverDirection.h"
10#include "mc/external/webrtc/SdpType.h"
11#include "mc/external/webrtc/scoped_refptr.h"
12
13// auto generated forward declare list
14// clang-format off
15namespace cricket { class ChannelInterface; }
16namespace cricket { class MediaContentDescription; }
17namespace cricket { struct AudioOptions; }
18namespace cricket { struct MediaConfig; }
19namespace cricket { struct VideoOptions; }
20namespace webrtc { class Call; }
21namespace webrtc { class ConnectionContext; }
22namespace webrtc { class RTCError; }
23namespace webrtc { class RtpReceiverInterface; }
24namespace webrtc { class RtpReceiverInternal; }
25namespace webrtc { class RtpSenderInterface; }
26namespace webrtc { class RtpSenderInternal; }
27namespace webrtc { class RtpTransportInternal; }
28namespace webrtc { class VideoBitrateAllocatorFactory; }
29namespace webrtc { struct CryptoOptions; }
30namespace webrtc { struct RtpHeaderExtensionCapability; }
31// clang-format on
32
33namespace webrtc {
34
36public:
37 // prevent constructor by default
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCNAPI void
45
47
48 MCNAPI void ClearChannel();
49
50 MCNAPI ::webrtc::RTCError CreateChannel(
51 ::std::string_view,
54 bool,
59 ::std::function<::webrtc::RtpTransportInternal*(::std::string_view)>
60 );
61
62 MCNAPI void OnFirstPacketReceived();
63
64 MCNAPI void OnNegotiationUpdate(::webrtc::SdpType, ::cricket::MediaContentDescription const*);
65
66 MCNAPI void PushNewMediaChannelAndDeleteChannel(::std::unique_ptr<::cricket::ChannelInterface>);
67
69
71
72 MCNAPI RtpTransceiver(::cricket::MediaType, ::webrtc::ConnectionContext*);
73
78 ::std::vector<::webrtc::RtpHeaderExtensionCapability>,
79 ::std::function<void()>
80 );
81
82 MCNAPI void SetChannel(
83 ::std::unique_ptr<::cricket::ChannelInterface>,
84 ::std::function<::webrtc::RtpTransportInternal*(::std::string const&)>
85 );
86
88
90
92
93 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal> receiver_internal() const;
94
95 MCNAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderInternal> sender_internal() const;
96
97 MCNAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>>
98 senders() const;
99
100 MCNAPI void set_current_direction(::webrtc::RtpTransceiverDirection);
101
102 MCNAPI void set_fired_direction(::std::optional<::webrtc::RtpTransceiverDirection>);
103
104 MCNAPI void set_mid(::std::optional<::std::string> const&);
105 // NOLINTEND
106
107public:
108 // constructor thunks
109 // NOLINTBEGIN
110 MCNAPI void* $ctor(::cricket::MediaType, ::webrtc::ConnectionContext*);
111
112 MCNAPI void* $ctor(
116 ::std::vector<::webrtc::RtpHeaderExtensionCapability>,
117 ::std::function<void()>
118 );
119 // NOLINTEND
120
121public:
122 // vftables
123 // NOLINTBEGIN
124 MCNAPI static void** $vftable();
125 // NOLINTEND
126};
127
128} // namespace webrtc
Definition MediaContentDescription.h:23
Definition Call.h:35
Definition ConnectionContext.h:17
Definition RtpReceiverInterface.h:24
Definition RtpReceiverProxyWithInternal.h:8
Definition RtpSenderInterface.h:26
Definition RtpSenderProxyWithInternal.h:8
Definition RtpTransceiver.h:35
MCAPI bool RemoveReceiver(::webrtc::RtpReceiverInterface *)
static MCAPI void ** $vftable()
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderInternal > sender_internal() const
MCAPI void SetPeerConnectionClosed()
MCAPI void SetChannel(::std::unique_ptr<::cricket::ChannelInterface >, ::std::function<::webrtc::RtpTransportInternal *(::std::string const &)>)
MCAPI void ClearChannel()
MCAPI void StopTransceiverProcedure()
MCAPI void set_mid(::std::optional<::std::string > const &)
MCAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal > receiver_internal() const
MCAPI RtpTransceiver(::cricket::MediaType, ::webrtc::ConnectionContext *)
MCAPI void OnNegotiationUpdate(::webrtc::SdpType, ::cricket::MediaContentDescription const *)
MCAPI void PushNewMediaChannelAndDeleteChannel(::std::unique_ptr<::cricket::ChannelInterface >)
MCAPI void AddSender(::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > >)
MCAPI void * $ctor(::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > >, ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > >, ::webrtc::ConnectionContext *, ::std::vector<::webrtc::RtpHeaderExtensionCapability >, ::std::function< void()>)
MCAPI RtpTransceiver(::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > >, ::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > >, ::webrtc::ConnectionContext *, ::std::vector<::webrtc::RtpHeaderExtensionCapability >, ::std::function< void()>)
MCAPI void OnFirstPacketReceived()
MCAPI void StopSendingAndReceiving()
MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal > > > senders() const
MCAPI void set_fired_direction(::std::optional<::webrtc::RtpTransceiverDirection >)
MCAPI void set_current_direction(::webrtc::RtpTransceiverDirection)
MCAPI void AddReceiver(::webrtc::scoped_refptr<::webrtc::RtpReceiverProxyWithInternal<::webrtc::RtpReceiverInternal > >)
MCAPI::webrtc::RTCError CreateChannel(::std::string_view, ::webrtc::Call *, ::cricket::MediaConfig const &, bool, ::webrtc::CryptoOptions, ::cricket::AudioOptions const &, ::cricket::VideoOptions const &, ::webrtc::VideoBitrateAllocatorFactory *, ::std::function<::webrtc::RtpTransportInternal *(::std::string_view)>)
MCAPI bool RemoveSender(::webrtc::RtpSenderInterface *)
MCAPI void * $ctor(::cricket::MediaType, ::webrtc::ConnectionContext *)
Definition RtpTransportInternal.h:7
Definition VideoBitrateAllocatorFactory.h:13
Definition scoped_refptr.h:8
Definition AudioOptions.h:7
Definition MediaConfig.h:7
Definition VideoOptions.h:7
Definition CryptoOptions.h:7