Hacker News new | ask | show | jobs
by mumrah 4340 days ago
It's a better experience when you're dealing with a complete file and not an in-progress transcode anyways. With a file you can seek and pause/resume. That's much, much harder with a stream (if at all possible). The other trick is that the Chromecast does some poking around in the stream to figure out the total time. This requires that you support Range requests and return correct Content-Length headers.
1 comments

Thanks for the tips. I will look into the headers and see if I can't implement the range quests and content-length headers correctly, it doesn't seem like it should be that difficult.