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 resizeMode constraint. #502

Merged
merged 3 commits into from
Jan 18, 2018
Merged

Add resizeMode constraint. #502

merged 3 commits into from
Jan 18, 2018

Conversation

jan-ivar
Copy link
Member

Fix for #472.

Adds Peter's TPAC proposal, except for "box-and-scale" because it adds pixels, and is incompatible with the constraints algorithm (these fitness distances would compete with "crop-and-scale" and "none" modes, with unpredictable and undesirable results).

@@ -1247,7 +1254,7 @@ <h2><dfn>MediaTrackCapabilities</dfn></h2>
LongRange height;
DoubleRange aspectRatio;
DoubleRange frameRate;
sequence&lt;DOMString&gt; facingMode;
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume deleting facingMode here was accidental?

@guidou
Copy link
Contributor

guidou commented Jan 11, 2018

The new resizeMode constraints covers resolution. What about the frame rate?

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

3 participants