Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Dynamic target latency #6858

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

gkatsev
Copy link
Contributor

@gkatsev gkatsev commented Jun 18, 2024

This adds a new feature for adjusting the target latency closer to the live edge when playback is stable and back off away from the live edge when playback rebuffers. It is off by default and will only run a default of 5 times before it will stop trying to adjust the target latency.

Closes #6131.

@gkatsev
Copy link
Contributor Author

gkatsev commented Jun 18, 2024

This PR supercedes #6193. I marked it as a draft because while the functionality is there and the build passes locally, I hadn't yet gotten a chance to confirm that it's working as intended. It's possible there may be tweaks necessary. I'll get back to it on Thursday.

@shaka-bot
Copy link
Collaborator

shaka-bot commented Jun 18, 2024

Incremental code coverage: 42.03%

@avelad avelad added type: enhancement New feature or request priority: P3 Useful but not urgent labels Jun 19, 2024
@avelad avelad added this to the v4.10 milestone Jun 19, 2024
@gkatsev gkatsev marked this pull request as ready for review June 20, 2024 19:54
@avelad
Copy link
Collaborator

avelad commented Jun 21, 2024

@gkatsev please fix the tests! Thanks!

@gkatsev
Copy link
Contributor Author

gkatsev commented Jun 21, 2024

I'll take a look. At first glance they seemed unrelated, but who knows.

@joeyparrish
Copy link
Member

I don't have time to review this before I go on leave. I trust @avelad, @theodab, and @gkatsev to review and figure out when it's ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P3 Useful but not urgent type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using playback rate to help reduce rebuffering and maintain buffer health.
4 participants