Skip to content

[WIP] Buffer-based ABR (BOLA) and bandwidth drop detection - #22

Open
peaBerberian wants to merge 3 commits into
mainfrom
bola
Open

[WIP] Buffer-based ABR (BOLA) and bandwidth drop detection#22
peaBerberian wants to merge 3 commits into
mainfrom
bola

Conversation

@peaBerberian

@peaBerberian peaBerberian commented May 15, 2026

Copy link
Copy Markdown
Owner

Before I dive into the real targets of low-latency and in-Rust transmuxing, I looked into the remaining bits that would be expected from a player.

The main ones were:

  1. Some kind of buffer-based ABR.

    For now the ABR is only throughput-based which is a good base, but may lead to more pessimistic results than a mix of throughput and buffer-based algorithms.

  2. Bandwidth drop detection: detecting that it's not optimal to wait for the current segment request to finish because of a heavy fall in bandwidth, and that it seems much more interesting to switch back to a lower-quality segment (yes, even when considering TCP slow-start and the like for http < 3, we don't even check for those details here).

    This one is moreover interesting on this project particularly because it most likely implies a lot of back and forth between JS and Rust as it's JS which performs the HTTP request.

  3. Some kind subtitles handling. I always treated that one as low priority, but to see if I could have a minimal base without e.g. much stylisation for now.

This PR focuses on 1 and 2, because I thought they were not that hard to write and are relatively visible features.

Still WIPing on this though

@peaBerberian peaBerberian added the Work-In-Progress The PR/Issue is not yet finished. label May 15, 2026
@peaBerberian peaBerberian changed the title [WIP] Buffer-based ABR (BOLA) and bandwidth fall detection [WIP] Buffer-based ABR (BOLA) and bandwidth drop detection May 15, 2026
@peaBerberian
peaBerberian force-pushed the bola branch 4 times, most recently from e487284 to db8bf8c Compare May 16, 2026 16:43
@peaBerberian
peaBerberian force-pushed the bola branch 4 times, most recently from a490f6f to 85f188d Compare May 27, 2026 17:40
@peaBerberian
peaBerberian force-pushed the main branch 2 times, most recently from 2e20d00 to f9328e2 Compare May 28, 2026 15:41
@peaBerberian
peaBerberian force-pushed the main branch 3 times, most recently from 9893405 to 6334ef2 Compare May 29, 2026 15:08
@peaBerberian
peaBerberian force-pushed the main branch 2 times, most recently from 2bd3995 to 3176e63 Compare May 29, 2026 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Work-In-Progress The PR/Issue is not yet finished.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant