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 webrtc { class CopyOnWriteBuffer; }
11namespace webrtc { class PriorityValue; }
12namespace webrtc { class RTCError; }
13namespace webrtc { class SctpDataChannel; }
14namespace webrtc { class StreamId; }
15namespace webrtc { struct SendDataParams; }
16// clang-format on
17
18namespace webrtc {
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ::webrtc::RTCError SendData(
26 ::webrtc::SendDataParams const& params,
27 ::webrtc::CopyOnWriteBuffer const& payload
28 ) = 0;
29
30 virtual void AddSctpDataStream(::webrtc::StreamId sid, ::webrtc::PriorityValue priority) = 0;
31
32 virtual void RemoveSctpDataStream(::webrtc::StreamId sid) = 0;
33
34 virtual void
35 OnChannelStateChanged(::webrtc::SctpDataChannel* channel, ::webrtc::DataChannelInterface::DataState state) = 0;
36
37 virtual uint64 buffered_amount(::webrtc::StreamId sid) const = 0;
38
39 virtual uint64 buffered_amount_low_threshold(::webrtc::StreamId sid) const = 0;
40
41 virtual void SetBufferedAmountLowThreshold(::webrtc::StreamId sid, uint64 bytes) = 0;
42
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCNAPI void $dtor();
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
58
59} // namespace webrtc
Definition CopyOnWriteBuffer.h:11
Definition PriorityValue.h:16
Definition RTCError.h:10
Definition SctpDataChannelControllerInterface.h:20
Definition SctpDataChannel.h:29
Definition StreamId.h:7
Definition SendDataParams.h:7