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/rtc/Socket.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace rtc { class CopyOnWriteBuffer; }
11namespace rtc { struct PacketOptions; }
12// clang-format on
13
14namespace cricket {
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 // vIndex: 0
28 virtual bool SendPacket(::rtc::CopyOnWriteBuffer*, ::rtc::PacketOptions const&) = 0;
29
30 // vIndex: 1
31 virtual bool SendRtcp(::rtc::CopyOnWriteBuffer*, ::rtc::PacketOptions const&) = 0;
32
33 // vIndex: 2
34 virtual int SetOption(::cricket::MediaChannelNetworkInterface::SocketType, ::rtc::Socket::Option, int) = 0;
35
36 // vIndex: 3
37 virtual ~MediaChannelNetworkInterface() = default;
38 // NOLINTEND
39
40public:
41 // virtual function thunks
42 // NOLINTBEGIN
43
44 // NOLINTEND
45
46public:
47 // vftables
48 // NOLINTBEGIN
49 MCNAPI static void** $vftable();
50 // NOLINTEND
51};
52
53} // namespace cricket
Definition MediaChannelNetworkInterface.h:16
Definition CopyOnWriteBuffer.h:11
Definition PacketOptions.h:10