Home › Forums › OpenEars › AVCaptureSession audio combined with speech recognition › Reply To: AVCaptureSession audio combined with speech recognition
August 22, 2014 at 7:44 pm #1022343
@Halle: Thanks for the feedback. Didn’t found anything that could fix the issue on the fly but while experimenting different values I got it working by doing:
self.pocketsphinxController.audioMode = @”VideoRecording”;
self.pocketsphinxController.audioSessionMixing = YES;
self.pocketsphinxController.outputAudio = NO;
before doing startListeningWithLanguageModelAtPath
Now it still happens very seldom, so I restart the session automatically from the pocketSphinxContinuousSetupDidFail function.