Hi. I use OpenEars speech recognizer. Also, I want to record video with sound while I read the text. When I start record everything is good but when I start to read new text sound on the video is desabled. I debug my app and found error:
AVAudioSession.mm:1079:-[AVAudioSession setActive:withOptions:error:]: Deactivating an audio session that has running I/O. All I/O should be stopped or paused prior to deactivating the audio session.
2020-04-04 11:31:05.578667+0300 [4861:964887] Error: couldn’t set session inactive.: ‘!act’
when I call OEPocketsphinxController.sharedInstance()?.stopListening() for stop current listening and start new text with new LanguageModel.
I think that OpenEars have a conflict with another AVFrameworks
Can you help me?
I tried to call OEPocketsphinxController.sharedInstance()?.setActive(false) or AVAudioSession setActive but it is not fix my problem.