为什么 iOS 是这样的? MPMoviePlayerViewController 做了这么多请求?
当我从 iPhone(YouTube 应用程序)启动视频时,我发现了流量,并注意到在下载大部分视频(并开始播放)的实际请求完成之前,有很多小的字节范围请求。请参阅 HTTPScoop 的屏幕截图(我通过计算机路由 iPhone 的流量)。
现在,在我自己的应用程序中,我还尝试从网络上播放视频,甚至更小的字节-范围请求在实际播放开始之前完成:
我有一种感觉,所有这些请求都在延迟播放(播放开始的那一刻似乎与最大的请求相关)字节范围,通常在 10-20 秒后发生......)
为什么 iOS 的 MPMoviePlayerViewController 会执行如此多的请求?
I scooped the traffic when starting a video from the iPhone (YouTube app) and noticed a lot of small byte-range requests, before the actual request is done that downloads the bulk of the video (and playback starts). See screenshot of HTTPScoop (I routed the iPhone's traffic through my computer).
Now, in my own app, I'm also trying to playback video from the web, and even more small byte-range requests are done before the actual playback starts:
I got a feeling all those requests are delaying the playback (the moment the playback starts seems to be correlated with the largest byte range, which often happens after 10-20 secs....)
Why is iOS' MPMoviePlayerViewController doing so many requests?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论