How to config my server to providing the video file play with MPMoviePlayerViewController?

后端 未结 2 1952
说谎
说谎 2021-01-13 02:06

I want to using MPMoviePlayerViewController to play the video file on my server. But It not works.

My iOS code are as bellow:

NSURL *mediaURL = [[NSU         


        
2条回答
  •  一个人的身影
    2021-01-13 02:38

    After correcting the content URL, if the Error Domain=MediaPlayerErrorDomain Code=-11850 \"Operation Stopped\" error still happens, it may be because your HTTP server does not support byte-range requests. See MPMoviePlayerPlaybackDidFinishNotification is called immediately for more information.

提交回复
热议问题