Server Gateway SDK v3.8.202.20 for Linux C++
Public Member Functions | List of all members
agora::rtc::IRemoteAudioTrack Class Referenceabstract

#include <NGIAgoraAudioTrack.h>

Public Member Functions

virtual bool getStatistics (RemoteAudioTrackStats &stats)=0
virtual REMOTE_AUDIO_STATE getState ()=0
- Public Member Functions inherited from agora::rtc::IAudioTrack
virtual bool addAudioSink (agora_refptr< IAudioSinkBase > sink, const AudioSinkWants &wants)=0
virtual bool removeAudioSink (agora_refptr< IAudioSinkBase > sink)=0

Additional Inherited Members

- Public Types inherited from agora::rtc::IAudioTrack
enum  AudioFilterPosition {
  RecordingLocalPlayback , PostAudioProcessing , PcmSource , PcmSourceSending ,

Detailed Description

The IRemoteAudioTrack class.

Member Function Documentation

◆ getState()

virtual REMOTE_AUDIO_STATE agora::rtc::IRemoteAudioTrack::getState ( )
pure virtual

Gets the state of the remote audio.

The state of the remote audio: REMOTE_AUDIO_STATE.

◆ getStatistics()

virtual bool agora::rtc::IRemoteAudioTrack::getStatistics ( RemoteAudioTrackStats stats)
pure virtual

Gets the statistics of the remote audio track.

statsA reference to the statistics of the remote audio track: RemoteAudioTrackStats.
  • true: Success.
  • false: Failure.

The documentation for this class was generated from the following file: