HomeForumsOpenEarsiPad not working after first recognition

Tagged: 

This topic has 2 voices, contains 6 replies, and was last updated by  Halle 125 days ago.

Viewing 7 posts - 1 through 7 (of 7 total)
Author Posts
Author Posts
January 12, 2012 at 11:54 pm #8388

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

January 12, 2012 at 11:58 pm #8389

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

January 13, 2012 at 12:45 am #8390

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.

January 13, 2012 at 12:47 am #8391

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.

January 13, 2012 at 1:44 am #8392

teepusink

Thanks Halle, looking into it.

January 14, 2012 at 1:34 am #8401

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

January 14, 2012 at 10:35 am #8404

Halle

I would search more, I think there are several approaches that are taken in topics that are still on the main forum page.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.