You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use your TTS library and then use a different library with SFSpeechRecognizer that uses audioSession setCategory:AVAudioSessionCategoryRecord... and then I try to use your TTS library again... it doesn't seem to work.
It seems as though the audioSession's Category is still set to AVAudioSessionCategoryRecord.
Do you know if there is a way to reset the audioSession's category to AVAudioSessionCategoryPlayback before running your Tts.speak method or any other way to get your library to work after/before using SFSpeechRecognizer
Thanks.
The text was updated successfully, but these errors were encountered:
I don't have a clean solution for this right now, but you might try a workaround. The Tts.setDucking(true) call which has been added to the new 1.3.0 release, will set category to AVAudioSessionCategoryRecord, so you might try calling it after using SFSpeechRecognizer. Let me know if it works for you.
Been testing it out. New setDucking method is great, although AVAudioSessionCategoryPlayback doesn't seem to work.
However, after a few tests, it seems as though AVAudioSessionCategorySoloAmbient works great, which looking at the Apple Docs, seems to be the 'default' category setting.
Would you be able to update the library to use AVAudioSessionCategorySoloAmbient, instead of AVAudioSessionCategoryPlayback, in the setDucking method, please?
Hi,
When I use your TTS library and then use a different library with
SFSpeechRecognizer
that usesaudioSession setCategory:AVAudioSessionCategoryRecord
... and then I try to use your TTS library again... it doesn't seem to work.It seems as though the audioSession's Category is still set to
AVAudioSessionCategoryRecord
.Do you know if there is a way to reset the audioSession's category to
AVAudioSessionCategoryPlayback
before running yourTts.speak
method or any other way to get your library to work after/before usingSFSpeechRecognizer
Thanks.
The text was updated successfully, but these errors were encountered: