csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.
BSD 3-Clause "New" or "Revised" License
348 stars 217 forks source link

Not work with airpods in iOS #510

Open ChungangL opened 2 weeks ago

ChungangL commented 2 weeks ago

I annotated the code for starting the sound file in the example `# assets:

- assets/sounds/speech_to_text_listening.m4r

- assets/sounds/speech_to_text_cancel.m4r

- assets/sounds/speech_to_text_stop.m4r`

Wearing AirPods while running Example on iOS may result in unusable situations:

https://github.com/csdcorp/speech_to_text/assets/97420698/fe01a54f-897a-4398-b59c-7967d17b4982

Pay attention to the small yellow dot in the upper right corner, which stops recording shortly after startup, and the plugin does not report stopping recording or reporting errors