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

Add a client API to update simulcast layer bitrate #1445

Merged
merged 3 commits into from
Aug 2, 2019

Conversation

jcague
Copy link
Contributor

@jcague jcague commented Aug 2, 2019

Description

Adds a client API to update simulcast layer bitrate.

Note: It also fixes an issue with the updateConfiguration when run for publishers.

[] It needs and includes Unit Tests

Changes in Client or Server public APIs

This is the new API in the cliend side.

localStream.updateSimulcastLayersBitrate({0: 80000, 1: 430000});

In this example we are configuring 2 spatial layers bitrates, limiting the lower layer to 80 Kbps and the higher to 430 Kbps.

  • It includes documentation for these changes in /doc.

Copy link
Contributor

@lodoyun lodoyun left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -218,7 +218,7 @@ exports.ErizoJSController = (erizoJSId, threadPool, ioThreadPool) => {
return;
}

if (publisher.cliendId === clientId) {
if (publisher.clientId === clientId) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch 👍

@jcague jcague merged commit fa5ff61 into lynckia:master Aug 2, 2019
@jcague jcague deleted the add/update_simulcast_layer_bitrate branch August 2, 2019 13:07
Arri98 pushed a commit to Arri98/licode that referenced this pull request Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants