LeviLamina
Loading...
Searching...
No Matches
RtcEventLog.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { class RtcEvent; }
8namespace webrtc { class RtcEventLogOutput; }
9// clang-format on
10
11namespace webrtc {
12
14public:
15 // RtcEventLog inner types define
16 enum class EncodingType : int {
17 Legacy = 0,
18 NewFormat = 1,
19 ProtoFree = 2,
20 };
21
22 enum : int64 {
23 KImmediateOutput = 0,
24 };
25
26 enum : uint64 {
27 KUnlimitedOutput = 0,
28 };
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~RtcEventLog() = default;
34
35 virtual bool StartLogging(::std::unique_ptr<::webrtc::RtcEventLogOutput>, int64) = 0;
36
37 virtual void StopLogging() = 0;
38
39 virtual void StopLogging(::std::function<void()> callback);
40
41 virtual void Log(::std::unique_ptr<::webrtc::RtcEvent>) = 0;
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCNAPI void $StopLogging(::std::function<void()> callback);
48
49
50 // NOLINTEND
51};
52
53} // namespace webrtc
Definition RtcEventLogOutput.h:7
Definition RtcEventLog.h:13
MCAPI void $StopLogging(::std::function< void()> callback)
Definition RtcEvent.h:7