Optional
onGets the mixed and encoded audio data of the local and all remote users.
After calling registerAudioEncodedFrameObserver and setting the audio profile as AudioEncodedFrameObserverPositionMixed, you can get the mixed and encoded audio data of the local and all remote users through this callback.
The audio buffer.
The data length (byte).
Audio information after encoding. See EncodedAudioFrameInfo.
Optional
onGets the encoded audio data of all remote users.
After calling registerAudioEncodedFrameObserver and setting the encoded audio as AudioEncodedFrameObserverPositionPlayback, you can get encoded audio data of all remote users through this callback.
The audio buffer.
The data length (byte).
Audio information after encoding. See EncodedAudioFrameInfo.
Optional
onGets the encoded audio data of the local user.
After calling registerAudioEncodedFrameObserver and setting the encoded audio as AudioEncodedFrameObserverPositionRecord, you can get the encoded audio data of the local user from this callback.
The audio buffer.
The data length (byte).
Audio information after encoding. See EncodedAudioFrameInfo.
Generated using TypeDoc
The encoded audio observer.