Agora Java API Reference for Android
|
Public Types | |
enum | DetachReason { MANUAL, TRACK_DESTROY, MIXER_DESTROY } |
![]() | |
enum | AudioFilterPosition { RecordingLocalPlayback, PostAudioRecordingDevice, PostAudioProcessing } |
Public Member Functions | |
virtual void | attach (agora_refptr< agora::rtc::AudioState > audioState, std::shared_ptr< AudioNodeBase > audioNetworkSink, uint32_t sourceId)=0 |
virtual void | detach (DetachReason reason)=0 |
virtual void | setMaxBufferedAudioFrameNumber (int number)=0 |
virtual int | setExtraDelay (int delay_ms) |
virtual bool | getStatistics (PacketStats &stats) |
virtual bool | isMediaPacketTrack ()=0 |
void | NotifyTrackStateChange (uint64_t ts, LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_ERROR errorCode) |
LocalAudioEvents | GetEvents (bool readOnly=false) |
![]() | |
virtual void | setEnabled (bool enable)=0 |
virtual bool | isEnabled () const =0 |
virtual LOCAL_AUDIO_STREAM_STATE | getState ()=0 |
virtual LocalAudioTrackStats | GetStats ()=0 |
virtual int | adjustPublishVolume (int volume)=0 |
virtual int | getPublishVolume (int *volume)=0 |
virtual int | enableLocalPlayback (bool enable)=0 |
virtual int | enableEarMonitor (bool enable, int includeAudioFilters)=0 |
![]() | |
virtual int | adjustPlayoutVolume (int volume)=0 |
virtual int | getPlayoutVolume (int *volume)=0 |
virtual bool | addAudioFilter (agora_refptr< IAudioFilter > filter, AudioFilterPosition position)=0 |
virtual bool | removeAudioFilter (agora_refptr< IAudioFilter > filter, AudioFilterPosition position)=0 |
virtual agora_refptr< IAudioFilter > | getAudioFilter (const char *name, AudioFilterPosition position) const =0 |
virtual bool | addAudioSink (agora_refptr< IAudioSinkBase > sink, const AudioSinkWants &wants)=0 |
virtual bool | removeAudioSink (agora_refptr< IAudioSinkBase > sink)=0 |
![]() | |
virtual void | AddRef () const =0 |
virtual RefCountReleaseStatus | Release () const =0 |
virtual bool | HasOneRef () const =0 |
Protected Attributes | |
StateNotifier< LOCAL_AUDIO_STREAM_STATE, LOCAL_AUDIO_STREAM_ERROR > | notifier_ |