onPlaybackAudioEncodedFrame property
void Function(Uint8List frameBuffer, int length, EncodedAudioFrameInfo audioEncodedFrameInfo)?
onPlaybackAudioEncodedFrame
final
Retrieves the audio encoded data of all remote users.
After calling registerAudioEncodedFrameObserver and setting the audio encoded content to audioEncodedFrameObserverPositionPlayback, you can use this callback to get the audio encoded data of all remote users.
frameBufferAudio buffer.lengthLength of the audio data in bytes.audioEncodedFrameInfoInformation about the encoded audio. See EncodedAudioFrameInfo.
Implementation
final void Function(Uint8List frameBuffer, int length,
EncodedAudioFrameInfo audioEncodedFrameInfo)? onPlaybackAudioEncodedFrame;