LeviLamina
Loading...
Searching...
No Matches
SctpDataChannelControllerInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/DataChannelInterface.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace rtc { class CopyOnWriteBuffer; }
11namespace webrtc { class RTCError; }
12namespace webrtc { class SctpDataChannel; }
13namespace webrtc { class StreamId; }
14namespace webrtc { struct SendDataParams; }
15// clang-format on
16
17namespace webrtc {
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 virtual ::webrtc::RTCError SendData(
25 ::webrtc::SendDataParams const& params,
26 ::rtc::CopyOnWriteBuffer const& payload
27 ) = 0;
28
29 virtual void AddSctpDataStream(::webrtc::StreamId sid) = 0;
30
31 virtual void RemoveSctpDataStream(::webrtc::StreamId sid) = 0;
32
33 virtual void
34 OnChannelStateChanged(::webrtc::SctpDataChannel* channel, ::webrtc::DataChannelInterface::DataState state) = 0;
35
36 virtual uint64 buffered_amount(::webrtc::StreamId sid) const = 0;
37
38 virtual uint64 buffered_amount_low_threshold(::webrtc::StreamId sid) const = 0;
39
40 virtual void SetBufferedAmountLowThreshold(::webrtc::StreamId sid, uint64 bytes) = 0;
41
43 // NOLINTEND
44
45public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCNAPI void $dtor();
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62};
63
64} // namespace webrtc
Definition CopyOnWriteBuffer.h:11
Definition RTCError.h:10
Definition SctpDataChannelControllerInterface.h:19
Definition SctpDataChannel.h:29
Definition StreamId.h:7
Definition SendDataParams.h:7