[mediacapture-main] Pull Request: Add resizeMode constraint.

jan-ivar has just submitted a new pull request for https://github.com/w3c/mediacapture-main:

== Add resizeMode constraint. ==
Fix for https://github.com/w3c/mediacapture-main/issues/472.

Adds Peter's [TPAC proposal](https://docs.google.com/presentation/d/1Sg_1TVCcKJvZ8Egz5oa0CP01TC2rNdv9HVu7W38Y4zA/edit?ts=59f90fe9#slide=id.g2a6f3cad35_11_0), 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).

See https://github.com/w3c/mediacapture-main/pull/502

Received on Thursday, 11 January 2018 04:33:37 UTC