一个MPMoviePlayerController实例可以同时缓冲两个视频资源(URL)?

发布于 2024-09-13 23:29:22 字数 154 浏览 5 评论 0原文

我希望一个播放器可以同时缓冲两部电影,这样我就可以同时播放第一部电影和另一部缓冲的电影。如果第一部播放完毕,第二部可以立即继续播放。

一个 MPMoviePlayerController 实例可以缓冲两个同时播放视频资源(URL)???

希望您的想法,非常感谢。

I hope a player can buffer two movies at the same time so that i can play the first movie and the other buffering at the same time .if the first one played finished ,the second can continue to play Immediately。

One MPMoviePlayerController instance can buffer two video resources (URL) at the same time?????

hope your ideas,thank you very much.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

感情洁癖 2024-09-20 23:29:27

也许使用 MPMoviePlayerController 的两个实例可以满足您的需求。

MPMoviePlayerController *a = [MPMoviePlayerController initWithContentsOfURL:/*...*/];
MPMoviePlayerController *b = [MPMoviePlayerController initWithContentsOfURL:/*...*/];

Perhaps using Two instances of MPMoviePlayerController would do what you want.

MPMoviePlayerController *a = [MPMoviePlayerController initWithContentsOfURL:/*...*/];
MPMoviePlayerController *b = [MPMoviePlayerController initWithContentsOfURL:/*...*/];
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文