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 virtual bool SendPacket(::rtc::CopyOnWriteBuffer*, ::rtc::PacketOptions const&) = 0;
28
29 virtual bool SendRtcp(::rtc::CopyOnWriteBuffer*, ::rtc::PacketOptions const&) = 0;
30
31 virtual int SetOption(::cricket::MediaChannelNetworkInterface::SocketType, ::rtc::Socket::Option, int) = 0;
32
34 // NOLINTEND
35
36public:
37 // destructor thunk
38 // NOLINTBEGIN
39 MCNAPI void $dtor();
40 // NOLINTEND
41
42public:
43 // virtual function thunks
44 // NOLINTBEGIN
45
46 // NOLINTEND
47
48public:
49 // vftables
50 // NOLINTBEGIN
51 MCNAPI static void** $vftable();
52 // NOLINTEND
53};
54
55} // namespace cricket
Definition MediaChannelNetworkInterface.h:16
Definition CopyOnWriteBuffer.h:11
Definition PacketOptions.h:10