-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
(worker): Modification of Consumer bitrate allocation algorithm #708
Conversation
This modification attempts to spread the available bitrate across all Consumers on the first pass. Subsequently it will allocate the excess bitrate to higher priority Consumer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please explain the rationale behind this change.
worker/src/RTC/Transport.cpp
Outdated
@@ -2340,6 +2340,26 @@ namespace RTC | |||
} | |||
} | |||
|
|||
static inline uint32_t IncreaseConsumerLayer( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please not move this into a separate method? I don't see any need. We never mix class method with static methods together.
The rationale behind this change is outlined in issue Issue 662 The algorithm implemented is outlined in a comment by @vpalmisano |
LGTM, I'll recheck tomorrow and merge. |
Sorry for the delay, I'm kinda off these days. I'll also involve @jmillan here. |
LGTM, I'm just asking @vpalmisano to review this as well since he did the final proposal. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me too!
Merged, thanks. I'll do a release today. |
3.9.2 is out |
This modification attempts to spread the available bitrate across
all Consumers on the first pass. Subsequently it will allocate
the excess bitrate to higher priority Consumers.