AVSpeechSynthesizer error AudioSession

后端 未结 4 506
轻奢々
轻奢々 2021-02-05 08:31

I\'m playing around with AVSpeechSynthesizer and always getting these errors:

ERROR:     >aqsrv> 65: Exception caught in (null) - error -66634
ERROR:     A         


        
4条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-05 08:37

    I can't believe it, but I actually found the solution for this: if you have no headphones plugged or any audio output source, AVPlayer won't work and it'll print:

    ERROR:     >aqsrv> 65: Exception caught in (null) - error -66634
    

提交回复
热议问题