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 // member functions
38 // NOLINTBEGIN
39 MCAPI void
41
43
44 MCAPI void ClearChannel();
45
46 MCAPI ::webrtc::RTCError
47 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)>);
48
49 MCAPI void OnFirstPacketReceived();
50
51 MCAPI void OnNegotiationUpdate(::webrtc::SdpType, ::cricket::MediaContentDescription const*);
52
53 MCAPI void PushNewMediaChannelAndDeleteChannel(::std::unique_ptr<::cricket::ChannelInterface>);
54
55 MCAPI bool RemoveReceiver(::webrtc::RtpReceiverInterface*);
56
57 MCAPI bool RemoveSender(::webrtc::RtpSenderInterface*);
58
59 MCAPI RtpTransceiver(::cricket::MediaType, ::webrtc::ConnectionContext*);
60
61 MCAPI
63
64 MCAPI void
65 SetChannel(::std::unique_ptr<::cricket::ChannelInterface>, ::std::function<::webrtc::RtpTransportInternal*(::std::string const&)>);
66
67 MCAPI void SetPeerConnectionClosed();
68
69 MCAPI void StopSendingAndReceiving();
70
71 MCAPI void StopTransceiverProcedure();
72
73 MCAPI ::webrtc::scoped_refptr<::webrtc::RtpReceiverInternal> receiver_internal() const;
74
75 MCAPI ::webrtc::scoped_refptr<::webrtc::RtpSenderInternal> sender_internal() const;
76
77 MCAPI ::std::vector<::webrtc::scoped_refptr<::webrtc::RtpSenderProxyWithInternal<::webrtc::RtpSenderInternal>>>
78 senders() const;
79
80 MCAPI void set_current_direction(::webrtc::RtpTransceiverDirection);
81
82 MCAPI void set_fired_direction(::std::optional<::webrtc::RtpTransceiverDirection>);
83
84 MCAPI void set_mid(::std::optional<::std::string> const&);
85 // NOLINTEND
86
87public:
88 // constructor thunks
89 // NOLINTBEGIN
90 MCAPI void* $ctor(::cricket::MediaType, ::webrtc::ConnectionContext*);
91
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
98 MCAPI static void** $vftable();
99 // NOLINTEND
100};
101
102} // 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
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