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

Split stableBufferTime into hybridSwitchBufferTime and stableBufferTime #76

Merged
merged 8 commits into from
Aug 7, 2023

Conversation

eirikbjornr
Copy link

What?

Split stableBufferTime into hybridSwitchBufferTime and stableBufferTime so the threshold to switch between BOLA and throughput ABR algorithms (hybridSwitchBufferTime) can be configured separately from stableBufferTime.

Ticket: BADGERS-214

@eirikbjornr eirikbjornr self-assigned this Aug 7, 2023
Copy link

@matt-stephenson matt-stephenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Minor comment, but not blocking.

@@ -863,6 +866,7 @@ function Settings() {
bufferTimeAtTopQualityLongForm: 60,
initialBufferLevel: NaN,
stableBufferTime: 12,
hybridSwitchBufferTime: NaN,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this default to 12 given the comment above?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot! Forgot to change the default value to be stableBufferTime in documentation. Is it clearer with the change?

@eirikbjornr eirikbjornr merged commit 0a843f5 into smp-v4.7 Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants