The push position of the external audio frame. Set in pushExternalAudioFrame
or setExternalAudioSourceVolume
.
◆ AUDIO_EXTERNAL_PLAYOUT_SOURCE
io.agora.rtc.Constants.AudioExternalSourcePos.AUDIO_EXTERNAL_PLAYOUT_SOURCE =(0) |
0: The position before local playback. If you need to play the external audio frame on the local client, set this position.
◆ AUDIO_EXTERNAL_RECORD_SOURCE_PRE_PROCESS
io.agora.rtc.Constants.AudioExternalSourcePos.AUDIO_EXTERNAL_RECORD_SOURCE_PRE_PROCESS =(1) |
1: The position after audio capture and before audio pre-processing. If you need the audio module of the SDK to process the external audio frame, set this position.
◆ AUDIO_EXTERNAL_RECORD_SOURCE_POST_PROCESS
io.agora.rtc.Constants.AudioExternalSourcePos.AUDIO_EXTERNAL_RECORD_SOURCE_POST_PROCESS =(2) |
2: The position after audio pre-processing and before audio encoding. If you do not need the audio module of the SDK to process the external audio frame, set this position.