http-streaming icon indicating copy to clipboard operation
http-streaming copied to clipboard

Parallel loading of segments

Open gsimko opened this issue 1 year ago • 1 comments

Based on segment-loader.js (function load) it looks like the segment loader buffers one segment at a time. This is suboptimal if the video server has high latency, as concurrently reading multiple segments would decrease the chance of stalls.

It looks easy to update segment-loader to do so, but I don't feel confident that it would not break the logic. Can someone who is more familiar with http-streaming comment whether it's a feasible change?

gsimko avatar Aug 23 '24 22:08 gsimko

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

welcome[bot] avatar Aug 23 '24 22:08 welcome[bot]