我想在 ios 中使用 mpmovieplayer 连续播放多个视频而不延迟
我想不间断地连续播放许多视频。电影是 mp4 格式,我想从主包运行它们
I want to play many videos back to back without delay.movies are in mp4 format and i want to run them from main bundle
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
HTTP Live Streaming 支持不连续性,允许不同的视频源无缝播放。当然,这是服务器与客户端通信的情况。
也许您可以生成包含所有视频的 .m3u8 索引文件,并在本地播放它们。 MPMoviePlayer 接收 .m3u8 文件并为您完成其他所有操作。可能值得研究一下。
HTTP Live Streaming supports discontinuity, which allows different video sources to be played with no 'hiccup'. Of course that is for a server talking with a client.
Perhaps you could generate a .m3u8 index file with all of your videos, and play them locally. The MPMoviePlayer takes in a .m3u8 file and does everything else for you. May be worth looking into.