Agora Server Gateway SDK C++ API Reference
|
#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 , RemoteUserPlayback , PcmSource , PcmSourceSending , PcmSourceLocalPlayback , RemoteMixedPlayback } |
The IRemoteAudioTrack class.
|
pure virtual |
Gets the state of the remote audio.
|
pure virtual |
Gets the statistics of the remote audio track.
stats | A reference to the statistics of the remote audio track: RemoteAudioTrackStats. |
true
: Success.false
: Failure.