Re: [mediacapture-main] How to implement web-compatible camera downscaling?

Another difficulty I see with overloading min/max/exact to mean native mode is that resolution is a property determined by the combination of the width, height and aspectRatio constraints.
What happens if some of those constraints have naked values (indicating rescaling) and some have min/max (indicating native)?
In general, constraints control properties that are not always orthogonal, so changes in the range of one constraint can affect the selected value for another property. This is particularly true for width, height and aspectRatio, which together control resolution which is a single value (albeit 2D). Trying to control post-processing of the single output with a trick in (some of?) the constraints does not look like the right way to proceed, IMO. Especially since we have the precedent of doing similar things in audio using additional constraints.


-- 
GitHub Notification of comment by guidou
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/472#issuecomment-320595670 using your GitHub account

Received on Monday, 7 August 2017 07:58:33 UTC