LeviLamina
Loading...
Searching...
No Matches
Call.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/AudioReceiveStreamInterface.h"
7#include "mc/external/webrtc/AudioSendStream.h"
8#include "mc/external/webrtc/FlexfecReceiveStream.h"
9#include "mc/external/webrtc/MediaType.h"
10#include "mc/external/webrtc/NetworkState.h"
11#include "mc/external/webrtc/VideoReceiveStreamInterface.h"
12#include "mc/external/webrtc/VideoSendStream.h"
13#include "mc/external/webrtc/scoped_refptr.h"
14
15// auto generated forward declare list
16// clang-format off
17namespace rtc { struct SentPacket; }
18namespace webrtc { class AudioReceiveStreamInterface; }
19namespace webrtc { class AudioSendStream; }
20namespace webrtc { class FecController; }
21namespace webrtc { class FieldTrialsView; }
22namespace webrtc { class FlexfecReceiveStream; }
23namespace webrtc { class PacketReceiver; }
24namespace webrtc { class Resource; }
25namespace webrtc { class RtpTransportControllerSendInterface; }
26namespace webrtc { class TaskQueueBase; }
27namespace webrtc { class VideoEncoderConfig; }
28namespace webrtc { class VideoReceiveStreamInterface; }
29namespace webrtc { class VideoSendStream; }
30namespace webrtc { struct BitrateSettings; }
31// clang-format on
32
33namespace webrtc {
34
35class Call {
36public:
37 // Call inner types declare
38 // clang-format off
39 struct Stats;
40 // clang-format on
41
42 // Call inner types define
43 struct Stats {
44 public:
45 // member variables
46 // NOLINTBEGIN
52 // NOLINTEND
53
54 public:
55 // prevent constructor by default
56 Stats& operator=(Stats const&);
57 Stats(Stats const&);
58 Stats();
59 };
60
61public:
62 // virtual functions
63 // NOLINTBEGIN
64 // vIndex: 0
65 virtual ::webrtc::AudioSendStream* CreateAudioSendStream(::webrtc::AudioSendStream::Config const&) = 0;
66
67 // vIndex: 1
68 virtual void DestroyAudioSendStream(::webrtc::AudioSendStream*) = 0;
69
70 // vIndex: 2
71 virtual ::webrtc::AudioReceiveStreamInterface*
72 CreateAudioReceiveStream(::webrtc::AudioReceiveStreamInterface::Config const&) = 0;
73
74 // vIndex: 3
75 virtual void DestroyAudioReceiveStream(::webrtc::AudioReceiveStreamInterface*) = 0;
76
77 // vIndex: 5
78 virtual ::webrtc::VideoSendStream*
80
81 // vIndex: 4
82 virtual ::webrtc::VideoSendStream*
83 CreateVideoSendStream(::webrtc::VideoSendStream::Config, ::webrtc::VideoEncoderConfig, ::std::unique_ptr<::webrtc::FecController>);
84
85 // vIndex: 6
86 virtual void DestroyVideoSendStream(::webrtc::VideoSendStream*) = 0;
87
88 // vIndex: 7
89 virtual ::webrtc::VideoReceiveStreamInterface*
90 CreateVideoReceiveStream(::webrtc::VideoReceiveStreamInterface::Config) = 0;
91
92 // vIndex: 8
93 virtual void DestroyVideoReceiveStream(::webrtc::VideoReceiveStreamInterface*) = 0;
94
95 // vIndex: 9
96 virtual ::webrtc::FlexfecReceiveStream* CreateFlexfecReceiveStream(::webrtc::FlexfecReceiveStream::Config const
97 ) = 0;
98
99 // vIndex: 10
100 virtual void DestroyFlexfecReceiveStream(::webrtc::FlexfecReceiveStream*) = 0;
101
102 // vIndex: 11
103 virtual void AddAdaptationResource(::webrtc::scoped_refptr<::webrtc::Resource>) = 0;
104
105 // vIndex: 12
106 virtual ::webrtc::PacketReceiver* Receiver() = 0;
107
108 // vIndex: 13
109 virtual ::webrtc::RtpTransportControllerSendInterface* GetTransportControllerSend() = 0;
110
111 // vIndex: 14
112 virtual ::webrtc::Call::Stats GetStats() const = 0;
113
114 // vIndex: 15
115 virtual void SignalChannelNetworkState(::webrtc::MediaType, ::webrtc::NetworkState) = 0;
116
117 // vIndex: 16
118 virtual void OnAudioTransportOverheadChanged(int) = 0;
119
120 // vIndex: 19
121 virtual void OnLocalSsrcUpdated(::webrtc::AudioReceiveStreamInterface&, uint) = 0;
122
123 // vIndex: 18
124 virtual void OnLocalSsrcUpdated(::webrtc::VideoReceiveStreamInterface&, uint) = 0;
125
126 // vIndex: 17
127 virtual void OnLocalSsrcUpdated(::webrtc::FlexfecReceiveStream&, uint) = 0;
128
129 // vIndex: 20
130 virtual void OnUpdateSyncGroup(::webrtc::AudioReceiveStreamInterface&, ::std::string_view) = 0;
131
132 // vIndex: 21
133 virtual void OnSentPacket(::rtc::SentPacket const&) = 0;
134
135 // vIndex: 22
136 virtual void SetClientBitratePreferences(::webrtc::BitrateSettings const&) = 0;
137
138 // vIndex: 23
139 virtual ::webrtc::FieldTrialsView const& trials() const = 0;
140
141 // vIndex: 24
142 virtual ::webrtc::TaskQueueBase* network_thread() const = 0;
143
144 // vIndex: 25
145 virtual ::webrtc::TaskQueueBase* worker_thread() const = 0;
146
147 // vIndex: 26
148 virtual ~Call() = default;
149 // NOLINTEND
150
151public:
152 // destructor thunk
153 // NOLINTBEGIN
154
155 // NOLINTEND
156
157public:
158 // virtual function thunks
159 // NOLINTBEGIN
160
161 // NOLINTEND
162};
163
164} // namespace webrtc
Definition AudioReceiveStreamInterface.h:17
Definition AudioSendStream.h:16
Definition Call.h:35
Definition FlexfecReceiveStream.h:17
Definition VideoEncoderConfig.h:18
Definition VideoReceiveStreamInterface.h:18
Definition VideoSendStream.h:21
Definition scoped_refptr.h:8
Definition Alias.h:14
Definition SentPacket.h:12
Definition AudioReceiveStreamInterface.h:97
Definition AudioSendStream.h:59
Definition BitrateSettings.h:7
Definition Call.h:43
Definition FlexfecReceiveStream.h:25
Definition VideoReceiveStreamInterface.h:118
Definition VideoSendStream.h:117