MPMoviePlayerController seems to make 2 calls for each movie
Posted
by
user76328
on Stack Overflow
See other posts from Stack Overflow
or by user76328
Published on 2009-12-18T05:53:07Z
Indexed on
2011/01/10
21:53 UTC
Read the original article
Hit count: 228
iphone
|mpmovieplayercontroller
I seem to have an issue where an iphone app using the MPMoviePlayerController seems to make 2 calls to the server for each video it wants to play back. This occurs with iphone 3.x OS and libraries but not with iphone 2.x. I know that iphone does progressive download and will make multiple 206 requests, etc. but as far as our back end is concerned the player appears to make 2 separate sessions.
This only appears to be an issue with iPhone native apps and not iphone videos played through safari.
Additional info from apple: iPhone OS 3.0 added support for streaming audio and video over HTTP, and MPMoviePlayerController must validate the media before playback to determine if it is streaming content or progressively downloaded content. This is the delay you are experiencing. On a fast network, the delay should be minimized.
Is this double check causing 2 sessions be created for each video request?
Any one else seeing same issue? Is there a remedy?
© Stack Overflow or respective owner