Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
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 "AgoraExtensions.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 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 using StreamsFecStatsMap = std::map<uint8_t, std::pair<uint16_t, uint32_t>>;
35 class ITransportPacketObserver {
36 public:
37 virtual ~ITransportPacketObserver() {}
38 virtual int onAudioPacket(const agora::rtc::TConnectionInfo& connectionInfo,
39 const audio_packet_t& p, int64_t packet_ssrc) = 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
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, int64_t packet_ssrc = 0, int delay = 0) = 0;
135
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
184 virtual int setAVSyncPeer(rtc::uid_t uid) = 0;
185 virtual void setMinPlayoutDelay(int delay) = 0;
186 virtual int setAllowSubscribeSelf(bool allow) = 0;
187 virtual int adjustRecordingSignalVolume(int volume) = 0;
188 virtual int enableDownlinkNoiseGate(int noise_gate) = 0;
189 virtual int setDownlinkSignalLoudness(float loudness_lkfs) = 0;
190 virtual int setUplinkSignalLoudness(float loudness_lkfs) = 0;
191 virtual int enableDownlinkRawAudioLevelReport(bool enable) = 0;
192 virtual int enableAudioLevelReportInDecibel(bool enable) = 0;
193 virtual int getRecordingSignalVolume(int* volume) = 0;
194 virtual int registerCapabilitiesObserver(ICapabilitesObserver* cap_observer) = 0;
195 virtual int unRegisterCapabilitiesObserver(ICapabilitesObserver* cap_observer) = 0;
196 virtual void updateAppDefinedCapabilities(const Capabilities* cap, size_t size) = 0;
197 virtual int sendIntraRequestQuick(user_id_t uid) = 0;
198 virtual int sendIntraRequestLLApiInternal(user_id_t userId, VIDEO_STREAM_TYPE stream_type = VIDEO_STREAM_HIGH) = 0;
199 // this function should only be used in media_relay
200 // In the media_relay case, there are no track to help video_stream_manager get the video_height
201 // and video_width just receive the video packets and send this function used to help us
202 // UpdateBillInfo by ourself
203 virtual void customUpdateBillInfo(int height, int width, bool isSendingVideo) = 0;
204 virtual void setInteractiveAudience(bool interactive) = 0;
205
206 virtual void muteLocalAudioStream(bool mute) = 0;
207 virtual void muteMicrophone(bool mute) = 0;
208
209 using ILocalUser::registerAudioSpectrumObserver;
210 using ILocalUser::unregisterAudioSpectrumObserver;
211
212 virtual int setUserRoleLLApiInternal(rtc::CLIENT_ROLE_TYPE role) = 0;
213 virtual CLIENT_ROLE_TYPE getUserRoleLLApiInternal() = 0;
214 virtual int setAudienceLatencyLevelLLApiInternal(rtc::AUDIENCE_LATENCY_LEVEL_TYPE level, int role) = 0;
215 virtual bool getLocalAudioStatisticsLLApiInternal(LocalAudioDetailedStats& stats) = 0;
216 virtual int publishAudioLLApiInternal(agora_refptr<ILocalAudioTrack> audioTrack) = 0;
217 virtual int unpublishAudioLLApiInternal(agora_refptr<ILocalAudioTrack> audioTrack) = 0;
218 virtual int subscribeAudioLLApiInternal(user_id_t userId) = 0;
219 virtual int subscribeAllAudioLLApiInternal() = 0;
220 virtual int unsubscribeAudioLLApiInternal(user_id_t userId) = 0;
221 virtual int unsubscribeAllAudioLLApiInternal() = 0;
222 virtual int adjustPlaybackSignalVolumeLLApiInternal(int volume) = 0;
223 virtual int getPlaybackSignalVolumeLLApiInternal(int* volume) = 0;
224 virtual int adjustUserPlaybackSignalVolumeLLApiInternal(user_id_t userId, int volume) = 0;
225 virtual int getUserPlaybackSignalVolumeLLApiInternal(user_id_t userId, int* volume) = 0;
226 virtual int setUserPlaybackSignalLoudnessLLApiInternal(user_id_t userId, float loudness) = 0;
227 virtual int setAudioScenarioLLApiInternal(AUDIO_SCENARIO_TYPE scenario) = 0;
228 virtual int setAudioEncoderConfigurationLLApiInternal(const AudioEncoderConfiguration& config) = 0;
229 virtual int setPlaybackAudioFrameParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0;
230 virtual int setRecordingAudioFrameParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0;
231 virtual int setMixedAudioFrameParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, int samplesPerCall) = 0;
232 virtual int setEarMonitoringAudioFrameParametersLLApiInternal(bool enabled, size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode, int samplesPerCall) = 0;
233 virtual int setPlaybackAudioFrameBeforeMixingParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, int samplesPerCall) = 0;
234 virtual int registerAudioFrameObserverLLApiInternal(agora::media::IAudioFrameObserverBase* observer) = 0;
235 virtual int unregisterAudioFrameObserverLLApiInternal(agora::media::IAudioFrameObserverBase* observer) = 0;
236 virtual int enableAudioSpectrumMonitorLLApiInternal(int intervalInMS) = 0;
237 virtual int disableAudioSpectrumMonitorLLApiInternal() = 0;
238 virtual int registerAudioSpectrumObserverLLApiInternal( agora::media::IAudioSpectrumObserver* observer, void (*safeDeleter)(agora::media::IAudioSpectrumObserver*)) = 0;
239 virtual int unregisterAudioSpectrumObserverLLApiInternal(agora::media::IAudioSpectrumObserver* observer) = 0;
240 using internal_user_id_t = std::string;
241 virtual int setSubscribeAudioBlocklistLLApiInternal(const std::vector<internal_user_id_t>& userIdList) = 0;
242 virtual int setSubscribeAudioAllowlistLLApiInternal(const std::vector<internal_user_id_t>& userIdList) = 0;
243 virtual int setHighPriorityUserListLLApiInternal(const std::vector<uid_t>& vipList, int option) = 0;
244 virtual int getHighPriorityUserListLLApiInternal(std::vector<uid_t>& vipList, int& option) = 0;
245 virtual int setRemoteSubscribeFallbackOptionLLApiInternal(int option) = 0;
246 virtual int registerLocalUserObserverLLApiInternal(ILocalUserObserver* observer, void (*safeDeleter)(ILocalUserObserver*) = NULL) = 0;
247 virtual int unregisterLocalUserObserverLLApiInternal(ILocalUserObserver* observer) = 0;
248 virtual int setAudioVolumeIndicationParametersLLApiInternal(int intervalInMS, int smooth, bool reportVad) = 0;
249 virtual int registerMediaControlPacketReceiverLLApiInternal( IMediaControlPacketReceiver* ctrlPacketReceiver) = 0;
250 virtual int unregisterMediaControlPacketReceiverLLApiInternal( IMediaControlPacketReceiver* ctrlPacketReceiver) = 0;
251 virtual int enableSoundPositionIndicationLLApiInternal(bool enabled) = 0;
252 virtual int setRemoteVoicePositionLLApiInternal(user_id_t userId, double pan, double gain) = 0;
253 virtual int enableSpatialAudioLLApiInternal(bool enabled) = 0;
254 virtual int setRemoteUserSpatialAudioParamsLLApiInternal(user_id_t userId, const agora::SpatialAudioParams& param) = 0;
255 virtual int setAudioFilterableLLApiInternal(bool filterable) = 0;
256 virtual int publishDataChannelLLApiInternal(agora_refptr<ILocalDataChannel> channel) = 0;
257 virtual int unpublishDataChannelLLApiInternal(agora_refptr<ILocalDataChannel> channel) = 0;
258 virtual int subscribeDataChannelLLApiInternal(user_id_t userId, int channelId) = 0;
259 virtual int unsubscribeDataChannelLLApiInternal(user_id_t userId, int channelId) = 0;
260 virtual int registerDataChannelObserverLLApiInternal(IDataChannelObserver* observer) = 0;
261 virtual int unregisterDataChannelObserverLLApiInternal(IDataChannelObserver* observer) = 0;
262 virtual int takeDataChannelSnapshotLLApiInternal() = 0;
263 virtual int enableRemoteAudioTrackFilterLLApiInternal(user_id_t userId, const char* id, bool enable) = 0;
264 virtual int setRemoteAudioTrackFilterPropertyLLApiInternal(user_id_t userId, const char* id, const char* key, const char* jsonValue) = 0;
265 virtual int getRemoteAudioTrackFilterPropertyLLApiInternal(user_id_t userId, const char* id, const char* key, char* jsonValue, size_t bufSize) = 0;
266 virtual int initializeLLApiInternal() = 0;
267 virtual int SetAudioNsModeLLApiInternal(bool NsEnable, NS_MODE NsMode, NS_LEVEL NsLevel, NS_DELAY NsDelay) = 0;
268 virtual int RegisterLocalMixedAudioTrackLLApiInternal(agora_refptr<ILocalAudioTrack>& track, bool enable) = 0;
269 virtual rtc::IStrategyManager* getStrategyManager() = 0;
270 virtual rtc::ProactiveCaller* getStrategyProactiveCaller() = 0;
271 virtual int setExternalAudioSinkMix(bool enabled) = 0;
272 virtual int sendAudioMetadataLLApiInternal(const char* metadata, size_t length) = 0;
273 virtual int setBiquadParams(const std::vector<std::tuple<int, float, float>>& params, bool uplink) = 0;
274 #ifdef FEATURE_VIDEO
275 virtual int sendVideoPacket(const video_packet_t& packet) = 0;
276 virtual void registerVideoMetadataObserver(IMetadataObserver* observer) = 0;
277 virtual void unregisterVideoMetadataObserver(IMetadataObserver* observer) = 0;
278 virtual void registerVideoLayoutObserver(IVideoLayoutObserver* observer) = 0;
279 virtual void unregisterVideoLayoutObserver(IVideoLayoutObserver* observer) = 0;
280 using ILocalUser::registerLocalVideoEncodedFrameObserver;
281 using ILocalUser::unregisterLocalVideoEncodedFrameObserver;
282 using ILocalUser::registerVideoEncodedFrameObserver;
283 using ILocalUser::unregisterVideoEncodedFrameObserver;
284
285 virtual int setVideoFrameObserver(agora::media::IVideoFrameObserver* observer) = 0;
286 virtual int setExtendPlatformRenderer(agora::media::IVideoFrameObserver* renderer) = 0;
287 virtual agora_refptr<IRemoteVideoTrack> getRemoteVideoTrack(rtc::uid_t uid) = 0;
288 virtual int getOnlySubscribeEncodedVideoFrame(user_id_t peerUid, bool& subscribe) = 0;
289 virtual int setVideoDumpMode(int mode, bool enabled, int frame_cnt = -1) = 0;
290 virtual int enableVideoDecryptedV4StreamDump(bool enabled) = 0;
291 virtual int publishVideoLLApiInternal(agora_refptr<ILocalVideoTrack> videoTrack) = 0;
292 virtual int unpublishVideoLLApiInternal(agora_refptr<ILocalVideoTrack> videoTrack) = 0;
293 virtual int setVideoSubscriptionOptionsLLApiInternal(user_id_t userId, const VideoSubscriptionOptions& options) = 0;
294 virtual int subscribeVideoLLApiInternal(user_id_t userId, const agora::rtc::VideoSubscriptionOptions& subscriptionOptions) = 0;
295 virtual int subscribeAllVideoLLApiInternal( const agora::rtc::VideoSubscriptionOptions& subscriptionOptions) = 0;
296 virtual int unsubscribeVideoLLApiInternal(user_id_t userId) = 0;
297 virtual int unsubscribeAllVideoLLApiInternal() = 0;
298 virtual int registerLocalVideoEncodedFrameObserverLLApiInternal( agora::media::IVideoEncodedFrameObserver* observer) = 0;
299 virtual int unregisterLocalVideoEncodedFrameObserverLLApiInternal( agora::media::IVideoEncodedFrameObserver* observer) = 0;
300 virtual int forceNextIntraFrameLLApiInternal(bool is_quick = true, video_packet_t::VIDEO_STREAM_TYPE stream_type = video_packet_t::VIDEO_STREAM_HIGH) = 0;
301 virtual int registerVideoEncodedFrameObserverLLApiInternal( agora::media::IVideoEncodedFrameObserver* observer) = 0;
302 virtual int unregisterVideoEncodedFrameObserverLLApiInternal( agora::media::IVideoEncodedFrameObserver* observer) = 0;
303 virtual int registerVideoFrameObserverLLApiInternal(IVideoFrameObserver2* observer) = 0;
304 virtual int unregisterVideoFrameObserverLLApiInternal(IVideoFrameObserver2* observer) = 0;
305 virtual int setVideoFrameObserverLLApiInternal(agora::media::IVideoFrameObserver* observer) = 0;
306 virtual int setExtendPlatformRendererLLApiInternal(agora::media::IVideoFrameObserver* renderer) = 0;
307 virtual int setSubscribeVideoBlocklistLLApiInternal(const std::vector<internal_user_id_t>& userIdList) = 0;
308 virtual int setSubscribeVideoAllowlistLLApiInternal(const std::vector<internal_user_id_t>& userIdList) = 0;
309 virtual int setVideoScenarioLLApiInternal(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType) = 0;
310 virtual int getVideoScenarioEncoderConfigLLApiInternal(VideoEncoderConfiguration& config) = 0;
311 virtual int setVideoQoEPreferenceLLApiInternal(VIDEO_QOE_PREFERENCE_TYPE qoePreference) = 0;
312 virtual void OnVideoFecStatsChanged(const StreamsFecStatsMap& streams_fec_stats) = 0;
313
314#endif
315};
316
317} // namespace rtc
318} // namespace agora
agora::IDataChannelObserver
Definition NGIAgoraDataChannel.h:128
agora::agora_refptr
Definition AgoraRefPtr.h:44
agora::media::IAudioFrameObserverBase
Definition AgoraMediaBase.h:1414
agora::media::IAudioSpectrumObserver
Definition AgoraMediaBase.h:1873
agora::media::IVideoEncodedFrameObserver
Definition AgoraMediaBase.h:1920
agora::media::IVideoFrameObserver
Definition AgoraMediaBase.h:1951
agora::rtc::IAudioFrameDumpObserver
Definition local_user_i.h:71
agora::rtc::IAudioFrameDumpObserver::OnAudioFrameDumpCompleted
virtual void OnAudioFrameDumpCompleted(const std::string &location, const std::string &uuid, const std::vector< std::string > &files)=0
agora::rtc::IAudioFrameDumpObserver::~IAudioFrameDumpObserver
virtual ~IAudioFrameDumpObserver()=default
agora::rtc::ICapabilitesObserver
Definition local_user_i.h:99
agora::rtc::ICapabilitesObserver::~ICapabilitesObserver
virtual ~ICapabilitesObserver()=default
agora::rtc::ICapabilitesObserver::OnCapabilitesChanged
virtual void OnCapabilitesChanged(const Capabilities *capabilities, size_t size)
Definition local_user_i.h:101
agora::rtc::ILocalUserEx
Definition local_user_i.h:130
agora::rtc::ILocalUserEx::registerCapabilitiesObserver
virtual int registerCapabilitiesObserver(ICapabilitesObserver *cap_observer)=0
agora::rtc::ILocalUserEx::adjustAudioAcceleration
virtual int adjustAudioAcceleration(rtc::uid_t uid, int percent)=0
agora::rtc::ILocalUserEx::unpublishDataChannelLLApiInternal
virtual int unpublishDataChannelLLApiInternal(agora_refptr< ILocalDataChannel > channel)=0
agora::rtc::ILocalUserEx::sendAudioPacket
virtual int sendAudioPacket(const audio_packet_t &packet, int64_t packet_ssrc=0, int delay=0)=0
agora::rtc::ILocalUserEx::updateAppDefinedCapabilities
virtual void updateAppDefinedCapabilities(const Capabilities *cap, size_t size)=0
agora::rtc::ILocalUserEx::registerTransportPacketObserver
virtual int registerTransportPacketObserver(ITransportPacketObserver *observer)=0
agora::rtc::ILocalUserEx::getVideoScenarioEncoderConfigLLApiInternal
virtual int getVideoScenarioEncoderConfigLLApiInternal(VideoEncoderConfiguration &config)=0
agora::rtc::ILocalUserEx::customUpdateBillInfo
virtual void customUpdateBillInfo(int height, int width, bool isSendingVideo)=0
agora::rtc::ILocalUserEx::initialize
virtual int initialize()=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::setAudioScenarioLLApiInternal
virtual int setAudioScenarioLLApiInternal(AUDIO_SCENARIO_TYPE scenario)=0
agora::rtc::ILocalUserEx::registerVideoMetadataObserver
virtual void registerVideoMetadataObserver(IMetadataObserver *observer)=0
agora::rtc::ILocalUserEx::enableRemoteAudioTrackFilterLLApiInternal
virtual int enableRemoteAudioTrackFilterLLApiInternal(user_id_t userId, const char *id, bool enable)=0
agora::rtc::ILocalUserEx::enableAudioSpectrumMonitorLLApiInternal
virtual int enableAudioSpectrumMonitorLLApiInternal(int intervalInMS)=0
agora::rtc::ILocalUserEx::unpublishAudioLLApiInternal
virtual int unpublishAudioLLApiInternal(agora_refptr< ILocalAudioTrack > audioTrack)=0
agora::rtc::ILocalUserEx::setCustomAudioBitrate
virtual int setCustomAudioBitrate(int bitrate)=0
agora::rtc::ILocalUserEx::unregisterAudioFrameDumpObserver
virtual int unregisterAudioFrameDumpObserver(IAudioFrameDumpObserver *observer)=0
agora::rtc::ILocalUserEx::getUserPlaybackSignalVolumeLLApiInternal
virtual int getUserPlaybackSignalVolumeLLApiInternal(user_id_t userId, int *volume)=0
agora::rtc::ILocalUserEx::unregisterVideoLayoutObserver
virtual void unregisterVideoLayoutObserver(IVideoLayoutObserver *observer)=0
agora::rtc::ILocalUserEx::setSubscribeVideoAllowlistLLApiInternal
virtual int setSubscribeVideoAllowlistLLApiInternal(const std::vector< internal_user_id_t > &userIdList)=0
agora::rtc::ILocalUserEx::registerAudioFrameDumpObserver
virtual int registerAudioFrameDumpObserver(IAudioFrameDumpObserver *observer)=0
agora::rtc::ILocalUserEx::enableSpatialAudioLLApiInternal
virtual int enableSpatialAudioLLApiInternal(bool enabled)=0
agora::rtc::ILocalUserEx::setVideoQoEPreferenceLLApiInternal
virtual int setVideoQoEPreferenceLLApiInternal(VIDEO_QOE_PREFERENCE_TYPE qoePreference)=0
agora::rtc::ILocalUserEx::getRemoteVideoTrack
virtual agora_refptr< IRemoteVideoTrack > getRemoteVideoTrack(rtc::uid_t uid)=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::unregisterDataChannelObserverLLApiInternal
virtual int unregisterDataChannelObserverLLApiInternal(IDataChannelObserver *observer)=0
agora::rtc::ILocalUserEx::setExtendPlatformRendererLLApiInternal
virtual int setExtendPlatformRendererLLApiInternal(agora::media::IVideoFrameObserver *renderer)=0
agora::rtc::ILocalUserEx::setAudioVolumeIndicationParametersLLApiInternal
virtual int setAudioVolumeIndicationParametersLLApiInternal(int intervalInMS, int smooth, bool reportVad)=0
agora::rtc::ILocalUserEx::muteMicrophone
virtual void muteMicrophone(bool mute)=0
agora::rtc::ILocalUserEx::getAudioOptions
virtual int getAudioOptions(rtc::AudioOptions *options)=0
agora::rtc::ILocalUserEx::subscribeVideoLLApiInternal
virtual int subscribeVideoLLApiInternal(user_id_t userId, const agora::rtc::VideoSubscriptionOptions &subscriptionOptions)=0
agora::rtc::ILocalUserEx::setBiquadParams
virtual int setBiquadParams(const std::vector< std::tuple< int, float, float > > &params, bool uplink)=0
agora::rtc::ILocalUserEx::unsubscribeAllAudioLLApiInternal
virtual int unsubscribeAllAudioLLApiInternal()=0
agora::rtc::ILocalUserEx::unsubscribeAllVideoLLApiInternal
virtual int unsubscribeAllVideoLLApiInternal()=0
agora::rtc::ILocalUserEx::setAudioFilterableLLApiInternal
virtual int setAudioFilterableLLApiInternal(bool filterable)=0
agora::rtc::ILocalUserEx::muteRemoteFromTimestamp
virtual int muteRemoteFromTimestamp(rtc::uid_t uid, uint32_t timestamp)=0
agora::rtc::ILocalUserEx::disableAudioSpectrumMonitorLLApiInternal
virtual int disableAudioSpectrumMonitorLLApiInternal()=0
agora::rtc::ILocalUserEx::adjustRecordingSignalVolume
virtual int adjustRecordingSignalVolume(int volume)=0
agora::rtc::ILocalUserEx::RegisterLocalMixedAudioTrackLLApiInternal
virtual int RegisterLocalMixedAudioTrackLLApiInternal(agora_refptr< ILocalAudioTrack > &track, bool enable)=0
agora::rtc::ILocalUserEx::setMixedAudioFrameParametersLLApiInternal
virtual int setMixedAudioFrameParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, int samplesPerCall)=0
agora::rtc::ILocalUserEx::publishDataChannelLLApiInternal
virtual int publishDataChannelLLApiInternal(agora_refptr< ILocalDataChannel > channel)=0
agora::rtc::ILocalUserEx::unsubscribeVideoLLApiInternal
virtual int unsubscribeVideoLLApiInternal(user_id_t userId)=0
agora::rtc::ILocalUserEx::sendIntraRequestQuick
virtual int sendIntraRequestQuick(user_id_t uid)=0
agora::rtc::ILocalUserEx::unregisterLocalUserObserverLLApiInternal
virtual int unregisterLocalUserObserverLLApiInternal(ILocalUserObserver *observer)=0
agora::rtc::ILocalUserEx::setUplinkSignalLoudness
virtual int setUplinkSignalLoudness(float loudness_lkfs)=0
agora::rtc::ILocalUserEx::setAudienceLatencyLevelLLApiInternal
virtual int setAudienceLatencyLevelLLApiInternal(rtc::AUDIENCE_LATENCY_LEVEL_TYPE level, int role)=0
agora::rtc::ILocalUserEx::getHighPriorityUserListLLApiInternal
virtual int getHighPriorityUserListLLApiInternal(std::vector< uid_t > &vipList, int &option)=0
agora::rtc::ILocalUserEx::adjustAudioDeceleration
virtual int adjustAudioDeceleration(rtc::uid_t uid, int percent)=0
agora::rtc::ILocalUserEx::muteLocalAudioStream
virtual void muteLocalAudioStream(bool mute)=0
agora::rtc::ILocalUserEx::enableSoundPositionIndicationLLApiInternal
virtual int enableSoundPositionIndicationLLApiInternal(bool enabled)=0
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::ILocalUserEx::adjustDecodedAudioVolume
virtual int adjustDecodedAudioVolume(rtc::uid_t uid, int decoded_index, int volume)=0
agora::rtc::ILocalUserEx::registerVideoLayoutObserver
virtual void registerVideoLayoutObserver(IVideoLayoutObserver *observer)=0
agora::rtc::ILocalUserEx::stopAudioFrameDump
virtual int stopAudioFrameDump(const std::string &location)=0
agora::rtc::ILocalUserEx::enableDownlinkRawAudioLevelReport
virtual int enableDownlinkRawAudioLevelReport(bool enable)=0
agora::rtc::ILocalUserEx::setCustomAudioSampleRate
virtual int setCustomAudioSampleRate(int sampleRate)=0
agora::rtc::ILocalUserEx::unregisterMediaControlPacketReceiverLLApiInternal
virtual int unregisterMediaControlPacketReceiverLLApiInternal(IMediaControlPacketReceiver *ctrlPacketReceiver)=0
agora::rtc::ILocalUserEx::unregisterVideoEncodedFrameObserverLLApiInternal
virtual int unregisterVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUserEx::getRecordingSignalVolume
virtual int getRecordingSignalVolume(int *volume)=0
agora::rtc::ILocalUserEx::unsubscribeDataChannelLLApiInternal
virtual int unsubscribeDataChannelLLApiInternal(user_id_t userId, int channelId)=0
agora::rtc::ILocalUserEx::registerLocalUserObserverLLApiInternal
virtual int registerLocalUserObserverLLApiInternal(ILocalUserObserver *observer, void(*safeDeleter)(ILocalUserObserver *)=NULL)=0
agora::rtc::ILocalUserEx::forceDeviceScore
virtual void forceDeviceScore(int32_t deviceScore)=0
agora::rtc::ILocalUserEx::setVideoFrameObserverLLApiInternal
virtual int setVideoFrameObserverLLApiInternal(agora::media::IVideoFrameObserver *observer)=0
agora::rtc::ILocalUserEx::startAudioRecordingLLApiInternal
virtual int startAudioRecordingLLApiInternal(const agora_refptr< agora::rtc::IAudioSinkBase > &audioSink, const AudioSinkWants &wants=AudioSinkWants{})=0
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::rtc::ILocalUserEx::subscribeDataChannelLLApiInternal
virtual int subscribeDataChannelLLApiInternal(user_id_t userId, int channelId)=0
agora::rtc::ILocalUserEx::sendAudioMetadataLLApiInternal
virtual int sendAudioMetadataLLApiInternal(const char *metadata, size_t length)=0
agora::rtc::ILocalUserEx::setAdvancedAudioOptions
virtual int setAdvancedAudioOptions(const rtc::AudioOptions &options, int sourceType)=0
agora::rtc::ILocalUserEx::setHighPriorityUserListLLApiInternal
virtual int setHighPriorityUserListLLApiInternal(const std::vector< uid_t > &vipList, int option)=0
agora::rtc::ILocalUserEx::setUserRoleLLApiInternal
virtual int setUserRoleLLApiInternal(rtc::CLIENT_ROLE_TYPE role)=0
agora::rtc::ILocalUserEx::initializeLLApiInternal
virtual int initializeLLApiInternal()=0
agora::rtc::ILocalUserEx::unregisterLocalVideoEncodedFrameObserverLLApiInternal
virtual int unregisterLocalVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *observer)=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::ILocalUserEx::setSubscribeVideoBlocklistLLApiInternal
virtual int setSubscribeVideoBlocklistLLApiInternal(const std::vector< internal_user_id_t > &userIdList)=0
agora::rtc::ILocalUserEx::setPlaybackAudioFrameBeforeMixingParametersLLApiInternal
virtual int setPlaybackAudioFrameBeforeMixingParametersLLApiInternal(size_t numberOfChannels, uint32_t sampleRateHz, int samplesPerCall)=0
agora::rtc::ILocalUserEx::setVideoSubscriptionOptionsLLApiInternal
virtual int setVideoSubscriptionOptionsLLApiInternal(user_id_t userId, const VideoSubscriptionOptions &options)=0
agora::rtc::ILocalUserEx::setAudioCC
virtual int setAudioCC(bool value)=0
agora::rtc::ILocalUserEx::getUserRoleLLApiInternal
virtual CLIENT_ROLE_TYPE getUserRoleLLApiInternal()=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::internal_user_id_t
std::string internal_user_id_t
Definition local_user_i.h:240
agora::rtc::ILocalUserEx::setUserPlaybackSignalLoudnessLLApiInternal
virtual int setUserPlaybackSignalLoudnessLLApiInternal(user_id_t userId, float loudness)=0
agora::rtc::ILocalUserEx::unregisterVideoFrameObserverLLApiInternal
virtual int unregisterVideoFrameObserverLLApiInternal(IVideoFrameObserver2 *observer)=0
agora::rtc::ILocalUserEx::setAudioFrameSizeMs
virtual int setAudioFrameSizeMs(int sizeMs)=0
agora::rtc::ILocalUserEx::getStrategyProactiveCaller
virtual rtc::ProactiveCaller * getStrategyProactiveCaller()=0
agora::rtc::ILocalUserEx::registerDataChannelObserverLLApiInternal
virtual int registerDataChannelObserverLLApiInternal(IDataChannelObserver *observer)=0
agora::rtc::ILocalUserEx::enalbeSyncRenderNtpAudience
virtual int enalbeSyncRenderNtpAudience(bool enable_sync_render_ntp_audience)=0
agora::rtc::ILocalUserEx::unregisterAudioSpectrumObserverLLApiInternal
virtual int unregisterAudioSpectrumObserverLLApiInternal(agora::media::IAudioSpectrumObserver *observer)=0
agora::rtc::ILocalUserEx::setExtendPlatformRenderer
virtual int setExtendPlatformRenderer(agora::media::IVideoFrameObserver *renderer)=0
agora::rtc::ILocalUserEx::setRemoteUserSpatialAudioParamsLLApiInternal
virtual int setRemoteUserSpatialAudioParamsLLApiInternal(user_id_t userId, const agora::SpatialAudioParams &param)=0
agora::rtc::ILocalUserEx::unpublishVideoLLApiInternal
virtual int unpublishVideoLLApiInternal(agora_refptr< ILocalVideoTrack > videoTrack)=0
agora::rtc::ILocalUserEx::setVideoFrameObserver
virtual int setVideoFrameObserver(agora::media::IVideoFrameObserver *observer)=0
agora::rtc::ILocalUserEx::setAVSyncPeer
virtual int setAVSyncPeer(rtc::uid_t uid)=0
agora::rtc::ILocalUserEx::setAudioEncoderConfigurationLLApiInternal
virtual int setAudioEncoderConfigurationLLApiInternal(const AudioEncoderConfiguration &config)=0
agora::rtc::ILocalUserEx::sendControlBroadcastPacket
virtual int sendControlBroadcastPacket(std::string &payload)=0
agora::rtc::ILocalUserEx::getLocalAudioStatisticsLLApiInternal
virtual bool getLocalAudioStatisticsLLApiInternal(LocalAudioDetailedStats &stats)=0
agora::rtc::ILocalUserEx::enableVideoDecryptedV4StreamDump
virtual int enableVideoDecryptedV4StreamDump(bool enabled)=0
agora::rtc::ILocalUserEx::sendIntraRequestLLApiInternal
virtual int sendIntraRequestLLApiInternal(user_id_t userId, VIDEO_STREAM_TYPE stream_type=VIDEO_STREAM_HIGH)=0
agora::rtc::ILocalUserEx::setAudioMaxTargetDelay
virtual int setAudioMaxTargetDelay(int delay)=0
agora::rtc::ILocalUserEx::enableAudioLevelReportInDecibel
virtual int enableAudioLevelReportInDecibel(bool enable)=0
agora::rtc::ILocalUserEx::subscribeAudioLLApiInternal
virtual int subscribeAudioLLApiInternal(user_id_t userId)=0
agora::rtc::ILocalUserEx::setCustomAudioChannelNum
virtual int setCustomAudioChannelNum(int channelNum)=0
agora::rtc::ILocalUserEx::setSubscribeAudioBlocklistLLApiInternal
virtual int setSubscribeAudioBlocklistLLApiInternal(const std::vector< internal_user_id_t > &userIdList)=0
agora::rtc::ILocalUserEx::unregisterAudioFrameObserverLLApiInternal
virtual int unregisterAudioFrameObserverLLApiInternal(agora::media::IAudioFrameObserverBase *observer)=0
agora::rtc::ILocalUserEx::setDownlinkSignalLoudness
virtual int setDownlinkSignalLoudness(float loudness_lkfs)=0
agora::rtc::ILocalUserEx::setAudioDred
virtual int setAudioDred(int value)=0
agora::rtc::ILocalUserEx::setPrerendererSmoothing
virtual int setPrerendererSmoothing(bool enabled)=0
agora::rtc::ILocalUserEx::enableDownlinkNoiseGate
virtual int enableDownlinkNoiseGate(int noise_gate)=0
agora::rtc::ILocalUserEx::sendDataStreamPacket
virtual int sendDataStreamPacket(uint16_t streamId, const char *data, size_t length)=0
agora::rtc::ILocalUserEx::subscribeAllVideoLLApiInternal
virtual int subscribeAllVideoLLApiInternal(const agora::rtc::VideoSubscriptionOptions &subscriptionOptions)=0
agora::rtc::ILocalUserEx::registerAudioFrameObserverLLApiInternal
virtual int registerAudioFrameObserverLLApiInternal(agora::media::IAudioFrameObserverBase *observer)=0
agora::rtc::ILocalUserEx::unsubscribeAudioLLApiInternal
virtual int unsubscribeAudioLLApiInternal(user_id_t userId)=0
agora::rtc::ILocalUserEx::publishVideoLLApiInternal
virtual int publishVideoLLApiInternal(agora_refptr< ILocalVideoTrack > videoTrack)=0
agora::rtc::ILocalUserEx::setVideoDumpMode
virtual int setVideoDumpMode(int mode, bool enabled, int frame_cnt=-1)=0
agora::rtc::ILocalUserEx::subscribeAllAudioLLApiInternal
virtual int subscribeAllAudioLLApiInternal()=0
agora::rtc::ILocalUserEx::setRemoteVoicePositionLLApiInternal
virtual int setRemoteVoicePositionLLApiInternal(user_id_t userId, double pan, double gain)=0
agora::rtc::ILocalUserEx::setSubscribeAudioAllowlistLLApiInternal
virtual int setSubscribeAudioAllowlistLLApiInternal(const std::vector< internal_user_id_t > &userIdList)=0
agora::rtc::ILocalUserEx::adjustPlaybackSignalVolumeLLApiInternal
virtual int adjustPlaybackSignalVolumeLLApiInternal(int volume)=0
agora::rtc::ILocalUserEx::enalbeSyncRenderNtpBroadcast
virtual int enalbeSyncRenderNtpBroadcast(bool enable_sync_render_ntp_broadcast)=0
agora::rtc::ILocalUserEx::registerVideoEncodedFrameObserverLLApiInternal
virtual int registerVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUserEx::sendVideoPacket
virtual int sendVideoPacket(const video_packet_t &packet)=0
agora::rtc::ILocalUserEx::SetAudioNsModeLLApiInternal
virtual int SetAudioNsModeLLApiInternal(bool NsEnable, NS_MODE NsMode, NS_LEVEL NsLevel, NS_DELAY NsDelay)=0
agora::rtc::ILocalUserEx::registerMediaControlPacketReceiverLLApiInternal
virtual int registerMediaControlPacketReceiverLLApiInternal(IMediaControlPacketReceiver *ctrlPacketReceiver)=0
agora::rtc::ILocalUserEx::setInteractiveAudience
virtual void setInteractiveAudience(bool interactive)=0
agora::rtc::ILocalUserEx::getOnlySubscribeEncodedVideoFrame
virtual int getOnlySubscribeEncodedVideoFrame(user_id_t peerUid, bool &subscribe)=0
agora::rtc::ILocalUserEx::adjustUserPlaybackSignalVolumeLLApiInternal
virtual int adjustUserPlaybackSignalVolumeLLApiInternal(user_id_t userId, int volume)=0
agora::rtc::ILocalUserEx::setRemoteSubscribeFallbackOptionLLApiInternal
virtual int setRemoteSubscribeFallbackOptionLLApiInternal(int option)=0
agora::rtc::ILocalUserEx::stopAudioRecordingLLApiInternal
virtual int stopAudioRecordingLLApiInternal()=0
agora::rtc::ILocalUserEx::setCustomAudioPayloadType
virtual int setCustomAudioPayloadType(int payloadtype)=0
agora::rtc::ILocalUserEx::registerVideoFrameObserverLLApiInternal
virtual int registerVideoFrameObserverLLApiInternal(IVideoFrameObserver2 *observer)=0
agora::rtc::ILocalUserEx::enableAudioPlayout
virtual int enableAudioPlayout(bool enabled)=0
agora::rtc::ILocalUserEx::unRegisterCapabilitiesObserver
virtual int unRegisterCapabilitiesObserver(ICapabilitesObserver *cap_observer)=0
agora::rtc::ILocalUserEx::OnVideoFecStatsChanged
virtual void OnVideoFecStatsChanged(const StreamsFecStatsMap &streams_fec_stats)=0
agora::rtc::ILocalUserEx::enableStablePlayout
virtual int enableStablePlayout(bool enable_stable_playout)=0
agora::rtc::ILocalUserEx::unmuteRemoteFromTimestamp
virtual int unmuteRemoteFromTimestamp(rtc::uid_t uid, uint32_t timestamp)=0
agora::rtc::ILocalUserEx::registerAudioSpectrumObserverLLApiInternal
virtual int registerAudioSpectrumObserverLLApiInternal(agora::media::IAudioSpectrumObserver *observer, void(*safeDeleter)(agora::media::IAudioSpectrumObserver *))=0
agora::rtc::ILocalUserEx::setVideoScenarioLLApiInternal
virtual int setVideoScenarioLLApiInternal(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType)=0
agora::rtc::ILocalUserEx::getStrategyManager
virtual rtc::IStrategyManager * getStrategyManager()=0
agora::rtc::ILocalUserEx::setAllowSubscribeSelf
virtual int setAllowSubscribeSelf(bool allow)=0
agora::rtc::ILocalUserEx::setExternalAudioSinkMix
virtual int setExternalAudioSinkMix(bool enabled)=0
agora::rtc::ILocalUserEx::getBillInfo
virtual void getBillInfo(CallBillInfo *bill_info)=0
agora::rtc::ILocalUserEx::takeDataChannelSnapshotLLApiInternal
virtual int takeDataChannelSnapshotLLApiInternal()=0
agora::rtc::ILocalUserEx::setPlayoutUserAnonymous
virtual int setPlayoutUserAnonymous(rtc::uid_t uid, bool anonymous)=0
agora::rtc::ILocalUserEx::registerLocalVideoEncodedFrameObserverLLApiInternal
virtual int registerLocalVideoEncodedFrameObserverLLApiInternal(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUserEx::getPlaybackSignalVolumeLLApiInternal
virtual int getPlaybackSignalVolumeLLApiInternal(int *volume)=0
agora::rtc::ILocalUserEx::setAudioOptions
virtual int setAudioOptions(const rtc::AudioOptions &options)=0
agora::rtc::ILocalUserEx::unregisterVideoMetadataObserver
virtual void unregisterVideoMetadataObserver(IMetadataObserver *observer)=0
agora::rtc::ILocalUserEx::publishAudioLLApiInternal
virtual int publishAudioLLApiInternal(agora_refptr< ILocalAudioTrack > audioTrack)=0
agora::rtc::ILocalUserEx::setMinPlayoutDelay
virtual void setMinPlayoutDelay(int delay)=0
agora::rtc::ILocalUserEx::setDtx
virtual int setDtx(bool enabled)=0
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::ILocalUser
Definition NGIAgoraLocalUser.h:56
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::ILocalUser::NS_MODE
NS_MODE
Definition NGIAgoraLocalUser.h:250
agora::rtc::ILocalUser::NS_DELAY
NS_DELAY
Definition NGIAgoraLocalUser.h:259
agora::rtc::ILocalUser::registerLocalVideoEncodedFrameObserver
virtual int registerLocalVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer, aosl_ref_t ares=AOSL_REF_INVALID)=0
agora::rtc::ILocalUser::unregisterAudioSpectrumObserver
virtual int unregisterAudioSpectrumObserver(agora::media::IAudioSpectrumObserver *observer)=0
agora::rtc::ILocalUser::registerVideoEncodedFrameObserver
virtual int registerVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer, aosl_ref_t ares=AOSL_REF_INVALID)=0
agora::rtc::ILocalUser::unregisterVideoEncodedFrameObserver
virtual int unregisterVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUser::unregisterLocalVideoEncodedFrameObserver
virtual int unregisterLocalVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUser::NS_LEVEL
NS_LEVEL
Definition NGIAgoraLocalUser.h:255
agora::rtc::ILocalUserObserver
Definition NGIAgoraLocalUser.h:1215
agora::rtc::IMediaControlPacketReceiver
Definition NGIAgoraMediaNode.h:340
agora::rtc::IMetadataObserver
Definition IAgoraRtcEngine.h:4166
agora::rtc::ITransportPacketObserver
Definition local_user_i.h:35
agora::rtc::ITransportPacketObserver::onAudioPacket
virtual int onAudioPacket(const agora::rtc::TConnectionInfo &connectionInfo, const audio_packet_t &p, int64_t packet_ssrc)=0
agora::rtc::ITransportPacketObserver::onControlBroadcastPacket
virtual int onControlBroadcastPacket(const agora::rtc::TConnectionInfo &connectionInfo, control_broadcast_packet_t &p)=0
agora::rtc::ITransportPacketObserver::~ITransportPacketObserver
virtual ~ITransportPacketObserver()
Definition local_user_i.h:37
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::ITransportPacketObserver::onVideoPacket
virtual int onVideoPacket(const agora::rtc::TConnectionInfo &connectionInfo, const video_packet_t &p)=0
agora::rtc::IVideoFrameObserver2
Definition NGIAgoraLocalUser.h:1608
agora::rtc::IVideoLayoutObserver
Definition local_user_i.h:124
agora::rtc::IVideoLayoutObserver::onLayoutInfo
virtual void onLayoutInfo(const char *channelId, uid_t localUid, uid_t uid, VideoLayoutInfoInternal info)=0
agora::rtc::IVideoLayoutObserver::~IVideoLayoutObserver
virtual ~IVideoLayoutObserver()
Definition local_user_i.h:127
agora::rtc::VideoLayoutInfoInternal
Definition local_user_i.h:116
agora::rtc::VideoLayoutInfoInternal::uidlayout
std::shared_ptr< LayoutInternal > uidlayout
Definition local_user_i.h:122
agora::rtc::VideoLayoutInfoInternal::layoutSize
uint32_t layoutSize
Definition local_user_i.h:121
agora::rtc::VideoLayoutInfoInternal::height
uint32_t height
Definition local_user_i.h:120
agora::rtc::VideoLayoutInfoInternal::width
uint32_t width
Definition local_user_i.h:119
agora::rtc::VideoLayoutInfoInternal::service
std::string service
Definition local_user_i.h:118
agora::capability
Definition channel_capability_i.h:14
agora::capability::CapabilityType
CapabilityType
Definition channel_capability_i.h:103
agora::rtc
Definition AgoraExtensions.h:5
agora::rtc::AUDIO_PIPELINE_POS_AT_RECORD
const std::string AUDIO_PIPELINE_POS_AT_RECORD
agora::rtc::AUDIENCE_LATENCY_LEVEL_TYPE
AUDIENCE_LATENCY_LEVEL_TYPE
The latency level of an audience member in interactive live streaming. This enum takes effect only wh...
Definition AgoraBase.h:2985
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::AUDIO_PIPELINE_POS_PCM_SOURCE_PLAYBAC_MIXER
const std::string AUDIO_PIPELINE_POS_PCM_SOURCE_PLAYBAC_MIXER
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::AUDIO_SCENARIO_TYPE
AUDIO_SCENARIO_TYPE
The audio scenarios.
Definition AgoraBase.h:3124
agora::rtc::AUDIO_PIPELINE_POS_PRE_PLAY_PROC
const std::string AUDIO_PIPELINE_POS_PRE_PLAY_PROC
agora::rtc::VIDEO_QOE_PREFERENCE_TYPE
VIDEO_QOE_PREFERENCE_TYPE
Definition AgoraBase.h:3323
agora::rtc::AUDIO_PIPELINE_POS_ATW_PLAYOUT
const std::string AUDIO_PIPELINE_POS_ATW_PLAYOUT
agora::rtc::AUDIO_PIPELINE_POS_PLAY
const std::string AUDIO_PIPELINE_POS_PLAY
agora::rtc::CLIENT_ROLE_TYPE
CLIENT_ROLE_TYPE
The user role in the interactive live streaming.
Definition AgoraBase.h:2951
agora::rtc::StreamsFecStatsMap
std::map< uint8_t, std::pair< uint16_t, uint32_t > > StreamsFecStatsMap
Definition local_user_i.h:34
agora::rtc::VIDEO_STREAM_TYPE
VIDEO_STREAM_TYPE
The type of video streams.
Definition AgoraBase.h:1660
agora::rtc::VIDEO_STREAM_HIGH
@ VIDEO_STREAM_HIGH
Definition AgoraBase.h:1664
agora::rtc::AUDIO_PIPELINE_POS_ENC
const std::string AUDIO_PIPELINE_POS_ENC
agora::rtc::AUDIO_PIPELINE_POS_PRE_SEND_PROC
const std::string AUDIO_PIPELINE_POS_PRE_SEND_PROC
agora::rtc::AUDIO_PIPELINE_POS_RX_MIXER
const std::string AUDIO_PIPELINE_POS_RX_MIXER
agora::rtc::AUDIO_PIPELINE_POS_ATW_RECORD
const std::string AUDIO_PIPELINE_POS_ATW_RECORD
agora::rtc::uid_t
unsigned int uid_t
Definition AgoraMediaBase.h:28
agora::rtc::AUDIO_PIPELINE_POS_DEC
const std::string AUDIO_PIPELINE_POS_DEC
agora::rtc::VIDEO_APPLICATION_SCENARIO_TYPE
VIDEO_APPLICATION_SCENARIO_TYPE
The video application scenarios.
Definition AgoraBase.h:3257
agora::rtc::AUDIO_PIPELINE_POS_APM
const std::string AUDIO_PIPELINE_POS_APM
agora::rtc::RAW_AUDIO_FRAME_OP_MODE_TYPE
RAW_AUDIO_FRAME_OP_MODE_TYPE
The use mode of the audio data.
Definition AgoraMediaBase.h:261
agora::rtc::AUDIO_PIPELINE_POS_PLAYBACK_MIXER
const std::string AUDIO_PIPELINE_POS_PLAYBACK_MIXER
agora::rtc::AUDIO_PIPELINE_POS_TX_MIXER
const std::string AUDIO_PIPELINE_POS_TX_MIXER
agora::rtc::AUDIO_PIPELINE_POS_RECORD_ORIGIN
const std::string AUDIO_PIPELINE_POS_RECORD_ORIGIN
agora::rtc::AUDIO_PIPELINE_POS_AT_PLAYOUT
const std::string AUDIO_PIPELINE_POS_AT_PLAYOUT
agora
Definition AgoraAtomicOps.h:21
agora::user_id_t
const char * user_id_t
Definition AgoraBase.h:849
agora::SpatialAudioParams
The spatial audio parameters.
Definition AgoraBase.h:8056
agora::rtc::AudioEncoderConfiguration
Definition IAgoraService.h:58
agora::rtc::AudioOptions
Definition audio_options_i.h:67
agora::rtc::AudioSinkWants
Definition NGIAgoraAudioTrack.h:37
agora::rtc::Capabilities
Definition local_user_i.h:92
agora::rtc::Capabilities::item_map
CapabilityItemMap * item_map
Definition local_user_i.h:93
agora::rtc::Capabilities::type
agora::capability::CapabilityType type
Definition local_user_i.h:94
agora::rtc::Capabilities::Capabilities
Capabilities()
Definition local_user_i.h:95
agora::rtc::Capabilities::Capabilities
Capabilities(CapabilityItemMap *i, agora::capability::CapabilityType t)
Definition local_user_i.h:96
agora::rtc::CapabilityItem
Definition local_user_i.h:78
agora::rtc::CapabilityItem::id
uint8_t id
Definition local_user_i.h:79
agora::rtc::CapabilityItem::CapabilityItem
CapabilityItem()
Definition local_user_i.h:81
agora::rtc::CapabilityItem::CapabilityItem
CapabilityItem(uint8_t i, const char *n)
Definition local_user_i.h:82
agora::rtc::CapabilityItem::name
const char * name
Definition local_user_i.h:80
agora::rtc::CapabilityItemMap
Definition local_user_i.h:85
agora::rtc::CapabilityItemMap::size
size_t size
Definition local_user_i.h:87
agora::rtc::CapabilityItemMap::CapabilityItemMap
CapabilityItemMap()
Definition local_user_i.h:88
agora::rtc::CapabilityItemMap::item
CapabilityItem * item
Definition local_user_i.h:86
agora::rtc::CapabilityItemMap::CapabilityItemMap
CapabilityItemMap(CapabilityItem *i, size_t s)
Definition local_user_i.h:89
agora::rtc::ILocalUser::LocalAudioDetailedStats
Definition NGIAgoraLocalUser.h:176
agora::rtc::LayoutInternal
Definition local_user_i.h:106
agora::rtc::LayoutInternal::videoState
uint32_t videoState
Definition local_user_i.h:113
agora::rtc::LayoutInternal::rw
uint32_t rw
Definition local_user_i.h:111
agora::rtc::LayoutInternal::rh
uint32_t rh
Definition local_user_i.h:112
agora::rtc::LayoutInternal::cname
std::string cname
Definition local_user_i.h:107
agora::rtc::LayoutInternal::rx
uint32_t rx
Definition local_user_i.h:109
agora::rtc::LayoutInternal::uid
uint32_t uid
Definition local_user_i.h:108
agora::rtc::LayoutInternal::ry
uint32_t ry
Definition local_user_i.h:110
agora::rtc::SAudioFrame
Definition packet_i.h:64
agora::rtc::TConnectionInfo
Definition NGIAgoraRtcConnection.h:26
agora::rtc::VideoEncoderConfiguration
Video encoder configurations.
Definition AgoraBase.h:2057
agora::rtc::VideoSubscriptionOptions
Video subscription options.
Definition AgoraBase.h:1705
agora::rtc::audio_packet_t
Definition packet_i.h:151
agora::rtc::control_broadcast_packet_t
Definition packet_i.h:282
agora::rtc::video_packet_t
Definition packet_i.h:163
agora::rtc::video_packet_t::VIDEO_STREAM_TYPE
VIDEO_STREAM_TYPE
Definition packet_i.h:164
agora::rtc::video_packet_t::VIDEO_STREAM_HIGH
@ VIDEO_STREAM_HIGH
Definition packet_i.h:166