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
35 RtpTransportInternal& operator=(RtpTransportInternal const&);
36 RtpTransportInternal(RtpTransportInternal const&);
37 RtpTransportInternal();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~RtpTransportInternal() /*override*/;
43
44 virtual void SetRtcpMuxEnabled(bool) = 0;
45
46 virtual ::std::string const& transport_name() const = 0;
47
48 virtual int SetRtpOption(::rtc::Socket::Option, int) = 0;
49
50 virtual int SetRtcpOption(::rtc::Socket::Option, int) = 0;
51
52 virtual bool rtcp_mux_enabled() const = 0;
53
54 virtual bool IsReadyToSend() const = 0;
55
56 virtual bool IsWritable(bool) const = 0;
57
58 virtual bool SendRtpPacket(::rtc::CopyOnWriteBuffer*, ::rtc::PacketOptions const&, int) = 0;
59
60 virtual bool SendRtcpPacket(::rtc::CopyOnWriteBuffer*, ::rtc::PacketOptions const&, int) = 0;
61
62 virtual void UpdateRtpHeaderExtensionMap(::std::vector<::webrtc::RtpExtension> const&) = 0;
63
64 virtual bool IsSrtpActive() const = 0;
65
66 virtual bool RegisterRtpDemuxerSink(::webrtc::RtpDemuxerCriteria const&, ::webrtc::RtpPacketSinkInterface*) = 0;
67
68 virtual bool UnregisterRtpDemuxerSink(::webrtc::RtpPacketSinkInterface*) = 0;
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74 MCNAPI void $dtor();
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
89
90} // namespace webrtc
Definition CopyOnWriteBuffer.h:11
Definition has_slots.h:8
Definition RtpDemuxerCriteria.h:7
Definition RtpPacketSinkInterface.h:12
static MCAPI void ** $vftable()
Definition Alias.h:14
Definition PacketOptions.h:10
Definition RtpExtension.h:7