LeviLamina
Loading...
Searching...
No Matches
AudioSendStream.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/absl/AnyInvocable.h"
7#include "mc/external/webrtc/AudioSender.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class RTCError; }
12// clang-format on
13
14namespace webrtc {
15
17public:
18 // AudioSendStream inner types declare
19 // clang-format off
20 struct Config;
21 struct Stats;
22 // clang-format on
23
24 // AudioSendStream inner types define
25 struct Config {
26 public:
27 // Config inner types declare
28 // clang-format off
29 struct Rtp;
30 struct SendCodecSpec;
31 // clang-format on
32
33 // Config inner types define
34 struct Rtp {
35 public:
36 // member variables
37 // NOLINTBEGIN
46 // NOLINTEND
47
48 public:
49 // prevent constructor by default
50 Rtp& operator=(Rtp const&);
51 Rtp(Rtp const&);
52 Rtp();
53 };
54
55 struct SendCodecSpec {
56 public:
57 // member variables
58 // NOLINTBEGIN
66 // NOLINTEND
67
68 public:
69 // prevent constructor by default
70 SendCodecSpec& operator=(SendCodecSpec const&);
71 SendCodecSpec(SendCodecSpec const&);
72 SendCodecSpec();
73 };
74
75 public:
76 // member variables
77 // NOLINTBEGIN
94 // NOLINTEND
95
96 public:
97 // prevent constructor by default
98 Config& operator=(Config const&);
99 Config(Config const&);
100 Config();
101 };
102
103 struct Stats {
104 public:
105 // member variables
106 // NOLINTBEGIN
129 // NOLINTEND
130
131 public:
132 // prevent constructor by default
133 Stats& operator=(Stats const&);
134 Stats(Stats const&);
135 Stats();
136 };
137
138public:
139 // virtual functions
140 // NOLINTBEGIN
141 virtual ~AudioSendStream() /*override*/ = default;
142
143 virtual ::webrtc::AudioSendStream::Config const& GetConfig() const = 0;
144
145 virtual void
147
148 virtual void Start() = 0;
149
150 virtual void Stop() = 0;
151
152 virtual bool SendTelephoneEvent(int, int, int, int) = 0;
153
154 virtual void SetMuted(bool) = 0;
155
156 virtual ::webrtc::AudioSendStream::Stats GetStats() const = 0;
157
158 virtual ::webrtc::AudioSendStream::Stats GetStats(bool) const = 0;
159 // NOLINTEND
160};
161
162} // namespace webrtc
Definition AnyInvocable.h:8
Definition AudioSendStream.h:16
Definition AudioSender.h:12
Definition RTCError.h:10
Definition Alias.h:14
Definition AudioSendStream.h:34
Definition AudioSendStream.h:55
Definition AudioSendStream.h:25
Definition AudioSendStream.h:103