onFrame property
Callback for received audio frame.
After registering the audio data observer, this callback is triggered each time an audio frame is received to report audio frame information.
frameAudio frame information. See AudioPcmFrame.
Implementation
final void Function(AudioPcmFrame frame)? onFrame;