Reputation: 23
I'm making iphone program. The main function is playing video files, and recording sound.
OS 3.1.3 version is fine. But iPhone 4.0 makes problem!!
When I executed playing video (MPMoviePlayerController
) and continuously recording sound (AVAudioRecorder
), AVAudioRecorder
doesn't work....
No recording..! ;o;
Somebody help!!
Upvotes: 0
Views: 995
Reputation: 76001
Check the useApplicationAudioSession
property on MPMoviePlayerController
. In iOS 3.1.x, the movie player was always getting its own system provided audio session. In iOS 4.0, it can now share the application session, and that's the default value as well. Try switching that property to NO
before starting to play your movie.
Upvotes: 1