onMixedAudioFrame property
Retrieves the data after mixing recorded and playback audio.
To ensure the format of the mixed audio data from recording and playback meets expectations, you can set the audio data format using the following methods: Call setMixedAudioFrameParameters to set the audio data format, then call registerAudioFrameObserver to register the audio frame observer object. The SDK calculates the sampling interval based on the parameters of this method and triggers the onMixedAudioFrame callback accordingly. Due to framework limitations, this callback does not support sending the processed audio data back to the SDK.
audioFrameRaw audio data. See AudioFrame.channelIdChannel ID.
Implementation
final void Function(String channelId, AudioFrame audioFrame)?
onMixedAudioFrame;