AppDevGuy / OSSSpeechKit

OSSSpeechKit offers a native iOS Speech wrapper for AVFoundation and Apple's Speech.
MIT License
146 stars 37 forks source link

OSSSpeechKit Stop listening after some time #29

Closed QaiserAbbas closed 3 years ago

QaiserAbbas commented 3 years ago

OSSSpeechKit Stop listening after some time didFinishListening is called. Any solution for this?

AppDevGuy commented 3 years ago

This is due to Apple enforcing a limit on how long the microphone can remain active while utilising the speech service - from memory it's around 60 seconds.

A potential solution would be to invoke a call to start recording again, however, there is likely to be a short delay.

SeanAHI commented 3 years ago

Closing stale ticket due to no response.