Hold playback until initial buffer length
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 2.8k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 27
Description
What do you want to do with Hls.js?
Is it possible to adjust the initial buffer length to start the video?
We have the first two chanks that are 2 seconds long, and sometimes there is a problem on a weak network that the video starts, but there is not enough buffer, and after 4 seconds of playback, a loader appears.
would like to wait a little longer at the first download, but not get a playback freeze.
What have you tried so far?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Hls.js's existing startup buffering and playback behavior, then reproduce the weak-network case with two-second initial chunks. The issue is done when playback waits for a larger initial buffer and no loader appears after roughly four seconds of playback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- audio-video-rtc
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100