LeviLamina
Loading...
Searching...
No Matches
RtpTransportInternal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/Socket.h"
7#include "mc/external/sigslot/has_slots.h"
8#include "mc/external/sigslot/single_threaded.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace rtc { class CopyOnWriteBuffer; }
13namespace rtc { struct PacketOptions; }
14namespace webrtc { class RtpDemuxerCriteria; }
15namespace webrtc { class RtpPacketSinkInterface; }
16namespace webrtc { struct RtpExtension; }
17// clang-format on
18
19namespace webrtc {
20
21class RtpTransportInternal : public ::sigslot::has_slots<::sigslot::single_threaded> {
22public:
23 // member variables
24 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual ~RtpTransportInternal() /*override*/;
44
45 // vIndex: 1
46 virtual void SetRtcpMuxEnabled(bool) = 0;
47
48 // vIndex: 2
49 virtual ::std::string const& transport_name() const = 0;
50
51 // vIndex: 3
52 virtual int SetRtpOption(::rtc::Socket::Option, int) = 0;
53
54 // vIndex: 4
55 virtual int SetRtcpOption(::rtc::Socket::Option, int) = 0;
56
57 // vIndex: 5
58 virtual bool rtcp_mux_enabled() const = 0;
59
60 // vIndex: 6
61 virtual bool IsReadyToSend() const = 0;
62
63 // vIndex: 7
64 virtual bool IsWritable(bool) const = 0;
65
66 // vIndex: 8
67 virtual bool SendRtpPacket(::rtc::CopyOnWriteBuffer*, ::rtc::PacketOptions const&, int) = 0;
68
69 // vIndex: 9
70 virtual bool SendRtcpPacket(::rtc::CopyOnWriteBuffer*, ::rtc::PacketOptions const&, int) = 0;
71
72 // vIndex: 10
73 virtual void UpdateRtpHeaderExtensionMap(::std::vector<::webrtc::RtpExtension> const&) = 0;
74
75 // vIndex: 11
76 virtual bool IsSrtpActive() const = 0;
77
78 // vIndex: 12
79 virtual bool RegisterRtpDemuxerSink(::webrtc::RtpDemuxerCriteria const&, ::webrtc::RtpPacketSinkInterface*) = 0;
80
81 // vIndex: 13
82 virtual bool UnregisterRtpDemuxerSink(::webrtc::RtpPacketSinkInterface*) = 0;
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCNAPI void $dtor();
89 // NOLINTEND
90
91public:
92 // virtual function thunks
93 // NOLINTBEGIN
94
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftable();
101 // NOLINTEND
102};
103
104} // namespace webrtc
Definition CopyOnWriteBuffer.h:11
Definition has_slots.h:8
Definition RtpDemuxerCriteria.h:7
Definition RtpPacketSinkInterface.h:12
Definition RtpTransportInternal.h:21
static MCAPI void ** $vftable()
Definition Alias.h:14
Definition PacketOptions.h:10