avaudioplayer interferes with mpmovieplayer on ipad

Posted by user175826 on Stack Overflow See other posts from Stack Overflow or by user175826
Published on 2010-05-11T02:57:47Z Indexed on 2010/05/11 3:04 UTC
Read the original article Hit count: 506

my app plays video and audio. however, i have a problem where once i play an audio file using avaudioplayer, the video refuses to play. when i play the video first, everything is fine. but if the audio is played first, any time i try to play the video it simply pops up the video player but will not play the actual video (you can use the scroller to go to any point in the video, but no playback will happen). this issue does not come up on the iphone, nor on the ipad simulator. clearly there is some resource conflict here, probably related to the audio, and i'd welcome some input on how to address it.

© Stack Overflow or respective owner

Related posts about avaudioplayer

Related posts about mpmovieplayercontroller