jjordanoc / azure_speech_recognition_null_safety

A Flutter plugin that enables interaction with the Azure Cognitive Services Speech-To-Text API
GNU General Public License v3.0
11 stars 14 forks source link

how to capture stream data from microphone? #8

Open rudongsu opened 1 year ago

rudongsu commented 1 year ago

Is there any way to access the audio data in any format used for Azure service? In my app I also needed to store it as a file

jjordanoc commented 1 year ago

As of now this is not supported in the library, however, reading the documentation for both Java and Objective-C I found that it might be possible to implement this with the AudioDataStream and SPXAudioDataStream classes. I will consider implementing this in the future, but if you can do it please open a PR.