LeviLamina
Loading...
Searching...
No Matches
RtcEvent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace webrtc {
6
7class RtcEvent {
8public:
9 // RtcEvent inner types define
10 enum class Type : uint {
11 AlrStateEvent = 0,
12 RouteChangeEvent = 1,
13 RemoteEstimateEvent = 2,
14 AudioNetworkAdaptation = 3,
15 AudioPlayout = 4,
16 AudioReceiveStreamConfig = 5,
17 AudioSendStreamConfig = 6,
18 BweUpdateDelayBased = 7,
19 BweUpdateLossBased = 8,
20 DtlsTransportState = 9,
21 DtlsWritableState = 10,
22 IceCandidatePairConfig = 11,
23 IceCandidatePairEvent = 12,
24 ProbeClusterCreated = 13,
25 ProbeResultFailure = 14,
26 ProbeResultSuccess = 15,
27 RtcpPacketIncoming = 16,
28 RtcpPacketOutgoing = 17,
29 RtpPacketIncoming = 18,
30 RtpPacketOutgoing = 19,
31 VideoReceiveStreamConfig = 20,
32 VideoSendStreamConfig = 21,
33 GenericPacketSent = 22,
34 GenericPacketReceived = 23,
35 GenericAckReceived = 24,
36 FrameDecoded = 25,
37 NetEqSetMinimumDelay = 26,
38 BeginV3Log = 38802816,
39 EndV3Log = 38802817,
40 FakeEvent = 38802818,
41 };
42
43public:
44 // member variables
45 // NOLINTBEGIN
47 // NOLINTEND
48
49public:
50 // prevent constructor by default
51 RtcEvent& operator=(RtcEvent const&);
52 RtcEvent(RtcEvent const&);
53
54public:
55 // virtual functions
56 // NOLINTBEGIN
57 virtual ~RtcEvent() = default;
58
59 virtual ::webrtc::RtcEvent::Type GetType() const = 0;
60
61 virtual bool IsConfigEvent() const = 0;
62
63 virtual uint GetGroupKey() const;
64 // NOLINTEND
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCNAPI RtcEvent();
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCNAPI void* $ctor();
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCNAPI uint $GetGroupKey() const;
82
83
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
92
93} // namespace webrtc
MCAPI uint $GetGroupKey() const
MCAPI void * $ctor()
static MCAPI void ** $vftable()
Definition Alias.h:14