[mediacapture-main] Undefined how video dimension constraints are met

stefhak has just created a new issue for https://github.com/w3c/mediacapture-main:

== Undefined how video dimension constraints are met ==
As far as I read the spec, it is not defined _how_ constraints on (video track) width, height and aspectRatio are met. Will the video be scaled down, cropped, a combination? Will it be letterboxed/pillarboxed?

A concrete use case that has been discussed is one where square 100x100 thumbnails are to be shown (at a remote end point). Say the camera  produces a 16:9 high resolution video feed, applying constraints ```width:100, height:100``` should ideally scale down to height 100 and then crop the width to 100 in this use case.

We should discuss this at TPAC.

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/495 using your GitHub account

Received on Friday, 20 October 2017 17:28:52 UTC