Trying to play MP3s from the server without first downloading the file locally. The callback for MPMoviePlayerPlaybackDidFinishNotification comes with this:
NSConcreteNotification 0x7e1c980 {name = MPMoviePlayerPlaybackDidFinishNotification; object = <ItemMediaPlayer: 0x7856740>; userInfo = {
MPMoviePlayerPlaybackDidFinishReasonUserInfoKey = 1;
error = "Error Domain=MediaPlayerErrorDomain Code=-12939 \"The server is not correctly configured.\" UserInfo=0x7e243d0 {NSLocalizedDescription=The server is not correctly configured.}";
Now, trying to figure out what the error code -12939 actually means ... Can MPMoviePlayerController expect the server to support range byte requests ? Since this server is not using (using nginx)!
To complicate matters, this code does not work on iOS 4.0, but works on iOS 4.1 . Now consider abandoning iOS 4.0 support if someone cannot offer a fix?
source
share