 teepusink
|
Hi Halle,
First of thank you for the great library. I’m able to setup the sample project and actually set it up on my project as well.
Everything works as expected, except that on the iPad, OpenEars stopped working after the first time it recognizes something. (Note that it works on the sample code for iPad. My project also works on iPhone and iPod). I’m using JSGF and the latest version.
I’ve tried going through my codes and I have it exactly like the sample code. Do you have any insight as to what could possibly cause that?
Thanks,
Tee
|
 teepusink
|
Hi Halle, so I found out that the reason it doesn’t work is because I play a video using MPMoviePlayerController. How can I possibly prevent OpenEars from conflicting with MPMoviePlayerController?
Thanks,
Tee
|
 Halle
|
Hi,
Search these forums for MPMoviePlayerController — there’s a variety of different approaches that have been successful for different developers. Be sure you’re using the current version of OpenEars.
|
 Halle
|
Searching for AVPlayer and MPMediaPlayerController should also give some useful hits, since the issue is the same — the AudioSessionManager is overridden by the media playback and has to be reset.
|
 teepusink
|
Thanks Halle, looking into it.
|
 teepusink
|
Hi Halle,
This solution doesn’t seem to work for me. http://www.politepix.com/forums/topic/simultaneous-mpmovieplayercontroller-video-and-speech-recognition/
Your suggestion in 1 of the threads almost work. i.e making another call for [audioSessionManager startAudioSession]. However, after the 2nd or 3rd time, it always crash the app with this message. “Terminating in response to SpringBoard’s termination.”
Any insights or perhaps suggestion on how to go around that?
Thank you,
Tee
|
 Halle
|
I would search more, I think there are several approaches that are taken in topics that are still on the main forum page.
|