LeviLamina
Loading...
Searching...
No Matches
MediaChannelNetworkInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/Socket.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class CopyOnWriteBuffer; }
11namespace webrtc { struct AsyncSocketPacketOptions; }
12// clang-format on
13
14namespace webrtc {
15
17public:
18 // MediaChannelNetworkInterface inner types define
19 enum class SocketType : int {
20 Rtp = 0,
21 Rtcp = 1,
22 };
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual bool SendPacket(::webrtc::CopyOnWriteBuffer* packet, ::webrtc::AsyncSocketPacketOptions const& options) = 0;
28
29 virtual bool SendRtcp(::webrtc::CopyOnWriteBuffer* packet, ::webrtc::AsyncSocketPacketOptions const& options) = 0;
30
31 virtual int
32 SetOption(::webrtc::MediaChannelNetworkInterface::SocketType type, ::webrtc::Socket::Option opt, int value) = 0;
33
35 // NOLINTEND
36
37public:
38 // destructor thunk
39 // NOLINTBEGIN
40 MCNAPI void $dtor();
41 // NOLINTEND
42
43public:
44 // vftables
45 // NOLINTBEGIN
46 MCNAPI static void** $vftable();
47 // NOLINTEND
48};
49
50} // namespace webrtc
Definition CopyOnWriteBuffer.h:11
Definition MediaChannelNetworkInterface.h:16
static MCAPI void ** $vftable()
Definition AsyncSocketPacketOptions.h:10