Agora RTC Objective-C API Reference Refactor

NGIAgoraLocalUser.h
Go to the documentation of this file.
1 //
2 // Agora SDK
3 //
4 // Created by Zheng Ender in 2018-01.
5 // Copyright (c) 2018 Agora.io. All rights reserved.
6 //
7
8 #pragma once // NOLINT(build/header_guard)
9
10 #include <cstring>
11 #include <vector>
12 #include "AgoraBase.h"
13 #include "AgoraOptional.h"
14
15 namespace agora {
16 namespace media {
17 class IAudioFrameObserver;
18 }
19
20 class ILocalDataChannel;
21 class IDataChannelObserver;
22
23 namespace rtc {
24 class IAudioEngineWrapper;
25
26 class ILocalUserObserver;
27 class ILocalVideoTrack;
28 class IRemoteVideoTrack;
29 class IVideoFrameObserver2;
30
31 class IMediaControlPacketSender;
32 class IMediaControlPacketReceiver;
33 struct AudioEncoderConfiguration;
34 struct VideoEncoderConfiguration;
35
36 class ILocalAudioTrack;
37 class IAudioMixerSource;
38 struct RemoteAudioTrackStats;
39 class IRemoteAudioTrack;
40 struct LocalVideoTrackStats;
41 struct RemoteVideoTrackStats;
42 class IMediaPacketReceiver;
43 class IVideoSinkBase;
44
56 class ILocalUser {
57 public:
61 struct ANAStats {
67 agora::Optional<uint32_t> bitrate_action_counter;
73 agora::Optional<uint32_t> channel_action_counter;
79 agora::Optional<uint32_t> dtx_action_counter;
85 agora::Optional<uint32_t> fec_action_counter;
92 agora::Optional<uint32_t> frame_length_increase_counter;
99 agora::Optional<uint32_t> frame_length_decrease_counter;
105 agora::Optional<float> uplink_packet_loss_fraction;
106 };
107
111 struct AudioProcessingStats {
120 agora::Optional<double> echo_return_loss;
121 //
132 agora::Optional<double> echo_return_loss_enhancement;
137 agora::Optional<double> divergent_filter_fraction;
138
151 agora::Optional<int32_t> delay_median_ms;
155 agora::Optional<int32_t> delay_standard_deviation_ms;
156
160 agora::Optional<double> residual_echo_likelihood;
164 agora::Optional<double> residual_echo_likelihood_recent_max;
165
170 agora::Optional<int32_t> delay_ms;
171 };
172
176 struct LocalAudioDetailedStats {
180 uint32_t local_ssrc;
184 int64_t bytes_sent;
188 int32_t packets_sent;
192 int32_t packets_lost;
196 float fraction_lost;
200 char codec_name[media::base::kMaxCodecNameLength];
204 agora::Optional<int> codec_payload_type;
208 int32_t ext_seqnum;
212 int32_t jitter_ms;
216 int64_t rtt_ms;
220 int32_t audio_level;
224 double total_input_energy;
228 double total_input_duration;
234 bool typing_noise_detected;
235
240 ANAStats ana_statistics;
241 AudioProcessingStats apm_statistics;
242
243 LocalAudioDetailedStats() : local_ssrc(0), bytes_sent(0), packets_sent(0), packets_lost(-1), fraction_lost(-1.0f),
244 ext_seqnum(-1), jitter_ms(-1), rtt_ms(-1), audio_level(-1),
245 total_input_energy(0.0), total_input_duration(0.0), typing_noise_detected(false) {
246 memset(codec_name, 0, sizeof(codec_name));
247 }
248 };
249
250 enum NS_MODE {
251 ElderNsStatistical = 0, /* Elder Statistical Noise Suppression.*/
252 NsNGStatistical = 1, /* Next Generation Statistical Noise Suppression.*/
253 NsNG = 2 /* Next Generation Noise Suppression.*/
254 };
255 enum NS_LEVEL {
256 Soft = 0,/* Soft Noise Suppression.*/
257 Aggressive = 1 /* Aggressiveness Noise Suppression.*/
258 };
259 enum NS_DELAY {
260 HighQuality = 0,/* High Audio Quality with High Delay.*/
261 Balance = 1,/* Balanced Audio Quality and Delay.*/
262 LowDelay = 2/* Slight Low Audio Quality with Low Delay.*/
263 };
264
265 public:
266 virtual ~ILocalUser() {}
267
284 virtual void setUserRole(rtc::CLIENT_ROLE_TYPE role) = 0;
285
291 virtual CLIENT_ROLE_TYPE getUserRole() = 0;
292
293
294 virtual void setAudienceLatencyLevel(AUDIENCE_LATENCY_LEVEL_TYPE level) = 0;
295
296 virtual AUDIENCE_LATENCY_LEVEL_TYPE getAudienceLatencyLevel() = 0;
297
308 virtual int setAudioEncoderConfiguration(const rtc::AudioEncoderConfiguration& config) = 0;
309
319 virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario) = 0;
320
331 virtual int setVideoScenario(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType) = 0;
332
341 virtual bool getLocalAudioStatistics(LocalAudioDetailedStats& stats) = 0;
342
354 virtual int publishAudio(agora_refptr<ILocalAudioTrack> audioTrack) = 0;
355
364 virtual int unpublishAudio(agora_refptr<ILocalAudioTrack> audioTrack) = 0;
365
374 virtual int publishVideo(agora_refptr<ILocalVideoTrack> videoTrack) = 0;
375
384 virtual int unpublishVideo(agora_refptr<ILocalVideoTrack> videoTrack) = 0;
385
395 virtual int subscribeAudio(user_id_t userId) = 0;
396
406 virtual int subscribeAllAudio() = 0;
407
417 virtual int unsubscribeAudio(user_id_t userId) = 0;
418
429 virtual int unsubscribeAllAudio() = 0;
430
441 virtual int adjustPlaybackSignalVolume(int volume) = 0;
442
450 virtual int getPlaybackSignalVolume(int* volume) = 0;
451
452 /*
453 * Adjust the playback volume of the user specified by uid.
454 *
455 * You can call this method to adjust the playback volume of the user specified by uid
456 * in call. If you want to adjust playback volume of the multi user, you can call this
457 * this method multi times.
458 *
459 * @note
460 * Please call this method after join channel.
461 * This method adjust the playback volume of specified user.
462 *
463 * @param userId The ID of the Remote user.
464 * @param volume The playback volume of the specified remote user. The value ranges between 0 and 400, including the following:
465 * 0: Mute.
466 * 100: (Default) Original volume.
467 * 400: Four times the original volume with signal-clipping protection.
468 * @return
469 * - 0: Success.
470 * - < 0: Failure.
471 */
472 virtual int adjustUserPlaybackSignalVolume(user_id_t userId, int volume) = 0;
473
482 virtual int getUserPlaybackSignalVolume(user_id_t userId, int* volume) = 0;
483
496 virtual int enableSoundPositionIndication(bool enabled) = 0;
497
518 virtual int setRemoteVoicePosition(user_id_t userId, double pan, double gain) = 0;
519
529 virtual int enableSpatialAudio(bool enabled) = 0;
530
540 virtual int setRemoteUserSpatialAudioParams(user_id_t userId, const agora::SpatialAudioParams& param) = 0;
541
558 virtual int setPlaybackAudioFrameParameters(size_t numberOfChannels,
559 uint32_t sampleRateHz,
560 RAW_AUDIO_FRAME_OP_MODE_TYPE mode = RAW_AUDIO_FRAME_OP_MODE_READ_ONLY,
561 int samplesPerCall = 0) = 0;
578 virtual int setRecordingAudioFrameParameters(size_t numberOfChannels,
579 uint32_t sampleRateHz,
580 RAW_AUDIO_FRAME_OP_MODE_TYPE mode = RAW_AUDIO_FRAME_OP_MODE_READ_ONLY,
581 int samplesPerCall = 0) = 0;
596 virtual int setMixedAudioFrameParameters(size_t numberOfChannels,
597 uint32_t sampleRateHz,
598 int samplesPerCall = 0) = 0;
599
618 virtual int setEarMonitoringAudioFrameParameters(bool enabled,
619 size_t numberOfChannels,
620 uint32_t sampleRateHz,
621 RAW_AUDIO_FRAME_OP_MODE_TYPE mode = RAW_AUDIO_FRAME_OP_MODE_READ_ONLY,
622 int samplesPerCall = 0) = 0;
623
638 virtual int setPlaybackAudioFrameBeforeMixingParameters(size_t numberOfChannels,
639 uint32_t sampleRateHz) = 0;
640
657 virtual int registerAudioFrameObserver(agora::media::IAudioFrameObserverBase * observer) = 0;
666 virtual int unregisterAudioFrameObserver(agora::media::IAudioFrameObserverBase * observer) = 0;
667
678 virtual int enableAudioSpectrumMonitor(int intervalInMS = 100) = 0;
686 virtual int disableAudioSpectrumMonitor() = 0;
687
702 virtual int registerAudioSpectrumObserver(agora::media::IAudioSpectrumObserver * observer, void (*safeDeleter)(agora::media::IAudioSpectrumObserver*)) = 0;
712 virtual int unregisterAudioSpectrumObserver(agora::media::IAudioSpectrumObserver * observer) = 0;
713
726 virtual int registerLocalVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver* observer) = 0;
734 virtual int unregisterLocalVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver* observer) = 0;
742 virtual int forceNextIntraFrame() = 0;
755 virtual int registerVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver* observer) = 0;
763 virtual int unregisterVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver* observer) = 0;
764
777 virtual int registerVideoFrameObserver(IVideoFrameObserver2* observer) = 0;
785 virtual int unregisterVideoFrameObserver(IVideoFrameObserver2* observer) = 0;
786
787 virtual int setVideoSubscriptionOptions(user_id_t userId,
788 const VideoSubscriptionOptions& options) = 0;
789
790 virtual int setHighPriorityUserList(uid_t* vipList, int uidNum, int option) = 0;
791
792 virtual int getHighPriorityUserList(std::vector<uid_t>& vipList, int& option) = 0;
793
794 virtual int setRemoteSubscribeFallbackOption(int option) = 0;
795
810 virtual int setSubscribeAudioBlocklist(user_id_t* userList, int userNumber) = 0;
811
828 virtual int setSubscribeAudioAllowlist(user_id_t* userList, int userNumber) = 0;
829
844 virtual int setSubscribeVideoBlocklist(user_id_t* userList, int userNumber) = 0;
845
862 virtual int setSubscribeVideoAllowlist(user_id_t* userList, int userNumber) = 0;
863
876 virtual int subscribeVideo(user_id_t userId,
877 const VideoSubscriptionOptions &subscriptionOptions) = 0;
878
889 virtual int subscribeAllVideo(const VideoSubscriptionOptions &subscriptionOptions) = 0;
890
900 virtual int unsubscribeVideo(user_id_t userId) = 0;
901
912 virtual int unsubscribeAllVideo() = 0;
913
933 virtual int setAudioVolumeIndicationParameters(int intervalInMS, int smooth, bool reportVad) = 0;
934
946 virtual int registerLocalUserObserver(
947 ILocalUserObserver* observer,
948 void(*safeDeleter)(ILocalUserObserver*) = NULL) = 0;
949
958 virtual int unregisterLocalUserObserver(ILocalUserObserver* observer) = 0;
959
967 virtual IMediaControlPacketSender* getMediaControlPacketSender() = 0;
968
981 virtual int registerMediaControlPacketReceiver(IMediaControlPacketReceiver* ctrlPacketReceiver) = 0;
982
990 virtual int unregisterMediaControlPacketReceiver(IMediaControlPacketReceiver* ctrlPacketReceiver) = 0;
991
1002 virtual int sendIntraRequest(user_id_t userId) = 0;
1003
1015 virtual int setAudioFilterable(bool filterable) = 0;
1016
1026 virtual int enableRemoteAudioTrackFilter(user_id_t userId, const char* id, bool enable) = 0;
1027
1038 virtual int setRemoteAudioTrackFilterProperty(user_id_t userId, const char* id, const char* key, const char* jsonValue) = 0;
1039
1051 virtual int getRemoteAudioTrackFilterProperty(user_id_t userId, const char* id, const char* key, char* jsonValue, size_t bufSize) = 0;
1060 virtual int publishDataChannel(agora_refptr<ILocalDataChannel> channel) = 0;
1069 virtual int unpublishDataChannel(agora_refptr<ILocalDataChannel> channel) = 0;
1079 virtual int subscribeDataChannel(user_id_t userId, int channelId) = 0;
1091 virtual int unsubscribeDataChannel(user_id_t userId, int channelId) = 0;
1102 virtual int registerDataChannelObserver(IDataChannelObserver * observer) = 0;
1111 virtual int unregisterDataChannelObserver(IDataChannelObserver * observer) = 0;
1123 virtual int SetAudioNsMode(bool NsEnable, NS_MODE NsMode, NS_LEVEL NsLevel, NS_DELAY NsDelay) = 0;
1133 virtual int registerMixSource(agora_refptr<IAudioMixerSource> mixSource, int mixPolicy) = 0;
1134 };
1135
1139 struct AudioVolumeInformation {
1143 user_id_t userId;
1144
1148 unsigned int volume;
1149
1150 /*
1151 * The activity status of remote users
1152 */
1153 unsigned int vad;
1154
1158 double voicePitch;
1159
1160 AudioVolumeInformation() : userId(NULL), volume(0), vad(0), voicePitch(0.0) {}
1161 };
1162
1166 class ILocalUserObserver {
1167 public:
1168 virtual ~ILocalUserObserver() {}
1169
1170 virtual void onAudioTrackPublishStart(agora_refptr<ILocalAudioTrack> audioTrack) = 0;
1177 virtual void onAudioTrackPublishSuccess(agora_refptr<ILocalAudioTrack> audioTrack) = 0;
1178
1179 virtual void onAudioTrackUnpublished(agora_refptr<ILocalAudioTrack> audioTrack) = 0;
1180
1187 virtual void onAudioTrackPublicationFailure(agora_refptr<ILocalAudioTrack> audioTrack,
1188 ERROR_CODE_TYPE error) = 0;
1189
1195 virtual void onLocalAudioTrackStatistics(const LocalAudioStats& stats) = 0;
1202 virtual void onRemoteAudioTrackStatistics(agora_refptr<rtc::IRemoteAudioTrack> audioTrack, const RemoteAudioTrackStats& stats) = 0;
1212 virtual void onUserAudioTrackSubscribed(user_id_t userId,
1213 agora_refptr<rtc::IRemoteAudioTrack> audioTrack) = 0;
1214
1224 virtual void onUserAudioTrackStateChanged(user_id_t userId,
1225 agora_refptr<rtc::IRemoteAudioTrack> audioTrack,
1226 REMOTE_AUDIO_STATE state,
1227 REMOTE_AUDIO_STATE_REASON reason,
1228 int elapsed) = 0;
1229
1230 virtual void onVideoTrackPublishStart(agora_refptr<ILocalVideoTrack> videoTrack) = 0;
1236 virtual void onVideoTrackPublishSuccess(agora_refptr<ILocalVideoTrack> videoTrack) = 0;
1237
1244 virtual void onVideoTrackPublicationFailure(agora_refptr<ILocalVideoTrack> videoTrack,
1245 ERROR_CODE_TYPE error) = 0;
1246
1247 virtual void onVideoTrackUnpublished(agora_refptr<ILocalVideoTrack> videoTrack) = 0;
1259 virtual void onLocalVideoTrackStateChanged(agora_refptr<rtc::ILocalVideoTrack> videoTrack,
1260 LOCAL_VIDEO_STREAM_STATE state,
1261 LOCAL_VIDEO_STREAM_ERROR errorCode) = 0;
1262
1269 virtual void onLocalVideoTrackStatistics(agora_refptr<rtc::ILocalVideoTrack> videoTrack,
1270 const LocalVideoTrackStats& stats) = 0;
1271
1282 virtual void onUserVideoTrackSubscribed(user_id_t userId, VideoTrackInfo trackInfo,
1283 agora_refptr<rtc::IRemoteVideoTrack> videoTrack) = 0;
1284
1294 virtual void onUserVideoTrackStateChanged(user_id_t userId,
1295 agora_refptr<rtc::IRemoteVideoTrack> videoTrack,
1296 REMOTE_VIDEO_STATE state,
1297 REMOTE_VIDEO_STATE_REASON reason,
1298 int elapsed) = 0;
1299
1308 virtual void onFirstRemoteVideoFrameRendered(user_id_t userId, int width,
1309 int height, int elapsed) = 0;
1310
1311
1318 virtual void onRemoteVideoTrackStatistics(agora_refptr<rtc::IRemoteVideoTrack> videoTrack,
1319 const RemoteVideoTrackStats& stats) = 0;
1320
1350 virtual void onAudioVolumeIndication(const AudioVolumeInformation* speakers, unsigned int speakerNumber,
1351 int totalVolume) = 0;
1352
1365 virtual void onActiveSpeaker(user_id_t userId) = 0;
1366
1376 virtual void onAudioSubscribeStateChanged(const char* channel, user_id_t userId, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState) = 0;
1377
1387 virtual void onVideoSubscribeStateChanged(const char* channel, user_id_t userId, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState) = 0;
1388
1397 virtual void onAudioPublishStateChanged(const char* channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) = 0;
1398
1407 virtual void onVideoPublishStateChanged(const char* channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState) = 0;
1408
1419 virtual void onRemoteSubscribeFallbackToAudioOnly(user_id_t userId, bool isFallbackOrRecover) {
1420 (void)userId;
1421 (void)isFallbackOrRecover;
1422 }
1423
1429 virtual void onFirstRemoteAudioFrame(user_id_t userId, int elapsed) = 0;
1430
1437 virtual void onFirstRemoteAudioDecoded(user_id_t userId, int elapsed) = 0;
1438
1448 virtual void onFirstRemoteVideoFrame(user_id_t userId, int width, int height, int elapsed) = 0;
1449
1458 virtual void onFirstRemoteVideoDecoded(user_id_t userId, int width, int height, int elapsed) = 0;
1459
1468 virtual void onVideoSizeChanged(user_id_t userId, int width, int height, int rotation) = 0;
1469
1473 enum USER_MEDIA_INFO {
1477 USER_MEDIA_INFO_MUTE_AUDIO = 0,
1481 USER_MEDIA_INFO_MUTE_VIDEO = 1,
1485 USER_MEDIA_INFO_ENABLE_VIDEO = 4,
1489 USER_MEDIA_INFO_ENABLE_LOCAL_VIDEO = 8,
1490 };
1491
1500 virtual void onUserInfoUpdated(user_id_t userId, USER_MEDIA_INFO msg, bool val) {
1501 (void)userId;
1502 (void)msg;
1503 (void)val;
1504 }
1505
1512 virtual void onIntraRequestReceived() {}
1513
1517 virtual void onStreamMessage(user_id_t userId, int streamId, const char* data, size_t length) {}
1518
1524 virtual void onUserStateChanged(user_id_t userId, uint32_t state){}
1525
1526 virtual void onVideoRenderingTracingResult(user_id_t user_id, MEDIA_TRACE_EVENT currentState, VideoRenderingTracingInfo tracingInfo) {}
1527 };
1528
1529 class IVideoFrameObserver2 {
1530 public:
1540 virtual void onFrame(const char* channelId, user_id_t remoteUid, const media::base::VideoFrame* frame) = 0;
1541
1542 virtual ~IVideoFrameObserver2() {}
1543 };
1544
1545 } // namespace rtc
1546 } // namespace agora
agora::rtc::ILocalUserObserver::onRemoteSubscribeFallbackToAudioOnly
virtual void onRemoteSubscribeFallbackToAudioOnly(user_id_t userId, bool isFallbackOrRecover)
Definition: NGIAgoraLocalUser.h:1419
agora::media::base::VideoFrame
Definition: AgoraMediaBase.h:827
agora::rtc::IMediaControlPacketReceiver
Definition: NGIAgoraMediaNode.h:603
agora::rtc::ILocalUser::NS_DELAY
NS_DELAY
Definition: NGIAgoraLocalUser.h:259
agora::rtc::ILocalUser::LocalAudioDetailedStats
Definition: NGIAgoraLocalUser.h:176
agora::rtc::ILocalUserObserver::onUserAudioTrackStateChanged
virtual void onUserAudioTrackStateChanged(user_id_t userId, agora_refptr< rtc::IRemoteAudioTrack > audioTrack, REMOTE_AUDIO_STATE state, REMOTE_AUDIO_STATE_REASON reason, int elapsed)=0
agora::rtc::ILocalUser::setAudioScenario
virtual int setAudioScenario(AUDIO_SCENARIO_TYPE scenario)=0
agora::ERROR_CODE_TYPE
ERROR_CODE_TYPE
Definition: AgoraBase.h:441
agora::rtc::REMOTE_AUDIO_STATE
REMOTE_AUDIO_STATE
Definition: AgoraBase.h:2863
agora::rtc::ILocalUser::disableAudioSpectrumMonitor
virtual int disableAudioSpectrumMonitor()=0
agora::rtc::ILocalUser::AudioProcessingStats::delay_standard_deviation_ms
agora::Optional< int32_t > delay_standard_deviation_ms
Definition: NGIAgoraLocalUser.h:155
agora::media::IAudioFrameObserverBase
Definition: AgoraMediaBase.h:1011
agora::rtc::ILocalUserObserver::onRemoteAudioTrackStatistics
virtual void onRemoteAudioTrackStatistics(agora_refptr< rtc::IRemoteAudioTrack > audioTrack, const RemoteAudioTrackStats &stats)=0
agora::rtc::ILocalUser::ANAStats::frame_length_decrease_counter
agora::Optional< uint32_t > frame_length_decrease_counter
Definition: NGIAgoraLocalUser.h:99
agora::rtc::ILocalUser::ANAStats::fec_action_counter
agora::Optional< uint32_t > fec_action_counter
Definition: NGIAgoraLocalUser.h:85
AgoraBase.h
agora::rtc::ILocalUser::setRemoteVoicePosition
virtual int setRemoteVoicePosition(user_id_t userId, double pan, double gain)=0
agora::rtc::uid_t
unsigned int uid_t
Definition: AgoraMediaBase.h:29
agora::agora_refptr
Definition: AgoraRefPtr.h:44
agora::rtc::ILocalUserObserver::onVideoRenderingTracingResult
virtual void onVideoRenderingTracingResult(user_id_t user_id, MEDIA_TRACE_EVENT currentState, VideoRenderingTracingInfo tracingInfo)
Definition: NGIAgoraLocalUser.h:1526
agora::rtc::ILocalUserObserver::USER_MEDIA_INFO_ENABLE_LOCAL_VIDEO
@ USER_MEDIA_INFO_ENABLE_LOCAL_VIDEO
Definition: NGIAgoraLocalUser.h:1489
agora::media::IAudioSpectrumObserver
Definition: AgoraMediaBase.h:1320
agora::rtc::VIDEO_APPLICATION_SCENARIO_TYPE
VIDEO_APPLICATION_SCENARIO_TYPE
Definition: AgoraBase.h:2592
agora::rtc::ILocalUser::publishDataChannel
virtual int publishDataChannel(agora_refptr< ILocalDataChannel > channel)=0
agora::rtc::ILocalUser::setRemoteAudioTrackFilterProperty
virtual int setRemoteAudioTrackFilterProperty(user_id_t userId, const char *id, const char *key, const char *jsonValue)=0
agora::rtc::ILocalUser::setMixedAudioFrameParameters
virtual int setMixedAudioFrameParameters(size_t numberOfChannels, uint32_t sampleRateHz, int samplesPerCall=0)=0
agora::rtc::ILocalUserObserver::onVideoSubscribeStateChanged
virtual void onVideoSubscribeStateChanged(const char *channel, user_id_t userId, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState)=0
agora::rtc::ILocalUserObserver::onAudioTrackPublicationFailure
virtual void onAudioTrackPublicationFailure(agora_refptr< ILocalAudioTrack > audioTrack, ERROR_CODE_TYPE error)=0
agora::rtc::ILocalUserObserver::USER_MEDIA_INFO
USER_MEDIA_INFO
Definition: NGIAgoraLocalUser.h:1473
agora::rtc::ILocalUser::AudioProcessingStats::echo_return_loss
agora::Optional< double > echo_return_loss
Definition: NGIAgoraLocalUser.h:120
agora::rtc::ILocalUser::LocalAudioDetailedStats::local_ssrc
uint32_t local_ssrc
Definition: NGIAgoraLocalUser.h:180
agora::rtc::ILocalUser::LocalAudioDetailedStats::fraction_lost
float fraction_lost
Definition: NGIAgoraLocalUser.h:196
agora::rtc::ILocalUserObserver::onUserAudioTrackSubscribed
virtual void onUserAudioTrackSubscribed(user_id_t userId, agora_refptr< rtc::IRemoteAudioTrack > audioTrack)=0
agora::rtc::ILocalUserObserver::onRemoteVideoTrackStatistics
virtual void onRemoteVideoTrackStatistics(agora_refptr< rtc::IRemoteVideoTrack > videoTrack, const RemoteVideoTrackStats &stats)=0
agora::rtc::ILocalUser::setAudienceLatencyLevel
virtual void setAudienceLatencyLevel(AUDIENCE_LATENCY_LEVEL_TYPE level)=0
agora::rtc::ILocalUser::AudioProcessingStats::residual_echo_likelihood
agora::Optional< double > residual_echo_likelihood
Definition: NGIAgoraLocalUser.h:160
agora::rtc::ILocalUser::subscribeVideo
virtual int subscribeVideo(user_id_t userId, const VideoSubscriptionOptions &subscriptionOptions)=0
agora::rtc::ILocalUser::setVideoScenario
virtual int setVideoScenario(VIDEO_APPLICATION_SCENARIO_TYPE scenarioType)=0
agora::rtc::ILocalUser::LocalAudioDetailedStats::bytes_sent
int64_t bytes_sent
Definition: NGIAgoraLocalUser.h:184
agora::rtc::ILocalUser::subscribeAllVideo
virtual int subscribeAllVideo(const VideoSubscriptionOptions &subscriptionOptions)=0
agora::rtc::ILocalUserObserver::onVideoSizeChanged
virtual void onVideoSizeChanged(user_id_t userId, int width, int height, int rotation)=0
agora::rtc::ILocalUserObserver
Definition: NGIAgoraLocalUser.h:1166
agora::rtc::ILocalUser::unregisterAudioSpectrumObserver
virtual int unregisterAudioSpectrumObserver(agora::media::IAudioSpectrumObserver *observer)=0
agora::rtc::ILocalUser::enableAudioSpectrumMonitor
virtual int enableAudioSpectrumMonitor(int intervalInMS=100)=0
agora::rtc::ILocalUser::ANAStats::uplink_packet_loss_fraction
agora::Optional< float > uplink_packet_loss_fraction
Definition: NGIAgoraLocalUser.h:105
agora::rtc::ILocalUserObserver::USER_MEDIA_INFO_ENABLE_VIDEO
@ USER_MEDIA_INFO_ENABLE_VIDEO
Definition: NGIAgoraLocalUser.h:1485
agora::rtc::ILocalUser::unregisterAudioFrameObserver
virtual int unregisterAudioFrameObserver(agora::media::IAudioFrameObserverBase *observer)=0
agora::rtc::ILocalUser::ANAStats::channel_action_counter
agora::Optional< uint32_t > channel_action_counter
Definition: NGIAgoraLocalUser.h:73
agora::rtc::VideoSubscriptionOptions
Definition: AgoraBase.h:1544
agora::rtc::ILocalUser::NsNG
@ NsNG
Definition: NGIAgoraLocalUser.h:253
agora::rtc::ILocalUser::setRecordingAudioFrameParameters
virtual int setRecordingAudioFrameParameters(size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode=RAW_AUDIO_FRAME_OP_MODE_READ_ONLY, int samplesPerCall=0)=0
agora::rtc::RemoteAudioTrackStats
Definition: NGIAgoraAudioTrack.h:425
agora::rtc::AudioVolumeInformation
Definition: NGIAgoraLocalUser.h:1139
agora::rtc::ILocalUser::ANAStats
Definition: NGIAgoraLocalUser.h:61
agora::rtc::ILocalUser::adjustUserPlaybackSignalVolume
virtual int adjustUserPlaybackSignalVolume(user_id_t userId, int volume)=0
agora::rtc::ILocalUser::registerMediaControlPacketReceiver
virtual int registerMediaControlPacketReceiver(IMediaControlPacketReceiver *ctrlPacketReceiver)=0
agora::rtc::IVideoFrameObserver2
Definition: NGIAgoraLocalUser.h:1529
agora::rtc::ILocalUser::AudioProcessingStats::residual_echo_likelihood_recent_max
agora::Optional< double > residual_echo_likelihood_recent_max
Definition: NGIAgoraLocalUser.h:164
agora::rtc::ILocalUser::ElderNsStatistical
@ ElderNsStatistical
Definition: NGIAgoraLocalUser.h:251
agora::rtc::ILocalUser::publishVideo
virtual int publishVideo(agora_refptr< ILocalVideoTrack > videoTrack)=0
agora::rtc::CLIENT_ROLE_TYPE
CLIENT_ROLE_TYPE
Definition: AgoraBase.h:2298
agora::rtc::ILocalUser::setUserRole
virtual void setUserRole(rtc::CLIENT_ROLE_TYPE role)=0
agora
Definition: AgoraAtomicOps.h:21
agora::rtc::ILocalUser::registerVideoEncodedFrameObserver
virtual int registerVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUser::setRemoteSubscribeFallbackOption
virtual int setRemoteSubscribeFallbackOption(int option)=0
agora::rtc::ILocalUser::ANAStats::dtx_action_counter
agora::Optional< uint32_t > dtx_action_counter
Definition: NGIAgoraLocalUser.h:79
agora::rtc::ILocalUserObserver::onAudioVolumeIndication
virtual void onAudioVolumeIndication(const AudioVolumeInformation *speakers, unsigned int speakerNumber, int totalVolume)=0
agora::rtc::ILocalUser::LowDelay
@ LowDelay
Definition: NGIAgoraLocalUser.h:262
agora::rtc::ILocalUser::getRemoteAudioTrackFilterProperty
virtual int getRemoteAudioTrackFilterProperty(user_id_t userId, const char *id, const char *key, char *jsonValue, size_t bufSize)=0
agora::rtc::ILocalUser::enableRemoteAudioTrackFilter
virtual int enableRemoteAudioTrackFilter(user_id_t userId, const char *id, bool enable)=0
agora::rtc::ILocalUser::LocalAudioDetailedStats::total_input_duration
double total_input_duration
Definition: NGIAgoraLocalUser.h:228
agora::rtc::ILocalUser::LocalAudioDetailedStats::codec_payload_type
agora::Optional< int > codec_payload_type
Definition: NGIAgoraLocalUser.h:204
agora::rtc::REMOTE_VIDEO_STATE
REMOTE_VIDEO_STATE
Definition: AgoraBase.h:2946
agora::rtc::AudioVolumeInformation::AudioVolumeInformation
AudioVolumeInformation()
Definition: NGIAgoraLocalUser.h:1160
agora::rtc::ILocalUser::enableSpatialAudio
virtual int enableSpatialAudio(bool enabled)=0
agora::rtc::ILocalUser::SetAudioNsMode
virtual int SetAudioNsMode(bool NsEnable, NS_MODE NsMode, NS_LEVEL NsLevel, NS_DELAY NsDelay)=0
agora::rtc::LOCAL_VIDEO_STREAM_STATE
LOCAL_VIDEO_STREAM_STATE
Definition: AgoraBase.h:2716
agora::rtc::ILocalUser::registerAudioSpectrumObserver
virtual int registerAudioSpectrumObserver(agora::media::IAudioSpectrumObserver *observer, void(*safeDeleter)(agora::media::IAudioSpectrumObserver *))=0
agora::rtc::ILocalUser::unsubscribeAllAudio
virtual int unsubscribeAllAudio()=0
agora::rtc::ILocalUser::setPlaybackAudioFrameParameters
virtual int setPlaybackAudioFrameParameters(size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode=RAW_AUDIO_FRAME_OP_MODE_READ_ONLY, int samplesPerCall=0)=0
agora::rtc::ILocalUserObserver::onUserStateChanged
virtual void onUserStateChanged(user_id_t userId, uint32_t state)
Definition: NGIAgoraLocalUser.h:1524
agora::rtc::ILocalUser::getAudienceLatencyLevel
virtual AUDIENCE_LATENCY_LEVEL_TYPE getAudienceLatencyLevel()=0
agora::rtc::ILocalUser::LocalAudioDetailedStats::typing_noise_detected
bool typing_noise_detected
Definition: NGIAgoraLocalUser.h:234
agora::rtc::ILocalUser::registerAudioFrameObserver
virtual int registerAudioFrameObserver(agora::media::IAudioFrameObserverBase *observer)=0
agora::rtc::ILocalUserObserver::~ILocalUserObserver
virtual ~ILocalUserObserver()
Definition: NGIAgoraLocalUser.h:1168
agora::rtc::ILocalUser::NS_MODE
NS_MODE
Definition: NGIAgoraLocalUser.h:250
agora::rtc::ILocalUser::setAudioFilterable
virtual int setAudioFilterable(bool filterable)=0
agora::rtc::ILocalUser::setSubscribeAudioAllowlist
virtual int setSubscribeAudioAllowlist(user_id_t *userList, int userNumber)=0
agora::rtc::ILocalUserObserver::onVideoTrackPublishStart
virtual void onVideoTrackPublishStart(agora_refptr< ILocalVideoTrack > videoTrack)=0
agora::rtc::ILocalUser::setHighPriorityUserList
virtual int setHighPriorityUserList(uid_t *vipList, int uidNum, int option)=0
agora::rtc::ILocalUser::unsubscribeVideo
virtual int unsubscribeVideo(user_id_t userId)=0
agora::rtc::ILocalUser::getUserPlaybackSignalVolume
virtual int getUserPlaybackSignalVolume(user_id_t userId, int *volume)=0
agora::rtc::ILocalUser::unsubscribeDataChannel
virtual int unsubscribeDataChannel(user_id_t userId, int channelId)=0
agora::rtc::ILocalUser::LocalAudioDetailedStats::codec_name
char codec_name[media::base::kMaxCodecNameLength]
Definition: NGIAgoraLocalUser.h:200
agora::rtc::ILocalUser::AudioProcessingStats::delay_ms
agora::Optional< int32_t > delay_ms
Definition: NGIAgoraLocalUser.h:170
agora::rtc::AudioVolumeInformation::vad
unsigned int vad
Definition: NGIAgoraLocalUser.h:1153
agora::rtc::ILocalUser::AudioProcessingStats::echo_return_loss_enhancement
agora::Optional< double > echo_return_loss_enhancement
Definition: NGIAgoraLocalUser.h:132
agora::rtc::STREAM_SUBSCRIBE_STATE
STREAM_SUBSCRIBE_STATE
Definition: AgoraBase.h:5692
agora::rtc::ILocalUser::unregisterMediaControlPacketReceiver
virtual int unregisterMediaControlPacketReceiver(IMediaControlPacketReceiver *ctrlPacketReceiver)=0
agora::rtc::ILocalUserObserver::USER_MEDIA_INFO_MUTE_AUDIO
@ USER_MEDIA_INFO_MUTE_AUDIO
Definition: NGIAgoraLocalUser.h:1477
agora::rtc::ILocalUser::Balance
@ Balance
Definition: NGIAgoraLocalUser.h:261
agora::rtc::ILocalUser::getPlaybackSignalVolume
virtual int getPlaybackSignalVolume(int *volume)=0
agora::rtc::ILocalUser::enableSoundPositionIndication
virtual int enableSoundPositionIndication(bool enabled)=0
agora::rtc::ILocalUserObserver::onVideoTrackPublicationFailure
virtual void onVideoTrackPublicationFailure(agora_refptr< ILocalVideoTrack > videoTrack, ERROR_CODE_TYPE error)=0
agora::rtc::ILocalUserObserver::onAudioTrackPublishStart
virtual void onAudioTrackPublishStart(agora_refptr< ILocalAudioTrack > audioTrack)=0
agora::rtc::AudioVolumeInformation::voicePitch
double voicePitch
Definition: NGIAgoraLocalUser.h:1158
agora::rtc::ILocalUser::AudioProcessingStats
Definition: NGIAgoraLocalUser.h:111
agora::rtc::ILocalUser::adjustPlaybackSignalVolume
virtual int adjustPlaybackSignalVolume(int volume)=0
agora::rtc::ILocalUser::getHighPriorityUserList
virtual int getHighPriorityUserList(std::vector< uid_t > &vipList, int &option)=0
agora::rtc::ILocalUser::unregisterLocalVideoEncodedFrameObserver
virtual int unregisterLocalVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUser
Definition: NGIAgoraLocalUser.h:56
agora::rtc::ILocalUser::LocalAudioDetailedStats::ext_seqnum
int32_t ext_seqnum
Definition: NGIAgoraLocalUser.h:208
agora::rtc::MEDIA_TRACE_EVENT
MEDIA_TRACE_EVENT
Definition: AgoraBase.h:5944
agora::rtc::ILocalUserObserver::onVideoTrackPublishSuccess
virtual void onVideoTrackPublishSuccess(agora_refptr< ILocalVideoTrack > videoTrack)=0
agora::rtc::RAW_AUDIO_FRAME_OP_MODE_READ_ONLY
@ RAW_AUDIO_FRAME_OP_MODE_READ_ONLY
Definition: AgoraMediaBase.h:191
agora::rtc::ILocalUser::registerLocalUserObserver
virtual int registerLocalUserObserver(ILocalUserObserver *observer, void(*safeDeleter)(ILocalUserObserver *)=NULL)=0
agora::rtc::ILocalUserObserver::onIntraRequestReceived
virtual void onIntraRequestReceived()
Definition: NGIAgoraLocalUser.h:1512
agora::rtc::ILocalUser::registerMixSource
virtual int registerMixSource(agora_refptr< IAudioMixerSource > mixSource, int mixPolicy)=0
agora::rtc::ILocalUser::registerDataChannelObserver
virtual int registerDataChannelObserver(IDataChannelObserver *observer)=0
agora::rtc::ILocalUserObserver::onAudioSubscribeStateChanged
virtual void onAudioSubscribeStateChanged(const char *channel, user_id_t userId, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState)=0
agora::rtc::ILocalUser::NsNGStatistical
@ NsNGStatistical
Definition: NGIAgoraLocalUser.h:252
agora::rtc::ILocalUser::LocalAudioDetailedStats::packets_sent
int32_t packets_sent
Definition: NGIAgoraLocalUser.h:188
agora::rtc::ILocalUser::unsubscribeAudio
virtual int unsubscribeAudio(user_id_t userId)=0
agora::rtc::ILocalUser::setEarMonitoringAudioFrameParameters
virtual int setEarMonitoringAudioFrameParameters(bool enabled, size_t numberOfChannels, uint32_t sampleRateHz, RAW_AUDIO_FRAME_OP_MODE_TYPE mode=RAW_AUDIO_FRAME_OP_MODE_READ_ONLY, int samplesPerCall=0)=0
agora::rtc::ILocalUser::ANAStats::bitrate_action_counter
agora::Optional< uint32_t > bitrate_action_counter
Definition: NGIAgoraLocalUser.h:67
agora::rtc::ILocalUser::subscribeAllAudio
virtual int subscribeAllAudio()=0
agora::rtc::ILocalUser::setSubscribeVideoAllowlist
virtual int setSubscribeVideoAllowlist(user_id_t *userList, int userNumber)=0
agora::rtc::AUDIO_SCENARIO_TYPE
AUDIO_SCENARIO_TYPE
Definition: AgoraBase.h:2461
agora::rtc::ILocalUserObserver::onAudioTrackPublishSuccess
virtual void onAudioTrackPublishSuccess(agora_refptr< ILocalAudioTrack > audioTrack)=0
agora::rtc::REMOTE_AUDIO_STATE_REASON
REMOTE_AUDIO_STATE_REASON
Definition: AgoraBase.h:2896
agora::rtc::RAW_AUDIO_FRAME_OP_MODE_TYPE
RAW_AUDIO_FRAME_OP_MODE_TYPE
Definition: AgoraMediaBase.h:187
agora::rtc::ILocalUser::Soft
@ Soft
Definition: NGIAgoraLocalUser.h:256
AgoraOptional.h
agora::rtc::ILocalUserObserver::onVideoTrackUnpublished
virtual void onVideoTrackUnpublished(agora_refptr< ILocalVideoTrack > videoTrack)=0
agora::rtc::ILocalUser::LocalAudioDetailedStats::rtt_ms
int64_t rtt_ms
Definition: NGIAgoraLocalUser.h:216
agora::rtc::ILocalUserObserver::onLocalVideoTrackStatistics
virtual void onLocalVideoTrackStatistics(agora_refptr< rtc::ILocalVideoTrack > videoTrack, const LocalVideoTrackStats &stats)=0
agora::rtc::ILocalUserObserver::onAudioPublishStateChanged
virtual void onAudioPublishStateChanged(const char *channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState)=0
agora::rtc::ILocalUserObserver::onUserVideoTrackSubscribed
virtual void onUserVideoTrackSubscribed(user_id_t userId, VideoTrackInfo trackInfo, agora_refptr< rtc::IRemoteVideoTrack > videoTrack)=0
agora::rtc::ILocalUserObserver::onFirstRemoteVideoFrameRendered
virtual void onFirstRemoteVideoFrameRendered(user_id_t userId, int width, int height, int elapsed)=0
agora::rtc::ILocalUser::LocalAudioDetailedStats::total_input_energy
double total_input_energy
Definition: NGIAgoraLocalUser.h:224
agora::rtc::ILocalUserObserver::onUserVideoTrackStateChanged
virtual void onUserVideoTrackStateChanged(user_id_t userId, agora_refptr< rtc::IRemoteVideoTrack > videoTrack, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed)=0
agora::rtc::ILocalUser::AudioProcessingStats::delay_median_ms
agora::Optional< int32_t > delay_median_ms
Definition: NGIAgoraLocalUser.h:151
agora::rtc::ILocalUserObserver::onFirstRemoteVideoFrame
virtual void onFirstRemoteVideoFrame(user_id_t userId, int width, int height, int elapsed)=0
agora::rtc::ILocalUser::NS_LEVEL
NS_LEVEL
Definition: NGIAgoraLocalUser.h:255
agora::rtc::STREAM_PUBLISH_STATE
STREAM_PUBLISH_STATE
Definition: AgoraBase.h:5723
agora::rtc::LocalAudioStats
Definition: AgoraBase.h:3314
agora::media::base::kMaxCodecNameLength
static const uint8_t kMaxCodecNameLength
Definition: AgoraMediaBase.h:412
agora::rtc::RemoteVideoTrackStats
Definition: NGIAgoraVideoTrack.h:359
agora::rtc::ILocalUser::sendIntraRequest
virtual int sendIntraRequest(user_id_t userId)=0
agora::rtc::ILocalUser::subscribeDataChannel
virtual int subscribeDataChannel(user_id_t userId, int channelId)=0
agora::rtc::ILocalUserObserver::onFirstRemoteAudioFrame
virtual void onFirstRemoteAudioFrame(user_id_t userId, int elapsed)=0
agora::rtc::ILocalUserObserver::onFirstRemoteAudioDecoded
virtual void onFirstRemoteAudioDecoded(user_id_t userId, int elapsed)=0
agora::rtc::IVideoFrameObserver2::onFrame
virtual void onFrame(const char *channelId, user_id_t remoteUid, const media::base::VideoFrame *frame)=0
agora::rtc::ILocalUser::registerVideoFrameObserver
virtual int registerVideoFrameObserver(IVideoFrameObserver2 *observer)=0
agora::rtc::ILocalUser::unpublishDataChannel
virtual int unpublishDataChannel(agora_refptr< ILocalDataChannel > channel)=0
agora::rtc::ILocalUser::ANAStats::frame_length_increase_counter
agora::Optional< uint32_t > frame_length_increase_counter
Definition: NGIAgoraLocalUser.h:92
agora::rtc::ILocalUser::Aggressive
@ Aggressive
Definition: NGIAgoraLocalUser.h:257
agora::rtc::IVideoFrameObserver2::~IVideoFrameObserver2
virtual ~IVideoFrameObserver2()
Definition: NGIAgoraLocalUser.h:1542
agora::rtc::ILocalUser::setAudioVolumeIndicationParameters
virtual int setAudioVolumeIndicationParameters(int intervalInMS, int smooth, bool reportVad)=0
agora::rtc::LOCAL_VIDEO_STREAM_ERROR
LOCAL_VIDEO_STREAM_ERROR
Definition: AgoraBase.h:2739
agora::rtc::ILocalUser::unpublishVideo
virtual int unpublishVideo(agora_refptr< ILocalVideoTrack > videoTrack)=0
agora::rtc::ILocalUser::AudioProcessingStats::divergent_filter_fraction
agora::Optional< double > divergent_filter_fraction
Definition: NGIAgoraLocalUser.h:137
agora::rtc::REMOTE_VIDEO_STATE_REASON
REMOTE_VIDEO_STATE_REASON
Definition: AgoraBase.h:2975
agora::rtc::ILocalUser::unregisterDataChannelObserver
virtual int unregisterDataChannelObserver(IDataChannelObserver *observer)=0
agora::rtc::ILocalUserObserver::onUserInfoUpdated
virtual void onUserInfoUpdated(user_id_t userId, USER_MEDIA_INFO msg, bool val)
Definition: NGIAgoraLocalUser.h:1500
agora::rtc::AUDIENCE_LATENCY_LEVEL_TYPE
AUDIENCE_LATENCY_LEVEL_TYPE
Definition: AgoraBase.h:2332
agora::rtc::ILocalUser::setVideoSubscriptionOptions
virtual int setVideoSubscriptionOptions(user_id_t userId, const VideoSubscriptionOptions &options)=0
agora::rtc::ILocalUserObserver::onLocalAudioTrackStatistics
virtual void onLocalAudioTrackStatistics(const LocalAudioStats &stats)=0
agora::rtc::ILocalUser::LocalAudioDetailedStats::apm_statistics
AudioProcessingStats apm_statistics
Definition: NGIAgoraLocalUser.h:241
agora::rtc::ILocalUser::unregisterVideoFrameObserver
virtual int unregisterVideoFrameObserver(IVideoFrameObserver2 *observer)=0
agora::rtc::ILocalUser::LocalAudioDetailedStats::ana_statistics
ANAStats ana_statistics
Definition: NGIAgoraLocalUser.h:240
agora::media::IVideoEncodedFrameObserver
Definition: AgoraMediaBase.h:1361
agora::rtc::ILocalUser::unsubscribeAllVideo
virtual int unsubscribeAllVideo()=0
agora::rtc::AudioEncoderConfiguration
Definition: IAgoraService.h:56
agora::rtc::AudioVolumeInformation::userId
user_id_t userId
Definition: NGIAgoraLocalUser.h:1143
agora::rtc::ILocalUserObserver::onLocalVideoTrackStateChanged
virtual void onLocalVideoTrackStateChanged(agora_refptr< rtc::ILocalVideoTrack > videoTrack, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_ERROR errorCode)=0
agora::rtc::ILocalUser::LocalAudioDetailedStats::packets_lost
int32_t packets_lost
Definition: NGIAgoraLocalUser.h:192
agora::rtc::ILocalUserObserver::onFirstRemoteVideoDecoded
virtual void onFirstRemoteVideoDecoded(user_id_t userId, int width, int height, int elapsed)=0
agora::rtc::ILocalUserObserver::onAudioTrackUnpublished
virtual void onAudioTrackUnpublished(agora_refptr< ILocalAudioTrack > audioTrack)=0
agora::rtc::ILocalUserObserver::onActiveSpeaker
virtual void onActiveSpeaker(user_id_t userId)=0
agora::rtc::AudioVolumeInformation::volume
unsigned int volume
Definition: NGIAgoraLocalUser.h:1148
agora::rtc::ILocalUserObserver::onVideoPublishStateChanged
virtual void onVideoPublishStateChanged(const char *channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState)=0
agora::rtc::ILocalUser::setPlaybackAudioFrameBeforeMixingParameters
virtual int setPlaybackAudioFrameBeforeMixingParameters(size_t numberOfChannels, uint32_t sampleRateHz)=0
agora::rtc::IMediaControlPacketSender
Definition: NGIAgoraMediaNode.h:650
agora::rtc::ILocalUser::getLocalAudioStatistics
virtual bool getLocalAudioStatistics(LocalAudioDetailedStats &stats)=0
agora::rtc::VideoTrackInfo
Definition: AgoraBase.h:3059
agora::rtc::ILocalUser::LocalAudioDetailedStats::LocalAudioDetailedStats
LocalAudioDetailedStats()
Definition: NGIAgoraLocalUser.h:243
agora::rtc::ILocalUser::~ILocalUser
virtual ~ILocalUser()
Definition: NGIAgoraLocalUser.h:266
agora::rtc::ILocalUserObserver::USER_MEDIA_INFO_MUTE_VIDEO
@ USER_MEDIA_INFO_MUTE_VIDEO
Definition: NGIAgoraLocalUser.h:1481
agora::rtc::ILocalUser::getUserRole
virtual CLIENT_ROLE_TYPE getUserRole()=0
agora::rtc::ILocalUser::subscribeAudio
virtual int subscribeAudio(user_id_t userId)=0
agora::rtc::ILocalUser::HighQuality
@ HighQuality
Definition: NGIAgoraLocalUser.h:260
agora::rtc::ILocalUser::registerLocalVideoEncodedFrameObserver
virtual int registerLocalVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUser::publishAudio
virtual int publishAudio(agora_refptr< ILocalAudioTrack > audioTrack)=0
agora::rtc::ILocalUser::getMediaControlPacketSender
virtual IMediaControlPacketSender * getMediaControlPacketSender()=0
agora::rtc::ILocalUser::unregisterLocalUserObserver
virtual int unregisterLocalUserObserver(ILocalUserObserver *observer)=0
agora::rtc::ILocalUser::setAudioEncoderConfiguration
virtual int setAudioEncoderConfiguration(const rtc::AudioEncoderConfiguration &config)=0
agora::rtc::ILocalUser::LocalAudioDetailedStats::jitter_ms
int32_t jitter_ms
Definition: NGIAgoraLocalUser.h:212
agora::user_id_t
const char * user_id_t
Definition: AgoraBase.h:800
agora::rtc::VideoRenderingTracingInfo
Definition: AgoraBase.h:5958
agora::IDataChannelObserver
Definition: NGIAgoraDataChannel.h:121
agora::rtc::ILocalUser::unregisterVideoEncodedFrameObserver
virtual int unregisterVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer)=0
agora::rtc::ILocalUser::LocalAudioDetailedStats::audio_level
int32_t audio_level
Definition: NGIAgoraLocalUser.h:220
agora::rtc::ILocalUser::forceNextIntraFrame
virtual int forceNextIntraFrame()=0
agora::rtc::ILocalUser::unpublishAudio
virtual int unpublishAudio(agora_refptr< ILocalAudioTrack > audioTrack)=0
agora::Optional< uint32_t >
agora::rtc::ILocalUserObserver::onStreamMessage
virtual void onStreamMessage(user_id_t userId, int streamId, const char *data, size_t length)
Definition: NGIAgoraLocalUser.h:1517
agora::rtc::LocalVideoTrackStats
Definition: NGIAgoraVideoTrack.h:154