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