17class IAudioFrameObserver;
21class IAudioEngineWrapper;
23class ILocalUserObserver;
24class ILocalVideoTrack;
25class IRemoteVideoTrack;
26class IVideoFrameObserver2;
28struct AudioEncoderConfiguration;
29struct VideoEncoderConfiguration;
31class ILocalAudioTrack;
32struct RemoteAudioTrackStats;
33class IRemoteAudioTrack;
34struct LocalVideoTrackStats;
35struct RemoteVideoTrackStats;
104 struct AudioProcessingStats {
195 virtual void setAudienceLatencyLevel(AUDIENCE_LATENCY_LEVEL_TYPE level) = 0;
197 virtual AUDIENCE_LATENCY_LEVEL_TYPE getAudienceLatencyLevel() = 0;
222 virtual int publishAudio(agora_refptr<ILocalAudioTrack> audioTrack) = 0;
242 virtual int publishVideo(agora_refptr<ILocalVideoTrack> videoTrack) = 0;
316 uint32_t sampleRateHz,
318 int samplesPerCall = 0) = 0;
336 uint32_t sampleRateHz,
338 int samplesPerCall = 0) = 0;
354 uint32_t sampleRateHz,
355 int samplesPerCall = 0) = 0;
372 uint32_t sampleRateHz) = 0;
582 virtual void onAudioTrackPublicationFailure(agora_refptr<ILocalAudioTrack> audioTrack,
583 ERROR_CODE_TYPE error) = 0;
618 agora_refptr<rtc::IRemoteAudioTrack> audioTrack) = 0;
630 agora_refptr<rtc::IRemoteAudioTrack> audioTrack,
649 virtual void onVideoTrackPublicationFailure(agora_refptr<ILocalVideoTrack> videoTrack,
650 ERROR_CODE_TYPE error) = 0;
687 agora_refptr<rtc::IRemoteVideoTrack> videoTrack) = 0;
699 agora_refptr<rtc::IRemoteVideoTrack> videoTrack,
713 int height,
int elapsed) = 0;
755 int totalVolume) = 0;
769 virtual void onActiveSpeaker(
user_id_t userId) = 0;
837 virtual void onFirstRemoteVideoFrame(
user_id_t userId,
int width,
int height,
int elapsed) = 0;
869 USER_MEDIA_INFO_ENABLE_LOCAL_VIDEO = 8,
Definition: AgoraOptional.h:413
Definition: NGIAgoraLocalUser.h:48
virtual int subscribeAllAudio()=0
virtual int registerAudioFrameObserver(agora::media::IAudioFrameObserverBase *observer)=0
virtual int setAudioEncoderConfiguration(const rtc::AudioEncoderConfiguration &config)=0
virtual int unpublishAudio(agora_refptr< ILocalAudioTrack > audioTrack)=0
virtual void setUserRole(rtc::CLIENT_ROLE_TYPE role)=0
virtual int registerVideoFrameObserver(IVideoFrameObserver2 *observer)=0
virtual int unsubscribeAudio(user_id_t userId)=0
virtual int unsubscribeAllVideo()=0
virtual int subscribeVideo(user_id_t userId, const rtc::VideoSubscriptionOptions &subscriptionOptions)=0
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
virtual int publishAudio(agora_refptr< ILocalAudioTrack > audioTrack)=0
virtual int unpublishVideo(agora_refptr< ILocalVideoTrack > videoTrack)=0
virtual int publishVideo(agora_refptr< ILocalVideoTrack > videoTrack)=0
virtual int unsubscribeAllAudio()=0
virtual CLIENT_ROLE_TYPE getUserRole()=0
virtual int registerLocalUserObserver(ILocalUserObserver *observer, void(*safeDeleter)(ILocalUserObserver *)=NULL)=0
virtual int unregisterLocalUserObserver(ILocalUserObserver *observer)=0
virtual ~ILocalUser()
Definition: NGIAgoraLocalUser.h:167
virtual int unregisterAudioFrameObserver(agora::media::IAudioFrameObserverBase *observer)=0
virtual int subscribeAllVideo(const rtc::VideoSubscriptionOptions &subscriptionOptions)=0
virtual int unregisterVideoFrameObserver(IVideoFrameObserver2 *observer)=0
virtual int setPlaybackAudioFrameBeforeMixingParameters(size_t numberOfChannels, uint32_t sampleRateHz)=0
virtual int unregisterVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer)=0
virtual int subscribeAudio(user_id_t userId)=0
virtual int unsubscribeVideo(user_id_t userId)=0
virtual int registerVideoEncodedFrameObserver(agora::media::IVideoEncodedFrameObserver *observer)=0
virtual int sendIntraRequest(user_id_t userId)=0
virtual int setMixedAudioFrameParameters(size_t numberOfChannels, uint32_t sampleRateHz, int samplesPerCall=0)=0
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
Definition: NGIAgoraLocalUser.h:563
virtual void onVideoPublishStateChanged(const char *channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState)=0
virtual ~ILocalUserObserver()
Definition: NGIAgoraLocalUser.h:565
virtual void onAudioSubscribeStateChanged(const char *channel, user_id_t userId, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState)=0
virtual void onStreamMessage(user_id_t userId, int streamId, const char *data, size_t length)
Definition: NGIAgoraLocalUser.h:907
virtual void onLocalVideoTrackStatistics(agora_refptr< rtc::ILocalVideoTrack > videoTrack, const LocalVideoTrackStats &stats)=0
virtual void onAudioTrackPublishSuccess(agora_refptr< ILocalAudioTrack > audioTrack)=0
virtual void onAudioPublishStateChanged(const char *channel, STREAM_PUBLISH_STATE oldState, STREAM_PUBLISH_STATE newState, int elapseSinceLastState)=0
virtual void onVideoSubscribeStateChanged(const char *channel, user_id_t userId, STREAM_SUBSCRIBE_STATE oldState, STREAM_SUBSCRIBE_STATE newState, int elapseSinceLastState)=0
virtual void onUserInfoUpdated(user_id_t userId, USER_MEDIA_INFO msg, bool val)
Definition: NGIAgoraLocalUser.h:881
virtual void onLocalAudioTrackStatistics(const LocalAudioStats &stats)=0
virtual void onUserVideoTrackSubscribed(user_id_t userId, VideoTrackInfo trackInfo, agora_refptr< rtc::IRemoteVideoTrack > videoTrack)=0
virtual void onUserVideoTrackStateChanged(user_id_t userId, agora_refptr< rtc::IRemoteVideoTrack > videoTrack, REMOTE_VIDEO_STATE state, REMOTE_VIDEO_STATE_REASON reason, int elapsed)=0
virtual void onFirstRemoteAudioDecoded(user_id_t userId, int elapsed)=0
virtual void onVideoTrackPublishSuccess(agora_refptr< ILocalVideoTrack > videoTrack)=0
virtual void onRemoteAudioTrackStatistics(agora_refptr< rtc::IRemoteAudioTrack > audioTrack, const RemoteAudioTrackStats &stats)=0
virtual void onFirstRemoteVideoFrameRendered(user_id_t userId, int width, int height, int elapsed)=0
virtual void onUserAudioTrackSubscribed(user_id_t userId, agora_refptr< rtc::IRemoteAudioTrack > audioTrack)=0
virtual void onUserStateChanged(user_id_t userId, uint32_t state)
Definition: NGIAgoraLocalUser.h:936
virtual void onFirstRemoteAudioFrame(user_id_t userId, int elapsed)=0
virtual void onIntraRequestReceived()
Definition: NGIAgoraLocalUser.h:893
virtual void onFirstRemoteVideoDecoded(user_id_t userId, int width, int height, int elapsed)=0
REMOTE_USER_STATE
Definition: NGIAgoraLocalUser.h:911
@ PEER_STATE_ENABLE_VIDEO
Definition: NGIAgoraLocalUser.h:923
@ PEER_STATE_MUTE_AUDIO
Definition: NGIAgoraLocalUser.h:915
@ PEER_STATE_ENABLE_LOCAL_VIDEO
Definition: NGIAgoraLocalUser.h:927
@ PEER_STATE_MUTE_VIDEO
Definition: NGIAgoraLocalUser.h:919
virtual void onRemoteVideoTrackStatistics(agora_refptr< rtc::IRemoteVideoTrack > videoTrack, const RemoteVideoTrackStats &stats)=0
virtual void onLocalAudioTrackStateChanged(agora_refptr< rtc::ILocalAudioTrack > audioTrack, LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR errorCode)=0
virtual void onLocalVideoTrackStateChanged(agora_refptr< rtc::ILocalVideoTrack > videoTrack, LOCAL_VIDEO_STREAM_STATE state, LOCAL_VIDEO_STREAM_ERROR errorCode)=0
virtual void onUserAudioTrackStateChanged(user_id_t userId, agora_refptr< rtc::IRemoteAudioTrack > audioTrack, REMOTE_AUDIO_STATE state, REMOTE_AUDIO_STATE_REASON reason, int elapsed)=0
USER_MEDIA_INFO
Definition: NGIAgoraLocalUser.h:852
@ USER_MEDIA_INFO_MUTE_VIDEO
Definition: NGIAgoraLocalUser.h:860
@ USER_MEDIA_INFO_ENABLE_VIDEO
Definition: NGIAgoraLocalUser.h:864
@ USER_MEDIA_INFO_MUTE_AUDIO
Definition: NGIAgoraLocalUser.h:856
Definition: NGIAgoraLocalUser.h:939
virtual ~IVideoFrameObserver2()
Definition: NGIAgoraLocalUser.h:952
virtual void onFrame(const char *channelId, user_id_t remoteUid, const media::base::VideoFrame *frame)=0
LOCAL_AUDIO_STREAM_STATE
Definition: AgoraBase.h:2731
LOCAL_AUDIO_STREAM_ERROR
Definition: AgoraBase.h:2754
CLIENT_ROLE_TYPE
Definition: AgoraBase.h:2414
REMOTE_AUDIO_STATE_REASON
Definition: AgoraBase.h:2874
STREAM_PUBLISH_STATE
Definition: AgoraBase.h:4878
LOCAL_VIDEO_STREAM_STATE
Definition: AgoraBase.h:2785
REMOTE_VIDEO_STATE
Definition: AgoraBase.h:2915
REMOTE_AUDIO_STATE
Definition: AgoraBase.h:2839
STREAM_SUBSCRIBE_STATE
Definition: AgoraBase.h:4855
LOCAL_VIDEO_STREAM_ERROR
Definition: AgoraBase.h:2808
REMOTE_VIDEO_STATE_REASON
Definition: AgoraBase.h:2944
RAW_AUDIO_FRAME_OP_MODE_TYPE
Definition: AgoraMediaBase.h:56
@ RAW_AUDIO_FRAME_OP_MODE_READ_ONLY
Definition: AgoraMediaBase.h:61
Definition: AgoraBase.h:86
const char * user_id_t
Definition: AgoraBase.h:1198
Definition: IAgoraService.h:33
Definition: AgoraBase.h:3250
Definition: NGIAgoraVideoTrack.h:87
Definition: NGIAgoraAudioTrack.h:274
Definition: NGIAgoraVideoTrack.h:298
Definition: AgoraBase.h:1851
Definition: AgoraBase.h:3011