Plugin.Maui.Audio
Plugin.Maui.Audio copied to clipboard
Possible to handle recording in real-time?
Currently, the AudioSource
is only available after the recorder StopAsync
. It doesn't work for the case if I want to handle the recording data in real-time.
I'm wonder if it's possible to add the similar API as the following to the AudioRecorder
to support task like sending the recording to backend in real-time.
await audioRecorder.StartAsync();
audioRecorder.OnDataBytes((bytes, count) => {
// handler.Handle(bytes, count)
})