logoalt Hacker News

cbluthtoday at 8:53 AM1 replyview on HN

How do you stream a timestamp?


Replies

reactordevtoday at 12:27 PM

You negotiate the header to find the video length, to then issue http get requests with the offset to the timestamp. Sometimes there’s an API that cuts with ffmpeg and returns the buffer. Sometimes you just need to fetch the raw bytes between offset+0 and offset+n.