videojs / http-streaming

HLS, DASH, and future HTTP streaming protocols library for video.js
https://videojs-http-streaming.netlify.app/
Other
2.49k stars 421 forks source link

Parallel loading of segments #1536

Open gsimko opened 1 month ago

gsimko commented 1 month ago

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?

welcome[bot] commented 1 month ago

👋 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.