Why AVPlayer ask several union range in same session?

本小妞迷上赌 提交于 2020-02-02 04:14:33

问题


I'm would to know why AVPlayer ask's union ranges in requests. Example: 1. We have good wi-fi connection. 2. Track with total length = 1000000.

AVPlayer in first will ask bytes=0-1 - its ok, it just "ping" the availability of track.

But after that it will ask bytes=0-999999 - and get content-len 1000000;

And after that it will ask bytes=40000-999999 - and get content-len 599999;

Why it make third request if we must have all data from second request (bytes=0-999999)?

来源:https://stackoverflow.com/questions/18058011/why-avplayer-ask-several-union-range-in-same-session

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