开发者

emulating iPhone video player behaviour

开发者 https://www.devze.com 2022-12-13 06:01 出处:网络
I need to debug a networking application which handles video downloaded by iPhone from Youtube. iPhone downloads chunks of video by requesting each time a different file range (by adding Content-Range

I need to debug a networking application which handles video downloaded by iPhone from Youtube. iPhone downloads chunks of video by requesting each time a different file range (by adding Content-Range in HTTP GET header) while PC applications usually request a whole file.

Are there any PC application (preferably Linux, but Windows is also OK) which I can use to emulate this iPhone browser's behavior?

(Note that simply seeking the video in browse开发者_如何学运维r does produce HTTP content-range request, it simply gives URL with time position.)

Thanks.


I forgot Linux comes with two powerful download utilities wget and curl. The latter can do exactly what I need - download file byte ranges over persistent HTTP connection.

0

精彩评论

暂无评论...
验证码 换一张
取 消