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

Updates to support Chrome 53 requirements #9

Merged
merged 2 commits into from Sep 19, 2016

Conversation

nathanoehlman
Copy link
Contributor

In Chrome 53, support for the standardised form of media constraints was implemented.

Unlike Firefox's implementation, Chrome 53+ enforces a strict policy of not allowing mixed constraint formats - the standard format does away with the mandatory/optional attributes completely, resulting in the half/half approach of rtc-captureconfig to fail.

This moves the entirety of the buildConstraints implementation to the constraint implementations, allowing a much greater degree of control over how the individual implementations should handle the building of an appropriate media constraint object for the browser that is requesting the constraints.

It also updates the standard constraint implementation to be compatible with Chrome 53+, as well as the previously supported versions of Firefox.

Chrome 52 and below continue to be supported with the legacy implementation.

@nathanoehlman nathanoehlman merged commit 2063571 into master Sep 19, 2016
@nathanoehlman nathanoehlman deleted the updated-chrome-and-legacy branch September 19, 2016 06:39
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.

None yet

1 participant