onMixedAudioEncodedFrame property
void Function(Uint8List frameBuffer, int length, EncodedAudioFrameInfo audioEncodedFrameInfo)?
onMixedAudioEncodedFrame
final
Gets 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.
samplesPerSecRecording sample rate (Hz).channelsThe number of channels. 1: Mono. 2: Stereo. If the channel uses stereo, the data is interleaved.samplesPerChannelThe number of samples per channel in the audio frame.frameBufferThe audio buffer.lengthThe data length (byte).audioEncodedFrameInfoAudio information after encoding. See EncodedAudioFrameInfo.
Implementation
final void Function(Uint8List frameBuffer, int length,
EncodedAudioFrameInfo audioEncodedFrameInfo)? onMixedAudioEncodedFrame;