Home › Forums › OpenEars › T2S breaks video/audio capturing in progress › Reply To: T2S breaks video/audio capturing in progress
i am use this code to avoid freeze video During Call TTS method.
Now it is work only avoid total freezing Video,During the time i call TTS method in between frames are freeze my video otherwise good.
AudioSessionManager *oeAudioSessionManager = (AudioSessionManager *) [AudioSessionManager sharedAudioSessionManager];
oeAudioSessionManager.soundMixing = YES;
[self.fliteController say:quesLab.text withVoice:self.slt];
AudioSessionManager.m in this file, I just replaced kAudioSessionCategory_PlayAndRecord by kAudioSessionCategory_AmbientSound
[videoWriterInput markAsFinished]; method to avoid freezing session.
My Problem during calling TTS at a few seconds my video is freeze(like still Image)