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

(worker): Modification of Consumer bitrate allocation algorithm #708

Merged
merged 2 commits into from
Nov 9, 2021

Conversation

SteveMcFarlin
Copy link

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.

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.
Copy link
Member

@ibc ibc left a 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.

@@ -2340,6 +2340,26 @@ namespace RTC
}
}

static inline uint32_t IncreaseConsumerLayer(
Copy link
Member

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.

@SteveMcFarlin
Copy link
Author

SteveMcFarlin commented Nov 3, 2021

The rationale behind this change is outlined in issue Issue 662

The algorithm implemented is outlined in a comment by @vpalmisano

@ibc
Copy link
Member

ibc commented Nov 3, 2021

LGTM, I'll recheck tomorrow and merge.

@ibc
Copy link
Member

ibc commented Nov 8, 2021

Sorry for the delay, I'm kinda off these days. I'll also involve @jmillan here.

@jmillan
Copy link
Member

jmillan commented Nov 8, 2021

LGTM,

I'm just asking @vpalmisano to review this as well since he did the final proposal.

Copy link
Contributor

@vpalmisano vpalmisano 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 to me too!

@ibc ibc merged commit 138c825 into versatica:v3 Nov 9, 2021
@ibc
Copy link
Member

ibc commented Nov 9, 2021

Merged, thanks. I'll do a release today.

@ibc
Copy link
Member

ibc commented Nov 9, 2021

3.9.2 is out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants