LeviLamina
Loading...
Searching...
No Matches
MediaStreamTrackInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/NotifierInterface.h"
7#include "mc/external/webrtc/RefCountInterface.h"
8
9namespace webrtc {
10
12public:
13 // MediaStreamTrackInterface inner types define
14 enum class TrackState : int {
15 KLive = 0,
16 KEnded = 1,
17 };
18
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ::std::string kind() const = 0;
23
24 virtual ::std::string id() const = 0;
25
26 virtual bool enabled() const = 0;
27
28 virtual bool set_enabled(bool) = 0;
29
30 virtual ::webrtc::MediaStreamTrackInterface::TrackState state() const = 0;
31
32 virtual ~MediaStreamTrackInterface() /*override*/ = default;
33 // NOLINTEND
34
35public:
36 // static variables
37 // NOLINTBEGIN
38 MCNAPI static char const* const& kAudioKind();
39
40 MCNAPI static char const* const& kVideoKind();
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46
47 // NOLINTEND
48};
49
50} // namespace webrtc
Definition MediaStreamTrackInterface.h:11
static MCAPI char const *const & kVideoKind()
static MCAPI char const *const & kAudioKind()
Definition NotifierInterface.h:12
Definition RefCountInterface.h:10