onMixedAudioEncodedFrame property

void Function(Uint8List frameBuffer, int length, EncodedAudioFrameInfo audioEncodedFrameInfo)? onMixedAudioEncodedFrame
final

Retrieves the encoded audio data after mixing local and all remote users' audio.

After calling registerAudioEncodedFrameObserver and setting the audio encoding content to audioEncodedFrameObserverPositionMixed, you can use this callback to get the mixed and encoded audio data from the local and all remote users.

  • frameBuffer Audio buffer.
  • length Length of the audio data in bytes.
  • audioEncodedFrameInfo Information about the encoded audio. See EncodedAudioFrameInfo.

Implementation

final void Function(Uint8List frameBuffer, int length,
    EncodedAudioFrameInfo audioEncodedFrameInfo)? onMixedAudioEncodedFrame;