Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
10
namespace
webrtc {
class
CopyOnWriteBuffer
; }
11
namespace
webrtc {
struct
AsyncSocketPacketOptions
; }
12
// clang-format on
13
14
namespace
webrtc {
15
16
class
MediaChannelNetworkInterface
{
17
public
:
18
// MediaChannelNetworkInterface inner types define
19
enum class
SocketType :
int
{
20
Rtp = 0,
21
Rtcp = 1,
22
};
23
24
public
:
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
34
virtual
~MediaChannelNetworkInterface
();
35
// NOLINTEND
36
37
public
:
38
// destructor thunk
39
// NOLINTBEGIN
40
MCNAPI
void
$dtor
();
41
// NOLINTEND
42
43
public
:
44
// vftables
45
// NOLINTBEGIN
46
MCNAPI
static
void
**
$vftable
();
47
// NOLINTEND
48
};
49
50
}
// namespace webrtc
webrtc::CopyOnWriteBuffer
Definition
CopyOnWriteBuffer.h:11
webrtc::MediaChannelNetworkInterface
Definition
MediaChannelNetworkInterface.h:16
webrtc::MediaChannelNetworkInterface::$vftable
static MCAPI void ** $vftable()
webrtc::MediaChannelNetworkInterface::$dtor
MCAPI void $dtor()
webrtc::AsyncSocketPacketOptions
Definition
AsyncSocketPacketOptions.h:10
src
mc
external
webrtc
MediaChannelNetworkInterface.h
Generated on
for LeviLamina by
1.16.1