iPhone 上的 MPMoviePlayerController - 流式下载还是渐进式下载?

发布于 2024-09-29 15:37:34 字数 350 浏览 1 评论 0原文

在我的 iPhone 应用程序中,我需要显示 Flash 格式的视频。 我要求客户将视频更改为iPhone兼容格式。他们将转换后的视频存储在服务器上,我可以使用 MPMoviePlayerController 来显示视频。

现在我们需要存储大约 25 个视频(每个视频大约 300 MB)并使用 MPMoviePlayerController 通过 iPhone 应用程序访问它们

我必须帮助客户弄清楚如何或在哪里托管这些文件。 所以有一些问题:

1)服务器端需要注意哪些事项才能获得更好的性能?有可用的文件吗? 2) 视频将是流式传输还是渐进式下载?我们还有选择吗?

我相信很多人都会这样做。所以请在这方面提供帮助。

In my iPhone App I need to show the videos which are in Flash format.
I asked the client to change the videos in iPhone compatible format. They stored the converted the video on a server and I am able to show the video using MPMoviePlayerController.

Now we need to store around 25 videos (Each around 300 MB) and access them via iPhone App using MPMoviePlayerController

I have to help the client figure out how or where to host these files.
So some questions are there

1) What all things need to be taken care on server side for better performance? Is there any document available for this?
2) The video will be streaming or progressive download ? Do we have a choice?

I am sure many people would have done it. So kindly help in this regard.

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

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

发布评论

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

评论(1

家住魔仙堡 2024-10-06 15:37:34

如果视频超过 10 分钟,那么您必须使用流媒体而不是渐进式,并且您必须在服务器端准备 .m3u8 格式的播放列表。您只需将此带有 .m3u8 的 url 传递到 mpmediaplayercontroller 中,这将从客户端处理所有事情。
对于服务器端功能,您可以搜索苹果代码以获取流视频。

if video is more then 10 minutes then you have to use streaming not progressive and you have to prepared playlist on server side with .m3u8 format. you just need to pass this url with .m3u8 into the mpmediaplayercontroller and this will take care of every thing from client side.
For server side functionality you can search apple code for streaming video.

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