Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any standard for seeking (in streams) over HTTP?

I know that currently HTML5 video compatible browsers use the Accept-Ranges header to seek inside streams, but it is far from an ideal solution. The browser needs the full index information of the file to do this effectively, and this is not possible for live-stream optimized formats, like fragmented mp4 and chunked mkv (or WebM).

Is there a feature of HTTP or an extension which operates with timestamps (instead of bytes).

I know it is unlikely that such a standard is supported in browsers yet, with these early implementations. I am just interested if even such standard or proposition exists.

like image 826
vbence Avatar asked Nov 18 '25 22:11

vbence


1 Answers

No, the http protocol is not aware of the content in the body as such. You might be able to run a cgi that delivers the file and it would accept a timestamp as a parameter to continue the stream from that position.

like image 52
ensonic Avatar answered Nov 20 '25 13:11

ensonic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!