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

Update getParameters() to not return the default scalabilityMode #79

Merged
merged 5 commits into from
Jan 26, 2023

Conversation

Orphis
Copy link
Contributor

@Orphis Orphis commented Jan 26, 2023

Always returning the current scalabilityMode has some backwards compatibility issues. Applications that need to select specific scalabilityModes will still be able to observe when a fallback happens, others could use getStats() instead.

Fixes #75


Preview | Diff

@Orphis Orphis requested a review from aboba January 26, 2023 14:37
Always returning the current scalabilityMode has some backwards
compatibility issues. Applications that need to select specific
scalabilityModes will still be able to observe when a fallback
happens, others could use getStats() instead.

Fixes w3c#75
@Orphis Orphis force-pushed the remove_getparameters_no_default branch from a039f7e to 62772a4 Compare January 26, 2023 14:40
Copy link
Contributor

@aboba aboba left a comment

Choose a reason for hiding this comment

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

LGTM

index.html Outdated
not satisfactory, {{RTCRtpSender/setParameters()}} can be used
to change it.
value for each encoding in <var>encodings</var> which had a value before the
initial negotation. This may be different from the values requested in
Copy link

Choose a reason for hiding this comment

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

Suggested change
initial negotation. This may be different from the values requested in
initial negotiation. This may be different from the values requested in

Copy link
Contributor

Choose a reason for hiding this comment

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

Fixed.

index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
@jan-ivar jan-ivar added the Needs Test Needs a Test label Jan 26, 2023
@jan-ivar jan-ivar merged commit 800ff29 into w3c:main Jan 26, 2023
@Orphis Orphis deleted the remove_getparameters_no_default branch January 26, 2023 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Test Needs a Test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Returning the default scalabilityMode problematic after fallback
4 participants