Agora C++ API Reference for All Platforms

local_user_i.h
1 //
2 // Agora Media SDK
3 //
4 // Created by Sting Feng in 2015-05.
5 // Copyright (c) 2015 Agora IO. All rights reserved.
6 //
7 #pragma once
8
9 #include <string>
10 #include <vector>
11
12 #include "IAgoraService.h"
13 #include "NGIAgoraLocalUser.h"
14 #include "NGIAgoraMediaNode.h"
15 #include "NGIAgoraRtcConnection.h"
16 #include "NGIAgoraAudioTrack.h"
17 #include "audio_options_i.h"
18 #include "channel_capability_i.h"
19 #include "internal/packet_i.h"
20
21 namespace agora {
22
23 namespace rtc {
24
25 struct TConnectionInfo;
26
27 struct audio_packet_t;
28 struct SAudioFrame;
29 struct video_packet_t;
30 struct control_broadcast_packet_t;
31 struct CallBillInfo;
32 class IMetadataObserver;
33 class IStrategyManager;
34 class ProactiveCaller;
35
36 class ITransportPacketObserver {
37 public:
38 virtual ~ITransportPacketObserver() {}
39 virtual int onAudioPacket(const agora::rtc::TConnectionInfo& connectionInfo,
40 const audio_packet_t& p) = 0;
41 virtual int onVideoPacket(const agora::rtc::TConnectionInfo& connectionInfo,
42 const video_packet_t& p) = 0;
43 virtual int onControlBroadcastPacket(const agora::rtc::TConnectionInfo& connectionInfo,
44 control_broadcast_packet_t& p) = 0;
45 virtual int onDataStreamPacket(const agora::rtc::TConnectionInfo& connectionInfo,
46 agora::rtc::uid_t uid, uint16_t streamId, const char* data,
47 size_t length) = 0;
48 };
49
50 // Audio frame dump position for sending.
51 extern const std::string AUDIO_PIPELINE_POS_RECORD_ORIGIN;
52 extern const std::string AUDIO_PIPELINE_POS_APM;
53 extern const std::string AUDIO_PIPELINE_POS_PRE_SEND_PROC;
54 extern const std::string AUDIO_PIPELINE_POS_ENC;
55 extern const std::string AUDIO_PIPELINE_POS_TX_MIXER;
56 extern const std::string AUDIO_PIPELINE_POS_AT_RECORD;
57 extern const std::string AUDIO_PIPELINE_POS_ATW_RECORD;
58
59 // Audio frame dump position for receiving.
60 extern const std::string AUDIO_PIPELINE_POS_DEC;
61 extern const std::string AUDIO_PIPELINE_POS_PLAY;
62 extern const std::string AUDIO_PIPELINE_POS_RX_MIXER;
63 extern const std::string AUDIO_PIPELINE_POS_PLAYBACK_MIXER;
64 extern const std::string AUDIO_PIPELINE_POS_PCM_SOURCE_PLAYBAC_MIXER;
65 extern const std::string AUDIO_PIPELINE_POS_PRE_PLAY_PROC;
66 extern const std::string AUDIO_PIPELINE_POS_AT_PLAYOUT;
67 extern const std::string AUDIO_PIPELINE_POS_ATW_PLAYOUT;
68
69 const int64_t AUDIO_FRAME_DUMP_MIN_DURATION_MS = 0;
70 const int64_t AUDIO_FRAME_DUMP_MAX_DURATION_MS = 150000;
71
72 class IAudioFrameDumpObserver {
73 public:
74 virtual ~IAudioFrameDumpObserver() = default;
75 virtual void OnAudioFrameDumpCompleted(const std::string& location, const std::string& uuid,
76 const std::vector<std::string>& files) = 0;
77 };
78
79 struct CapabilityItem {
80 uint8_t id;
81 const char* name;
82 CapabilityItem() : id(0), name(nullptr) {}
83 CapabilityItem(uint8_t i, const char* n) : id(i), name(n) {}
84 };
85
86 struct CapabilityItemMap {
87 CapabilityItem* item;
88 size_t size;
89 CapabilityItemMap() : item(nullptr), size(0) {}
90 CapabilityItemMap(CapabilityItem* i, size_t s) : item(i), size(s) {}
91 };
92
93 struct Capabilities {
94 CapabilityItemMap* item_map;
95 agora::capability::CapabilityType type;
96 Capabilities() : item_map(nullptr), type(agora::capability::CapabilityType::kChannelProfile) {}
97 Capabilities(CapabilityItemMap* i, agora::capability::CapabilityType t) : item_map(i), type(t) {}
98 };
99
100 class ICapabilitesObserver {
101 public:
102 virtual void OnCapabilitesChanged(const Capabilities* capabilities, size_t size){};
103 virtual ~ICapabilitesObserver() = default;
104 };
105
106 struct LayoutInternal
107 {
108 std::string cname;
109 uint32_t uid;
110 uint32_t rx;
111 uint32_t ry;
112 uint32_t rw;
113 uint32_t rh;
114 uint32_t videoState; //0 for Video, 1 for placeholderimage, 2 for BlackgroundImage, 3 for frame
115 };
116 class VideoLayoutInfoInternal {
117 public:
118 std::string service;
119 uint32_t width;
120 uint32_t height;
121 uint32_t layoutSize;
122 std::shared_ptr<LayoutInternal> uidlayout;
123 };
124 class IVideoLayoutObserver {
125 public:
126 virtual void onLayoutInfo(const char* channelId,uid_t localUid, uid_t uid, VideoLayoutInfoInternal info) = 0;
127 virtual ~IVideoLayoutObserver(){}
128 };
129
130 class ILocalUserEx : public rtc::ILocalUser {
131 public:
132 virtual int initialize() = 0;
133 // We should deprecate sendAudioPacket.
134 virtual int sendAudioPacket(const audio_packet_t& packet, int delay = 0) = 0;
135
136 virtual int sendVideoPacket(const video_packet_t& packet) = 0;
137 virtual int sendControlBroadcastPacket(std::string& payload) = 0;
138
139 virtual int sendDataStreamPacket(uint16_t streamId, const char* data, size_t length) = 0;
140
141 // No-thread safe, it must be called before joinChannel().
142 // No unregister method provided to simplify internal logic.
143 virtual int registerTransportPacketObserver(ITransportPacketObserver* observer) = 0;
144
145 // internal usage
146 virtual int setAudioOptions(const rtc::AudioOptions& options) = 0;
147 virtual int getAudioOptions(rtc::AudioOptions* options) = 0;
148 virtual int setAdvancedAudioOptions(const rtc::AudioOptions& options, int sourceType) = 0;
149 virtual void getBillInfo(CallBillInfo* bill_info) = 0;
150
151 virtual void forceDeviceScore(int32_t deviceScore) = 0;
152 virtual int setPrerendererSmoothing(bool enabled) = 0;
153 virtual int setDtx(bool enabled) = 0;
154 virtual int setCustomAudioBitrate(int bitrate) = 0;
155 virtual int setCustomAudioPayloadType(int payloadtype) = 0;
156 virtual int setCustomAudioChannelNum(int channelNum) = 0;
157 virtual int setCustomAudioSampleRate(int sampleRate) = 0;
158 virtual int setAudioFrameSizeMs(int sizeMs) = 0;
159 virtual int setAudioDred(int value) = 0;
160 virtual int setAudioCC(bool value) = 0;
161
162 virtual int registerAudioFrameDumpObserver(IAudioFrameDumpObserver* observer) = 0;
163 virtual int unregisterAudioFrameDumpObserver(IAudioFrameDumpObserver* observer) = 0;
164
165 virtual int startAudioFrameDump(const std::string& location, const std::string& uuid,
166 const std::string& passwd, int64_t duration_ms,
167 bool auto_upload, aosl_ref_t ares = AOSL_REF_INVALID) = 0;
168 virtual int stopAudioFrameDump(const std::string& location) = 0;
169 virtual int startAudioRecordingLLApiInternal(const agora_refptr<agora::rtc::IAudioSinkBase>& audioSink,const AudioSinkWants& wants = AudioSinkWants{}) = 0;
170 virtual int stopAudioRecordingLLApiInternal() = 0;
171
172 virtual int enalbeSyncRenderNtpBroadcast(bool enable_sync_render_ntp_broadcast) = 0;
173 virtual int enalbeSyncRenderNtpAudience(bool enable_sync_render_ntp_audience) = 0;
174 virtual int enableStablePlayout(bool enable_stable_playout) = 0;
175 virtual int setPlayoutUserAnonymous(rtc::uid_t uid, bool anonymous) = 0;
176 virtual int muteRemoteFromTimestamp(rtc::uid_t uid, uint32_t timestamp) = 0;
177 virtual int unmuteRemoteFromTimestamp(rtc::uid_t uid, uint32_t timestamp) = 0;
178 virtual int adjustAudioAcceleration(rtc::uid_t uid, int percent) = 0;
179 virtual int enableAudioBurstAccelerate(rtc::uid_t uid, bool enable) = 0;
180 virtual int adjustAudioDeceleration(rtc::uid_t uid, int percent) = 0;
181 virtual int enableAudioPlayout(bool enabled) = 0;
182 virtual int setAudioMaxTargetDelay(int delay) = 0;
183 virtual int adjustDecodedAudioVolume(rtc::uid_t uid, int decoded_index, int volume) = 0;
184
185 virtual void registerVideoMetadataObserver(IMetadataObserver* observer) = 0;
186 virtual void unregisterVideoMetadataObserver(IMetadataObserver* observer) = 0;
187 virtual void registerVideoLayoutObserver(IVideoLayoutObserver* observer) = 0;
188 virtual void unregisterVideoLayoutObserver(IVideoLayoutObserver* observer) = 0;
189
190 using ILocalUser::registerLocalVideoEncodedFrameObserver;
191 using ILocalUser::unregisterLocalVideoEncodedFrameObserver;
192
193 using ILocalUser::registerVideoEncodedFrameObserver;
194 using ILocalUser::unregisterVideoEncodedFrameObserver;
195
196 virtual int setVideoFrameObserver(agora::media::IVideoFrameObserver* observer) = 0;
197
198 virtual int setExtendPlatformRenderer(agora::media::IVideoFrameObserver* renderer) = 0;
199
200 virtual agora_refptr<IRemoteVideoTrack> getRemoteVideoTrack(rtc::uid_t uid) = 0;
201
202 virtual int setAVSyncPeer(rtc::uid_t uid) = 0;
203 virtual int getOnlySubscribeEncodedVideoFrame(user_id_t peerUid, bool& subscribe) = 0;
204 virtual void setMinPlayoutDelay(int delay) = 0;
205 virtual int setAllowSubscribeSelf(bool allow) = 0;
206 virtual int adjustRecordingSignalVolume(int volume) = 0;
207 virtual int enableDownlinkNoiseGate(int noise_gate) = 0;
208 virtual int setDownlinkSignalLoudness(float loudness_lkfs) = 0;
209 virtual int setUplinkSignalLoudness(float loudness_lkfs) = 0;
210 virtual int enableDownlinkRawAudioLevelReport(bool enable) = 0;
211 virtual int enableAudioLevelReportInDecibel(bool enable) = 0;
212 virtual int getRecordingSignalVolume(int* volume) = 0;
213 virtual int registerCapabilitiesObserver(ICapabilitesObserver* cap_observer) = 0;
214 virtual int unRegisterCapabilitiesObserver(ICapabilitesObserver* cap_observer) = 0;
215 virtual void updateAppDefinedCapabilities(const Capabilities* cap, size_t size) = 0;
216 virtual int sendIntraRequestQuick(user_id_t uid) = 0;
217 virtual int sendIntraRequestLLApiInternal(user_id_t userId, VIDEO_STREAM_TYPE stream_type = VIDEO_STREAM_HIGH) = 0;
218 // this function should only be used in media_relay
219 // In the media_relay case, there are no track to help video_stream_manager get the video_height
220 // and video_width just receive the video packets and send this function used to help us
221 // UpdateBillInfo by ourself
222 virtual void customUpdateBillInfo(int height, int width, bool isSendingVideo) = 0;
223 virtual void setInteractiveAudience(bool interactive) = 0;
224 virtual int setVideoDumpMode(int mode, bool enabled, int frame_cnt = -1) = 0;
225 virtual int enableVideoDecryptedV4StreamDump(bool enabled) = 0;
226
227 virtual void muteLocalAudioStream(bool mute) = 0;
228 virtual void muteMicrophone(bool mute) = 0;
229
230 using ILocalUser::registerAudioSpectrumObserver;
231 using ILocalUser::unregisterAudioSpectrumObserver;
232
233 virtual int setUserRoleLLApiInternal(rtc::CLIENT_ROLE_TYPE role) = 0;
234 virtual CLIENT_ROLE_TYPE getUserRoleLLApiInternal() = 0;
235 virtual int setAudienceLatencyLevelLLApiInternal(rtc::AUDIENCE_LATENCY_LEVEL_TYPE level, int role) = 0;
236 virtual bool getLocalAudioStatisticsLLApiInternal(LocalAudioDetailedStats& stats) = 0;
237 virtual int publishVideoLLApiInternal(agora_refptr<ILocalVideoTrack> videoTrack) = 0;
238 virtual int unpublishVideoLLApiInternal(agora_refptr<ILocalVideoTrack> videoTrack) = 0;
239 virtual int setVideoSubscriptionOptionsLLApiInternal(user_id_t userId, const VideoSubscriptionOptions& options) = 0;
240 virtual int subscribeVideoLLApiInternal(user_id_t userId, const agora::rtc::VideoSubscriptionOptions& subscriptionOptions) = 0;
241 virtual int subscribeAllVideoLLApiInternal( const agora::rtc::VideoSubscriptionOptions& subscriptionOptions) = 0;
242 virtual int unsubscribeVideoLLApiInternal(user_id_t userId) = 0;
243 virtual int unsubscribeAllVideoLLApiInternal() = 0;
244 virtual int publishAudioLLApiInternal(agora_refptr<ILocalAudioTrack> audioTrack) = 0;
245 virtual int unpublishAudioLLApiInternal(agora_refptr<ILocalAudioTrack> audioTrack) = 0;
246 virtual int subscribeAudioLLApiInternal(user_id_t userId) = 0;
247 virtual int subscribeAllAudioLLApiInternal() = 0;
248 virtual int unsubscribeAudioLLApiInternal(user_id_t userId) = 0;
249 virtual int unsubscribeAllAudioLLApiInternal() = 0;
250 virtual int adjustPlaybackSignalVolumeLLApiInternal(int volume) = 0;
251 virtual int getPlaybackSignalVolumeLLApiInternal(int* volume) = 0;
252 virtual int adjustUserPlaybackSignalVolumeLLApiInternal(user_id_t userId, int volume) = 0;
253 virtual int getUserPlaybackSignalVolumeLLApiInternal(user_id_t userId, int* volume) = 0;
254 virtual int setUserPlaybackSignalLoudnessLLApiInternal(user_id_t userId, float loudness) = 0;
255 virtual int setAudioScenarioLLApiInternal(AUDIO_SCENARIO_TYPE scenario) = 0;
256 virtual int setAudioEncoderConfigurationLLApiInternal(const AudioEncoderConfiguration& config) = 0;
257 virtual int setPlaybackAudioFrameParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0;
258 virtual int setRecordingAudioFrameParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0;
259 virtual int setMixedAudioFrameParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, int samplesPerCall) = 0;
260 virtual int setEarMonitoringAudioFrameParametersLLApiInternal(bool enabled, size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0;
261 virtual int setPlaybackAudioFrameBeforeMixingParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz) = 0;
262 virtual int registerAudioFrameObserverLLApiInternal(agora::media::IAudioFrameObserverBase* observer) = 0;
263 virtual int unregisterAudioFrameObserverLLApiInternal(agora::media::IAudioFrameObserverBase* observer) = 0;
264 virtual int enableAudioSpectrumMonitorLLApiInternal(int intervalInMS) = 0;
265 virtual int disableAudioSpectrumMonitorLLApiInternal() = 0;
266 virtual int registerAudioSpectrumObserverLLApiInternal( agora::media::IAudioSpectrumObserver* observer, void (*safeDeleter)(agora::media::IAudioSpectrumObserver*)) = 0;
267 virtual int unregisterAudioSpectrumObserverLLApiInternal(agora::media::IAudioSpectrumObserver* observer) = 0;
268 virtual int registerLocalVideoEncodedFrameObserverLLApiInternal( agora::media::IVideoEncodedFrameObserver* observer) = 0;
269 virtual int unregisterLocalVideoEncodedFrameObserverLLApiInternal( agora::media::IVideoEncodedFrameObserver* observer) = 0;
270 virtual int forceNextIntraFrameLLApiInternal(bool is_quick = true, video_packet_t::VIDEO_STREAM_TYPE stream_type = video_packet_t::VIDEO_STREAM_HIGH) = 0;
271 virtual int registerVideoEncodedFrameObserverLLApiInternal( agora::media::IVideoEncodedFrameObserver* observer) = 0;
272 virtual int unregisterVideoEncodedFrameObserverLLApiInternal( agora::media::IVideoEncodedFrameObserver* observer) = 0;
273 virtual int registerVideoFrameObserverLLApiInternal(IVideoFrameObserver2* observer) = 0;
274 virtual int unregisterVideoFrameObserverLLApiInternal(IVideoFrameObserver2* observer) = 0;
275 virtual int setVideoFrameObserverLLApiInternal(agora::media::IVideoFrameObserver* observer) = 0;
276 virtual int setExtendPlatformRendererLLApiInternal(agora::media::IVideoFrameObserver* renderer) = 0;
277 using internal_user_id_t = std::string;
278 virtual int setSubscribeAudioBlocklistLLApiInternal(const std::vector<internal_user_id_t>& userIdList) = 0;
279 virtual int setSubscribeAudioAllowlistLLApiInternal(const std::vector<internal_user_id_t>& userIdList) = 0;
280 virtual int setSubscribeVideoBlocklistLLApiInternal(const std::vector<internal_user_id_t>& userIdList) = 0;
281 virtual int setSubscribeVideoAllowlistLLApiInternal(const std::vector<internal_user_id_t>& userIdList) = 0;
282 virtual int setHighPriorityUserListLLApiInternal(const std::vector<uid_t>& vipList, int option) = 0;
283 virtual int getHighPriorityUserListLLApiInternal(std::vector<uid_t>& vipList, int& option) = 0;
284 virtual int setRemoteSubscribeFallbackOptionLLApiInternal(int option) = 0;
285 virtual int registerLocalUserObserverLLApiInternal(ILocalUserObserver* observer, void (*safeDeleter)(ILocalUserObserver*) = NULL) = 0;
286 virtual int unregisterLocalUserObserverLLApiInternal(ILocalUserObserver* observer) = 0;
287 virtual int setAudioVolumeIndicationParametersLLApiInternal(int intervalInMS, int smooth, bool reportVad) = 0;
288 virtual int registerMediaControlPacketReceiverLLApiInternal( IMediaControlPacketReceiver* ctrlPacketReceiver) = 0;
289 virtual int unregisterMediaControlPacketReceiverLLApiInternal( IMediaControlPacketReceiver* ctrlPacketReceiver) = 0;
290 virtual int enableSoundPositionIndicationLLApiInternal(bool enabled) = 0;
291 virtual int setRemoteVoicePositionLLApiInternal(user_id_t userId, double pan, double gain) = 0;
292 virtual int enableSpatialAudioLLApiInternal(bool enabled) = 0;
293 virtual int setRemoteUserSpatialAudioParamsLLApiInternal(user_id_t userId, const agora::SpatialAudioParams& param) = 0;
294 virtual int setAudioFilterableLLApiInternal(bool filterable) = 0;
295 virtual int publishDataChannelLLApiInternal(agora_refptr<ILocalDataChannel> channel) = 0;
296 virtual int unpublishDataChannelLLApiInternal(agora_refptr<ILocalDataChannel> channel) = 0;
297 virtual int subscribeDataChannelLLApiInternal(user_id_t userId, int channelId) = 0;
298 virtual int unsubscribeDataChannelLLApiInternal(user_id_t userId, int channelId) = 0;
299 virtual int registerDataChannelObserverLLApiInternal(IDataChannelObserver* observer) = 0;
300 virtual int unregisterDataChannelObserverLLApiInternal(IDataChannelObserver* observer) = 0;
301 virtual int takeDataChannelSnapshotLLApiInternal() = 0;
302 virtual int enableRemoteAudioTrackFilterLLApiInternal(user_id_t userId, const char* id, bool enable) = 0;
303 virtual int setRemoteAudioTrackFilterPropertyLLApiInternal(user_id_t userId, const char* id, const char* key, const char* jsonValue) = 0;
304 virtual int getRemoteAudioTrackFilterPropertyLLApiInternal(user_id_t userId, const char* id, const char* key, char* jsonValue, size_t bufSize) = 0;
305 virtual int initializeLLApiInternal() = 0;
306 virtual int SetAudioNsModeLLApiInternal(bool NsEnable, NS_MODE NsMode, NS_LEVEL NsLevel, NS_DELAY NsDelay) = 0;
307 virtual int RegisterLocalMixedAudioTrackLLApiInternal(agora_refptr<ILocalAudioTrack>& track, bool enable) = 0;
308 virtual int setVideoScenarioLLApiInternal(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType) = 0;
309 virtual int getVideoScenarioEncoderConfigLLApiInternal(VideoEncoderConfiguration& config) = 0;
310 virtual int setVideoQoEPreferenceLLApiInternal(VIDEO_QOE_PREFERENCE_TYPE qoePreference) = 0;
311 virtual rtc::IStrategyManager* getStrategyManager() = 0;
312 virtual rtc::ProactiveCaller* getStrategyProactiveCaller() = 0;
313 virtual int setExternalAudioSinkMix(bool enabled) = 0;
314 virtual int sendAudioMetadataLLApiInternal(const char* metadata, size_t length) = 0;
315 virtual int setBiquadParams(const std::vector<std::tuple<int, float, float>>& params, bool uplink) = 0;
316 };
317
318 } // namespace rtc
319 } // namespace agora
agora::rtc::CapabilityItem::CapabilityItem
CapabilityItem(uint8_t i, const char *n)
Definition: local_user_i.h:83
agora::rtc::ILocalUserEx::getRecordingSignalVolume
virtual int getRecordingSignalVolume(int *volume)=0
agora::rtc::ILocalUserEx::setSubscribeVideoBlocklistLLApiInternal
virtual int setSubscribeVideoBlocklistLLApiInternal(const std::vector< internal_user_id_t > &userIdList)=0
agora::rtc::ILocalUserEx::setSubscribeAudioBlocklistLLApiInternal
virtual int setSubscribeAudioBlocklistLLApiInternal(const std::vector< internal_user_id_t > &userIdList)=0
agora::rtc::ILocalUserEx::setExtendPlatformRendererLLApiInternal
virtual int setExtendPlatformRendererLLApiInternal(agora::media::IVideoFrameObserver *renderer)=0
agora::rtc::ILocalUserEx::unpublishVideoLLApiInternal
virtual int unpublishVideoLLApiInternal(agora_refptr< ILocalVideoTrack > videoTrack)=0
agora::rtc::ILocalUserEx::publishVideoLLApiInternal
virtual int publishVideoLLApiInternal(agora_refptr< ILocalVideoTrack > videoTrack)=0
agora::rtc::ILocalUserEx::enableDownlinkRawAudioLevelReport
virtual int enableDownlinkRawAudioLevelReport(bool enable)=0
agora::rtc::IMediaControlPacketReceiver
Definition: NGIAgoraMediaNode.h:628
agora::rtc::ILocalUserEx::unregisterLocalVideoEncodedFrameObserverLLApiInternal
virtual int unregisterLocalVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUserEx::setAudioVolumeIndicationParametersLLApiInternal
virtual int setAudioVolumeIndicationParametersLLApiInternal(int intervalInMS, int smooth, bool reportVad)=0
agora::rtc::ILocalUser::LocalAudioDetailedStats
Definition: NGIAgoraLocalUser.h:176
agora::rtc::ILocalUserEx::enableAudioPlayout
virtual int enableAudioPlayout(bool enabled)=0
agora::rtc::AUDIENCE_LATENCY_LEVEL_TYPE
AUDIENCE_LATENCY_LEVEL_TYPE
Definition: AgoraBase.h:2550
agora::rtc::ILocalUserEx::getPlaybackSignalVolumeLLApiInternal
virtual int getPlaybackSignalVolumeLLApiInternal(int *volume)=0
agora::rtc::ILocalUserEx::unsubscribeAllVideoLLApiInternal
virtual int unsubscribeAllVideoLLApiInternal()=0
agora::rtc::AUDIO_PIPELINE_POS_PLAY
const std::string AUDIO_PIPELINE_POS_PLAY
agora::rtc::ILocalUserEx::registerLocalVideoEncodedFrameObserverLLApiInternal
virtual int registerLocalVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::media::IAudioFrameObserverBase
Definition: AgoraMediaBase.h:1267
agora::rtc::ILocalUserEx::setAudioFilterableLLApiInternal
virtual int setAudioFilterableLLApiInternal(bool filterable)=0
agora::rtc::ILocalUserEx::unregisterVideoLayoutObserver
virtual void unregisterVideoLayoutObserver(IVideoLayoutObserver *observer)=0
agora::rtc::ILocalUserEx::subscribeAllVideoLLApiInternal
virtual int subscribeAllVideoLLApiInternal(const agora::rtc::VideoSubscriptionOptions &subscriptionOptions)=0
agora::rtc::AudioOptions
Definition: audio_options_i.h:67
agora::rtc::ILocalUserEx::setAudioScenarioLLApiInternal
virtual int setAudioScenarioLLApiInternal(AUDIO_SCENARIO_TYPE scenario)=0
agora::rtc::ILocalUserEx::enableDownlinkNoiseGate
virtual int enableDownlinkNoiseGate(int noise_gate)=0
agora::rtc::ILocalUserEx::setUserPlaybackSignalLoudnessLLApiInternal
virtual int setUserPlaybackSignalLoudnessLLApiInternal(user_id_t userId, float loudness)=0
agora::rtc::ILocalUserEx::setCustomAudioChannelNum
virtual int setCustomAudioChannelNum(int channelNum)=0
agora::rtc::CapabilityItemMap::item
CapabilityItem * item
Definition: local_user_i.h:87
agora::rtc::AUDIO_PIPELINE_POS_DEC
const std::string AUDIO_PIPELINE_POS_DEC
agora::rtc::AUDIO_PIPELINE_POS_PRE_SEND_PROC
const std::string AUDIO_PIPELINE_POS_PRE_SEND_PROC
agora::rtc::IAudioFrameDumpObserver
Definition: local_user_i.h:72
agora::rtc::ILocalUserEx::setAudioFrameSizeMs
virtual int setAudioFrameSizeMs(int sizeMs)=0
agora::rtc::ILocalUserEx::setDtx
virtual int setDtx(bool enabled)=0
agora::rtc::ILocalUserEx::unregisterLocalUserObserverLLApiInternal
virtual int unregisterLocalUserObserverLLApiInternal(ILocalUserObserver *observer)=0
agora::rtc::ILocalUserEx::registerVideoEncodedFrameObserverLLApiInternal
virtual int registerVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::agora_refptr
Definition: AgoraRefPtr.h:44
agora::rtc::ILocalUserEx::registerAudioFrameDumpObserver
virtual int registerAudioFrameDumpObserver(IAudioFrameDumpObserver *observer)=0
agora::rtc::ILocalUserEx::getUserPlaybackSignalVolumeLLApiInternal
virtual int getUserPlaybackSignalVolumeLLApiInternal(user_id_t userId, int *volume)=0
agora::rtc::AUDIO_PIPELINE_POS_ATW_RECORD
const std::string AUDIO_PIPELINE_POS_ATW_RECORD
agora::rtc::ILocalUserEx::setPlayoutUserAnonymous
virtual int setPlayoutUserAnonymous(rtc::uid_t uid, bool anonymous)=0
agora::rtc::ILocalUserEx::setCustomAudioBitrate
virtual int setCustomAudioBitrate(int bitrate)=0
agora::rtc::ILocalUserEx::registerDataChannelObserverLLApiInternal
virtual int registerDataChannelObserverLLApiInternal(IDataChannelObserver *observer)=0
agora::media::IAudioSpectrumObserver
Definition: AgoraMediaBase.h:1598
agora::rtc::ILocalUser::registerLocalVideoEncodedFrameObserver
virtual int registerLocalVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer, aosl_ref_t ares=AOSL_REF_INVALID)=0
agora::rtc::ITransportPacketObserver::onAudioPacket
virtual int onAudioPacket(const agora::rtc::TConnectionInfo &connectionInfo, const audio_packet_t &p)=0
agora::rtc::ILocalUserEx::getAudioOptions
virtual int getAudioOptions(rtc::AudioOptions *options)=0
agora::rtc::ILocalUserEx::unpublishAudioLLApiInternal
virtual int unpublishAudioLLApiInternal(agora_refptr< ILocalAudioTrack > audioTrack)=0
agora::rtc::ILocalUserEx::registerVideoMetadataObserver
virtual void registerVideoMetadataObserver(IMetadataObserver *observer)=0
agora::rtc::ILocalUserEx::publishAudioLLApiInternal
virtual int publishAudioLLApiInternal(agora_refptr< ILocalAudioTrack > audioTrack)=0
agora::rtc::ILocalUserEx::registerVideoLayoutObserver
virtual void registerVideoLayoutObserver(IVideoLayoutObserver *observer)=0
agora::rtc::AUDIO_PIPELINE_POS_RECORD_ORIGIN
const std::string AUDIO_PIPELINE_POS_RECORD_ORIGIN
agora::rtc::ILocalUser::NS_DELAY
NS_DELAY
Definition: NGIAgoraLocalUser.h:259
agora::rtc::ILocalUserEx::setRemoteUserSpatialAudioParamsLLApiInternal
virtual int setRemoteUserSpatialAudioParamsLLApiInternal(user_id_t userId, const agora::SpatialAudioParams &param)=0
agora::rtc::ILocalUserEx::setDownlinkSignalLoudness
virtual int setDownlinkSignalLoudness(float loudness_lkfs)=0
agora::rtc::ILocalUser::unregisterAudioSpectrumObserver
virtual int unregisterAudioSpectrumObserver(agora::media::IAudioSpectrumObserver *observer)=0
agora::rtc::ILocalUserEx::setRemoteVoicePositionLLApiInternal
virtual int setRemoteVoicePositionLLApiInternal(user_id_t userId, double pan, double gain)=0
agora::media::IVideoFrameObserver
Definition: AgoraMediaBase.h:1664
agora::rtc::ILocalUserEx::setUserRoleLLApiInternal
virtual int setUserRoleLLApiInternal(rtc::CLIENT_ROLE_TYPE role)=0
agora::rtc::Capabilities::type
agora::capability::CapabilityType type
Definition: local_user_i.h:95
agora::rtc::ICapabilitesObserver::OnCapabilitesChanged
virtual void OnCapabilitesChanged(const Capabilities *capabilities, size_t size)
Definition: local_user_i.h:102
agora::rtc::LayoutInternal::rx
uint32_t rx
Definition: local_user_i.h:110
agora::rtc::VIDEO_STREAM_HIGH
@ VIDEO_STREAM_HIGH
Definition: AgoraBase.h:1577
agora::rtc::VideoLayoutInfoInternal::width
uint32_t width
Definition: local_user_i.h:119
agora::rtc::AUDIO_PIPELINE_POS_PCM_SOURCE_PLAYBAC_MIXER
const std::string AUDIO_PIPELINE_POS_PCM_SOURCE_PLAYBAC_MIXER
agora::rtc::ILocalUserEx::setVideoDumpMode
virtual int setVideoDumpMode(int mode, bool enabled, int frame_cnt=-1)=0
agora::rtc::AUDIO_SCENARIO_TYPE
AUDIO_SCENARIO_TYPE
Definition: AgoraBase.h:2679
agora::rtc::ILocalUserEx::setSubscribeAudioAllowlistLLApiInternal
virtual int setSubscribeAudioAllowlistLLApiInternal(const std::vector< internal_user_id_t > &userIdList)=0
agora::user_id_t
const char * user_id_t
Definition: AgoraBase.h:813
agora::rtc::ITransportPacketObserver::onDataStreamPacket
virtual int onDataStreamPacket(const agora::rtc::TConnectionInfo &connectionInfo, agora::rtc::uid_t uid, uint16_t streamId, const char *data, size_t length)=0
agora::rtc::ILocalUserEx::SetAudioNsModeLLApiInternal
virtual int SetAudioNsModeLLApiInternal(bool NsEnable, NS_MODE NsMode, NS_LEVEL NsLevel, NS_DELAY NsDelay)=0
agora::rtc::ILocalUserObserver
Definition: NGIAgoraLocalUser.h:1265
agora::rtc::ILocalUserEx::subscribeVideoLLApiInternal
virtual int subscribeVideoLLApiInternal(user_id_t userId, const agora::rtc::VideoSubscriptionOptions &subscriptionOptions)=0
agora::rtc::VideoEncoderConfiguration
Definition: AgoraBase.h:1920
agora::rtc::ICapabilitesObserver::~ICapabilitesObserver
virtual ~ICapabilitesObserver()=default
agora::rtc::ILocalUser::NS_MODE
NS_MODE
Definition: NGIAgoraLocalUser.h:250
agora::rtc::VideoSubscriptionOptions
Definition: AgoraBase.h:1609
agora::rtc::VIDEO_QOE_PREFERENCE_TYPE
VIDEO_QOE_PREFERENCE_TYPE
Definition: AgoraBase.h:2839
agora::rtc::ILocalUserEx::startAudioFrameDump
virtual int startAudioFrameDump(const std::string &location, const std::string &uuid, const std::string &passwd, int64_t duration_ms, bool auto_upload, aosl_ref_t ares=AOSL_REF_INVALID)=0
agora::capability::CapabilityType
CapabilityType
Definition: channel_capability_i.h:102
agora::rtc::ILocalUserEx::takeDataChannelSnapshotLLApiInternal
virtual int takeDataChannelSnapshotLLApiInternal()=0
agora::rtc::ILocalUserEx::sendIntraRequestQuick
virtual int sendIntraRequestQuick(user_id_t uid)=0
agora::rtc::ILocalUserEx::setAudienceLatencyLevelLLApiInternal
virtual int setAudienceLatencyLevelLLApiInternal(rtc::AUDIENCE_LATENCY_LEVEL_TYPE level, int role)=0
agora::rtc::ILocalUserEx::unregisterDataChannelObserverLLApiInternal
virtual int unregisterDataChannelObserverLLApiInternal(IDataChannelObserver *observer)=0
agora::rtc::ILocalUserEx::unregisterAudioSpectrumObserverLLApiInternal
virtual int unregisterAudioSpectrumObserverLLApiInternal(agora::media::IAudioSpectrumObserver *observer)=0
agora::rtc::ILocalUserEx::getOnlySubscribeEncodedVideoFrame
virtual int getOnlySubscribeEncodedVideoFrame(user_id_t peerUid, bool &subscribe)=0
agora::rtc::ILocalUserEx::disableAudioSpectrumMonitorLLApiInternal
virtual int disableAudioSpectrumMonitorLLApiInternal()=0
agora::rtc::AUDIO_PIPELINE_POS_ENC
const std::string AUDIO_PIPELINE_POS_ENC
agora::rtc::ILocalUserEx::setPrerendererSmoothing
virtual int setPrerendererSmoothing(bool enabled)=0
agora::rtc::ILocalUserEx::setMixedAudioFrameParametersLLApiInternal
virtual int setMixedAudioFrameParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, int samplesPerCall)=0
agora::rtc::LayoutInternal::rw
uint32_t rw
Definition: local_user_i.h:112
agora::rtc::ILocalUserEx::unsubscribeAudioLLApiInternal
virtual int unsubscribeAudioLLApiInternal(user_id_t userId)=0
agora::rtc::video_packet_t::VIDEO_STREAM_HIGH
@ VIDEO_STREAM_HIGH
Definition: packet_i.h:169
agora::rtc::ILocalUserEx::setVideoQoEPreferenceLLApiInternal
virtual int setVideoQoEPreferenceLLApiInternal(VIDEO_QOE_PREFERENCE_TYPE qoePreference)=0
agora::rtc::IVideoFrameObserver2
Definition: NGIAgoraLocalUser.h:1650
agora::rtc::ILocalUserEx::setUplinkSignalLoudness
virtual int setUplinkSignalLoudness(float loudness_lkfs)=0
agora::rtc::ILocalUserEx::getRemoteAudioTrackFilterPropertyLLApiInternal
virtual int getRemoteAudioTrackFilterPropertyLLApiInternal(user_id_t userId, const char *id, const char *key, char *jsonValue, size_t bufSize)=0
agora::rtc::VideoLayoutInfoInternal::height
uint32_t height
Definition: local_user_i.h:120
agora::rtc::CapabilityItemMap::size
size_t size
Definition: local_user_i.h:88
agora::rtc::VideoLayoutInfoInternal::layoutSize
uint32_t layoutSize
Definition: local_user_i.h:121
agora::rtc::IMetadataObserver
Definition: IAgoraRtcEngine.h:3403
agora::rtc::ILocalUserEx::adjustAudioAcceleration
virtual int adjustAudioAcceleration(rtc::uid_t uid, int percent)=0
agora
Definition: AgoraAtomicOps.h:21
agora::rtc::ILocalUserEx::muteRemoteFromTimestamp
virtual int muteRemoteFromTimestamp(rtc::uid_t uid, uint32_t timestamp)=0
agora::rtc::ILocalUserEx::internal_user_id_t
std::string internal_user_id_t
Definition: local_user_i.h:277
agora::rtc::ILocalUserEx::sendIntraRequestLLApiInternal
virtual int sendIntraRequestLLApiInternal(user_id_t userId, VIDEO_STREAM_TYPE stream_type=VIDEO_STREAM_HIGH)=0
agora::rtc::Capabilities::Capabilities
Capabilities()
Definition: local_user_i.h:96
agora::rtc::ILocalUserEx::registerAudioFrameObserverLLApiInternal
virtual int registerAudioFrameObserverLLApiInternal(agora::media::IAudioFrameObserverBase *observer)=0
agora::rtc::ILocalUserEx::forceNextIntraFrameLLApiInternal
virtual int forceNextIntraFrameLLApiInternal(bool is_quick=true, video_packet_t::VIDEO_STREAM_TYPE stream_type=video_packet_t::VIDEO_STREAM_HIGH)=0
agora::rtc::ILocalUserEx::unsubscribeVideoLLApiInternal
virtual int unsubscribeVideoLLApiInternal(user_id_t userId)=0
agora::rtc::ILocalUserEx::setRecordingAudioFrameParametersLLApiInternal
virtual int setRecordingAudioFrameParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall)=0
agora::rtc::ILocalUserEx::getHighPriorityUserListLLApiInternal
virtual int getHighPriorityUserListLLApiInternal(std::vector< uid_t > &vipList, int &option)=0
agora::rtc::RAW_AUDIO_FRAME_OP_MODE_TYPE
RAW_AUDIO_FRAME_OP_MODE_TYPE
Definition: AgoraMediaBase.h:228
agora::rtc::IVideoLayoutObserver
Definition: local_user_i.h:124
agora::rtc::ILocalUserEx::initialize
virtual int initialize()=0
agora::rtc::ILocalUserEx::setAudioOptions
virtual int setAudioOptions(const rtc::AudioOptions &options)=0
agora::rtc::AUDIO_PIPELINE_POS_AT_RECORD
const std::string AUDIO_PIPELINE_POS_AT_RECORD
agora::rtc::ILocalUserEx::unRegisterCapabilitiesObserver
virtual int unRegisterCapabilitiesObserver(ICapabilitesObserver *cap_observer)=0
agora::rtc::AUDIO_FRAME_DUMP_MIN_DURATION_MS
const int64_t AUDIO_FRAME_DUMP_MIN_DURATION_MS
Definition: local_user_i.h:69
agora::rtc::ILocalUserEx::setVideoFrameObserverLLApiInternal
virtual int setVideoFrameObserverLLApiInternal(agora::media::IVideoFrameObserver *observer)=0
agora::rtc::ILocalUserEx::setRemoteAudioTrackFilterPropertyLLApiInternal
virtual int setRemoteAudioTrackFilterPropertyLLApiInternal(user_id_t userId, const char *id, const char *key, const char *jsonValue)=0
agora::rtc::ILocalUserEx::sendDataStreamPacket
virtual int sendDataStreamPacket(uint16_t streamId, const char *data, size_t length)=0
agora::rtc::ILocalUserEx::adjustDecodedAudioVolume
virtual int adjustDecodedAudioVolume(rtc::uid_t uid, int decoded_index, int volume)=0
agora::rtc::TConnectionInfo
Definition: NGIAgoraRtcConnection.h:26
agora::rtc::ILocalUserEx::setCustomAudioSampleRate
virtual int setCustomAudioSampleRate(int sampleRate)=0
agora::rtc::ILocalUserEx::enableAudioLevelReportInDecibel
virtual int enableAudioLevelReportInDecibel(bool enable)=0
agora::rtc::ILocalUserEx::stopAudioRecordingLLApiInternal
virtual int stopAudioRecordingLLApiInternal()=0
agora::rtc::CapabilityItem
Definition: local_user_i.h:79
agora::rtc::ILocalUserEx::unsubscribeAllAudioLLApiInternal
virtual int unsubscribeAllAudioLLApiInternal()=0
agora::rtc::ILocalUserEx::publishDataChannelLLApiInternal
virtual int publishDataChannelLLApiInternal(agora_refptr< ILocalDataChannel > channel)=0
agora::rtc::ILocalUserEx::enableSpatialAudioLLApiInternal
virtual int enableSpatialAudioLLApiInternal(bool enabled)=0
agora::rtc::CapabilityItem::id
uint8_t id
Definition: local_user_i.h:80
agora::rtc::IAudioFrameDumpObserver::~IAudioFrameDumpObserver
virtual ~IAudioFrameDumpObserver()=default
agora::rtc::ILocalUser::registerAudioSpectrumObserver
virtual int registerAudioSpectrumObserver(agora::media::IAudioSpectrumObserver *observer, void(*safeDeleter)(agora::media::IAudioSpectrumObserver *), aosl_ref_t ares=AOSL_REF_INVALID)=0
agora::rtc::ILocalUserEx::getStrategyProactiveCaller
virtual rtc::ProactiveCaller * getStrategyProactiveCaller()=0
agora::rtc::ILocalUserEx::setRemoteSubscribeFallbackOptionLLApiInternal
virtual int setRemoteSubscribeFallbackOptionLLApiInternal(int option)=0
agora::rtc::ILocalUserEx::setPlaybackAudioFrameBeforeMixingParametersLLApiInternal
virtual int setPlaybackAudioFrameBeforeMixingParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz)=0
agora::rtc::LayoutInternal::videoState
uint32_t videoState
Definition: local_user_i.h:114
agora::rtc::VIDEO_APPLICATION_SCENARIO_TYPE
VIDEO_APPLICATION_SCENARIO_TYPE
Definition: AgoraBase.h:2817
agora::rtc::ILocalUserEx::registerCapabilitiesObserver
virtual int registerCapabilitiesObserver(ICapabilitesObserver *cap_observer)=0
agora::rtc::LayoutInternal
Definition: local_user_i.h:107
agora::rtc::ILocalUserEx::adjustRecordingSignalVolume
virtual int adjustRecordingSignalVolume(int volume)=0
agora::rtc::ILocalUserEx::enalbeSyncRenderNtpBroadcast
virtual int enalbeSyncRenderNtpBroadcast(bool enable_sync_render_ntp_broadcast)=0
agora::rtc::IVideoLayoutObserver::~IVideoLayoutObserver
virtual ~IVideoLayoutObserver()
Definition: local_user_i.h:127
agora::rtc::ILocalUserEx::setExtendPlatformRenderer
virtual int setExtendPlatformRenderer(agora::media::IVideoFrameObserver *renderer)=0
agora::rtc::ILocalUserEx::enalbeSyncRenderNtpAudience
virtual int enalbeSyncRenderNtpAudience(bool enable_sync_render_ntp_audience)=0
agora::rtc::ILocalUserEx::subscribeDataChannelLLApiInternal
virtual int subscribeDataChannelLLApiInternal(user_id_t userId, int channelId)=0
agora::rtc::ILocalUser::registerVideoEncodedFrameObserver
virtual int registerVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer, aosl_ref_t ares=AOSL_REF_INVALID)=0
agora::rtc::AUDIO_PIPELINE_POS_RX_MIXER
const std::string AUDIO_PIPELINE_POS_RX_MIXER
agora::rtc::AUDIO_FRAME_DUMP_MAX_DURATION_MS
const int64_t AUDIO_FRAME_DUMP_MAX_DURATION_MS
Definition: local_user_i.h:70
agora::rtc::ILocalUserEx::muteLocalAudioStream
virtual void muteLocalAudioStream(bool mute)=0
agora::rtc::video_packet_t
Definition: packet_i.h:166
agora::rtc::VideoLayoutInfoInternal
Definition: local_user_i.h:116
agora::rtc::ILocalUserEx::getVideoScenarioEncoderConfigLLApiInternal
virtual int getVideoScenarioEncoderConfigLLApiInternal(VideoEncoderConfiguration &config)=0
agora::rtc::ILocalUserEx::enableAudioBurstAccelerate
virtual int enableAudioBurstAccelerate(rtc::uid_t uid, bool enable)=0
agora::rtc::ILocalUser::unregisterVideoEncodedFrameObserver
virtual int unregisterVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUserEx::getBillInfo
virtual void getBillInfo(CallBillInfo *bill_info)=0
agora::rtc::ILocalUserEx::setExternalAudioSinkMix
virtual int setExternalAudioSinkMix(bool enabled)=0
agora::rtc::ILocalUserEx::setMinPlayoutDelay
virtual void setMinPlayoutDelay(int delay)=0
agora::rtc::ILocalUserEx::registerMediaControlPacketReceiverLLApiInternal
virtual int registerMediaControlPacketReceiverLLApiInternal(IMediaControlPacketReceiver *ctrlPacketReceiver)=0
agora::rtc::video_packet_t::VIDEO_STREAM_TYPE
VIDEO_STREAM_TYPE
Definition: packet_i.h:167
agora::rtc::ILocalUserEx::sendAudioMetadataLLApiInternal
virtual int sendAudioMetadataLLApiInternal(const char *metadata, size_t length)=0
agora::rtc::ILocalUserEx::registerAudioSpectrumObserverLLApiInternal
virtual int registerAudioSpectrumObserverLLApiInternal(agora::media::IAudioSpectrumObserver *observer, void(*safeDeleter)(agora::media::IAudioSpectrumObserver *))=0
agora::rtc::ILocalUserEx::adjustAudioDeceleration
virtual int adjustAudioDeceleration(rtc::uid_t uid, int percent)=0
agora::rtc::ITransportPacketObserver
Definition: local_user_i.h:36
agora::rtc::ILocalUser
Definition: NGIAgoraLocalUser.h:56
agora::rtc::ILocalUserEx::setVideoSubscriptionOptionsLLApiInternal
virtual int setVideoSubscriptionOptionsLLApiInternal(user_id_t userId, const VideoSubscriptionOptions &options)=0
agora::rtc::ILocalUserEx::setVideoFrameObserver
virtual int setVideoFrameObserver(agora::media::IVideoFrameObserver *observer)=0
agora::rtc::ILocalUserEx
Definition: local_user_i.h:130
agora::rtc::ILocalUserEx::getStrategyManager
virtual rtc::IStrategyManager * getStrategyManager()=0
agora::rtc::ILocalUserEx::registerLocalUserObserverLLApiInternal
virtual int registerLocalUserObserverLLApiInternal(ILocalUserObserver *observer, void(*safeDeleter)(ILocalUserObserver *)=NULL)=0
agora::rtc::AUDIO_PIPELINE_POS_TX_MIXER
const std::string AUDIO_PIPELINE_POS_TX_MIXER
agora::rtc::ILocalUserEx::muteMicrophone
virtual void muteMicrophone(bool mute)=0
agora::rtc::ILocalUserEx::enableRemoteAudioTrackFilterLLApiInternal
virtual int enableRemoteAudioTrackFilterLLApiInternal(user_id_t userId, const char *id, bool enable)=0
agora::rtc::LayoutInternal::ry
uint32_t ry
Definition: local_user_i.h:111
agora::rtc::audio_packet_t
Definition: packet_i.h:153
agora::rtc::Capabilities::item_map
CapabilityItemMap * item_map
Definition: local_user_i.h:94
agora::rtc::ILocalUserEx::setAdvancedAudioOptions
virtual int setAdvancedAudioOptions(const rtc::AudioOptions &options, int sourceType)=0
agora::rtc::ILocalUserEx::registerVideoFrameObserverLLApiInternal
virtual int registerVideoFrameObserverLLApiInternal(IVideoFrameObserver2 *observer)=0
agora::rtc::ILocalUserEx::startAudioRecordingLLApiInternal
virtual int startAudioRecordingLLApiInternal(const agora_refptr< agora::rtc::IAudioSinkBase > &audioSink, const AudioSinkWants &wants=AudioSinkWants{})=0
agora::rtc::ILocalUserEx::adjustPlaybackSignalVolumeLLApiInternal
virtual int adjustPlaybackSignalVolumeLLApiInternal(int volume)=0
agora::rtc::ILocalUserEx::unsubscribeDataChannelLLApiInternal
virtual int unsubscribeDataChannelLLApiInternal(user_id_t userId, int channelId)=0
agora::rtc::ILocalUserEx::enableStablePlayout
virtual int enableStablePlayout(bool enable_stable_playout)=0
agora::rtc::control_broadcast_packet_t
Definition: packet_i.h:285
agora::rtc::ILocalUserEx::getRemoteVideoTrack
virtual agora_refptr< IRemoteVideoTrack > getRemoteVideoTrack(rtc::uid_t uid)=0
agora::rtc::AUDIO_PIPELINE_POS_ATW_PLAYOUT
const std::string AUDIO_PIPELINE_POS_ATW_PLAYOUT
agora::rtc::ILocalUserEx::setAudioMaxTargetDelay
virtual int setAudioMaxTargetDelay(int delay)=0
agora::rtc::ILocalUserEx::initializeLLApiInternal
virtual int initializeLLApiInternal()=0
agora::rtc::ILocalUser::unregisterLocalVideoEncodedFrameObserver
virtual int unregisterLocalVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUserEx::enableAudioSpectrumMonitorLLApiInternal
virtual int enableAudioSpectrumMonitorLLApiInternal(int intervalInMS)=0
agora::rtc::ILocalUserEx::sendControlBroadcastPacket
virtual int sendControlBroadcastPacket(std::string &payload)=0
agora::rtc::ILocalUserEx::unmuteRemoteFromTimestamp
virtual int unmuteRemoteFromTimestamp(rtc::uid_t uid, uint32_t timestamp)=0
agora::rtc::ILocalUserEx::getLocalAudioStatisticsLLApiInternal
virtual bool getLocalAudioStatisticsLLApiInternal(LocalAudioDetailedStats &stats)=0
agora::rtc::ILocalUserEx::setAudioEncoderConfigurationLLApiInternal
virtual int setAudioEncoderConfigurationLLApiInternal(const AudioEncoderConfiguration &config)=0
agora::rtc::ILocalUserEx::unregisterVideoEncodedFrameObserverLLApiInternal
virtual int unregisterVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUserEx::subscribeAudioLLApiInternal
virtual int subscribeAudioLLApiInternal(user_id_t userId)=0
agora::rtc::AudioSinkWants
Definition: NGIAgoraAudioTrack.h:29
agora::rtc::ILocalUserEx::enableSoundPositionIndicationLLApiInternal
virtual int enableSoundPositionIndicationLLApiInternal(bool enabled)=0
agora::rtc::CapabilityItemMap
Definition: local_user_i.h:86
agora::rtc::CapabilityItem::name
const char * name
Definition: local_user_i.h:81
agora::rtc::ILocalUserEx::registerTransportPacketObserver
virtual int registerTransportPacketObserver(ITransportPacketObserver *observer)=0
agora::rtc::ILocalUserEx::adjustUserPlaybackSignalVolumeLLApiInternal
virtual int adjustUserPlaybackSignalVolumeLLApiInternal(user_id_t userId, int volume)=0
agora::rtc::ITransportPacketObserver::onControlBroadcastPacket
virtual int onControlBroadcastPacket(const agora::rtc::TConnectionInfo &connectionInfo, control_broadcast_packet_t &p)=0
agora::rtc::ILocalUserEx::updateAppDefinedCapabilities
virtual void updateAppDefinedCapabilities(const Capabilities *cap, size_t size)=0
agora::rtc::VIDEO_STREAM_TYPE
VIDEO_STREAM_TYPE
Definition: AgoraBase.h:1573
agora::rtc::ITransportPacketObserver::onVideoPacket
virtual int onVideoPacket(const agora::rtc::TConnectionInfo &connectionInfo, const video_packet_t &p)=0
agora::rtc::ILocalUserEx::customUpdateBillInfo
virtual void customUpdateBillInfo(int height, int width, bool isSendingVideo)=0
agora::rtc::LayoutInternal::cname
std::string cname
Definition: local_user_i.h:108
agora::rtc::ILocalUserEx::unregisterAudioFrameObserverLLApiInternal
virtual int unregisterAudioFrameObserverLLApiInternal(agora::media::IAudioFrameObserverBase *observer)=0
agora::rtc::AUDIO_PIPELINE_POS_PRE_PLAY_PROC
const std::string AUDIO_PIPELINE_POS_PRE_PLAY_PROC
agora::rtc::AUDIO_PIPELINE_POS_APM
const std::string AUDIO_PIPELINE_POS_APM
agora::rtc::AUDIO_PIPELINE_POS_AT_PLAYOUT
const std::string AUDIO_PIPELINE_POS_AT_PLAYOUT
agora::rtc::ILocalUserEx::subscribeAllAudioLLApiInternal
virtual int subscribeAllAudioLLApiInternal()=0
agora::rtc::LayoutInternal::uid
uint32_t uid
Definition: local_user_i.h:109
agora::media::IVideoEncodedFrameObserver
Definition: AgoraMediaBase.h:1642
agora::rtc::ILocalUserEx::unregisterMediaControlPacketReceiverLLApiInternal
virtual int unregisterMediaControlPacketReceiverLLApiInternal(IMediaControlPacketReceiver *ctrlPacketReceiver)=0
agora::rtc::ILocalUserEx::sendVideoPacket
virtual int sendVideoPacket(const video_packet_t &packet)=0
agora::rtc::ILocalUserEx::setBiquadParams
virtual int setBiquadParams(const std::vector< std::tuple< int, float, float >> &params, bool uplink)=0
agora::rtc::AudioEncoderConfiguration
Definition: IAgoraService.h:57
agora::rtc::ILocalUserEx::setAVSyncPeer
virtual int setAVSyncPeer(rtc::uid_t uid)=0
agora::rtc::AUDIO_PIPELINE_POS_PLAYBACK_MIXER
const std::string AUDIO_PIPELINE_POS_PLAYBACK_MIXER
agora::rtc::ILocalUserEx::unregisterVideoFrameObserverLLApiInternal
virtual int unregisterVideoFrameObserverLLApiInternal(IVideoFrameObserver2 *observer)=0
agora::rtc::ILocalUserEx::setVideoScenarioLLApiInternal
virtual int setVideoScenarioLLApiInternal(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType)=0
agora::rtc::ILocalUserEx::unregisterVideoMetadataObserver
virtual void unregisterVideoMetadataObserver(IMetadataObserver *observer)=0
agora::rtc::ICapabilitesObserver
Definition: local_user_i.h:100
agora::rtc::ILocalUserEx::setAudioCC
virtual int setAudioCC(bool value)=0
agora::rtc::ILocalUserEx::RegisterLocalMixedAudioTrackLLApiInternal
virtual int RegisterLocalMixedAudioTrackLLApiInternal(agora_refptr< ILocalAudioTrack > &track, bool enable)=0
agora::rtc::ILocalUserEx::unregisterAudioFrameDumpObserver
virtual int unregisterAudioFrameDumpObserver(IAudioFrameDumpObserver *observer)=0
agora::rtc::uid_t
unsigned int uid_t
Definition: AgoraMediaBase.h:28
agora::rtc::CapabilityItemMap::CapabilityItemMap
CapabilityItemMap()
Definition: local_user_i.h:89
agora::rtc::IAudioFrameDumpObserver::OnAudioFrameDumpCompleted
virtual void OnAudioFrameDumpCompleted(const std::string &location, const std::string &uuid, const std::vector< std::string > &files)=0
agora::rtc::ILocalUserEx::enableVideoDecryptedV4StreamDump
virtual int enableVideoDecryptedV4StreamDump(bool enabled)=0
agora::rtc::ITransportPacketObserver::~ITransportPacketObserver
virtual ~ITransportPacketObserver()
Definition: local_user_i.h:38
agora::rtc::IVideoLayoutObserver::onLayoutInfo
virtual void onLayoutInfo(const char *channelId, uid_t localUid, uid_t uid, VideoLayoutInfoInternal info)=0
agora::rtc::ILocalUserEx::setCustomAudioPayloadType
virtual int setCustomAudioPayloadType(int payloadtype)=0
agora::rtc::CLIENT_ROLE_TYPE
CLIENT_ROLE_TYPE
Definition: AgoraBase.h:2516
agora::rtc::VideoLayoutInfoInternal::service
std::string service
Definition: local_user_i.h:118
agora::rtc::ILocalUserEx::forceDeviceScore
virtual void forceDeviceScore(int32_t deviceScore)=0
agora::SpatialAudioParams
Definition: AgoraBase.h:7078
agora::rtc::ILocalUserEx::sendAudioPacket
virtual int sendAudioPacket(const audio_packet_t &packet, int delay=0)=0
agora::rtc::ILocalUserEx::setAllowSubscribeSelf
virtual int setAllowSubscribeSelf(bool allow)=0
agora::rtc::VideoLayoutInfoInternal::uidlayout
std::shared_ptr< LayoutInternal > uidlayout
Definition: local_user_i.h:122
agora::rtc::ILocalUser::NS_LEVEL
NS_LEVEL
Definition: NGIAgoraLocalUser.h:255
agora::rtc::LayoutInternal::rh
uint32_t rh
Definition: local_user_i.h:113
agora::rtc::ILocalUserEx::stopAudioFrameDump
virtual int stopAudioFrameDump(const std::string &location)=0
agora::rtc::Capabilities
Definition: local_user_i.h:93
agora::rtc::Capabilities::Capabilities
Capabilities(CapabilityItemMap *i, agora::capability::CapabilityType t)
Definition: local_user_i.h:97
agora::rtc::ILocalUserEx::setEarMonitoringAudioFrameParametersLLApiInternal
virtual int setEarMonitoringAudioFrameParametersLLApiInternal(bool enabled, size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall)=0
agora::rtc::CapabilityItem::CapabilityItem
CapabilityItem()
Definition: local_user_i.h:82
agora::rtc::ILocalUserEx::setPlaybackAudioFrameParametersLLApiInternal
virtual int setPlaybackAudioFrameParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall)=0
agora::rtc::ILocalUserEx::getUserRoleLLApiInternal
virtual CLIENT_ROLE_TYPE getUserRoleLLApiInternal()=0
agora::rtc::CapabilityItemMap::CapabilityItemMap
CapabilityItemMap(CapabilityItem *i, size_t s)
Definition: local_user_i.h:90
agora::rtc::ILocalUserEx::setHighPriorityUserListLLApiInternal
virtual int setHighPriorityUserListLLApiInternal(const std::vector< uid_t > &vipList, int option)=0
agora::rtc::ILocalUserEx::setSubscribeVideoAllowlistLLApiInternal
virtual int setSubscribeVideoAllowlistLLApiInternal(const std::vector< internal_user_id_t > &userIdList)=0
agora::IDataChannelObserver
Definition: NGIAgoraDataChannel.h:128
rtc
Definition: video_node_i.h:28
agora::rtc::ILocalUserEx::setInteractiveAudience
virtual void setInteractiveAudience(bool interactive)=0
agora::rtc::ILocalUserEx::setAudioDred
virtual int setAudioDred(int value)=0
agora::rtc::ILocalUserEx::unpublishDataChannelLLApiInternal
virtual int unpublishDataChannelLLApiInternal(agora_refptr< ILocalDataChannel > channel)=0