MPMoviePlayerController end of play my screen change to audio streaming controller

让人想犯罪 __ 提交于 2019-12-11 06:18:37

问题


I'm using MPMoviePlayerController with streaming with m3u8. I Have big problem that the end of playing my screen change to such as audio controller.

Here are my screenshots.

After playing change to

My m3u8 file is..

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1148390
http://ex.com:1935/vod/mp4:1306651297327_3302.mp4/playlist.m3u8?wowzasessionid=65455083

and follow http://ex.com...playlist.m3u8?wowzasessionid=65455083

#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:10,
media_1.ts?wowzasessionid=65455083
#EXTINF:10,
media_2.ts?wowzasessionid=65455083
#EXT-X-ENDLIST

I don't know why screen change.

any idea?


回答1:


You need an #EXT-X-ENDLIST on your master playlist (the one that has a the bandwidth data) That being said it's not 100% - Have you tried it?



来源:https://stackoverflow.com/questions/6194934/mpmovieplayercontroller-end-of-play-my-screen-change-to-audio-streaming-controll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!