[mediacapture-main] applyConstraints algorithm is imprecise in how to select the actual settings values (#729)

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

== applyConstraints algorithm is imprecise in how to select the actual settings values ==
Step 6 of the algorithm is stating "Select one settings dictionary from candidates, and return it as the result of the SelectSettings algorithm. The UA SHOULD use the one with the smallest fitness distance, as calculated in step 3, but MAY prefer ones with resizeMode set to "none" over "crop-and-scale".

It is not clear how to implement consistently the selection since several settings might have the same fitness distance.
Should the specification define how to break potential ties.
Also, is there a way we could try to have MUST instead of SHOULD+MAY.

Experiments should be done to understand how big this is an actual interoperability issue.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 28 September 2020 13:01:05 UTC