diff --git a/getusermedia.html b/getusermedia.html index 169093cd..61390f79 100644 --- a/getusermedia.html +++ b/getusermedia.html @@ -4114,15 +4114,19 @@
We define the fitness distance between a settings dictionary and a constraint set CS as - the sum, for each constraint provided for a constraint name in + the sum, for each member (represented by a + constraintName and constraintValue pair) + present in CS, of the following values:
If the constraint is not supported by the browser, the - fitness distance is 0.
+If constraintName is not supported by the + browser, the fitness distance is 0.
If the constraint is required ('min', 'max', or 'exact'), +
If the constraint is required (constraintValue either + contains one or more members named 'min', 'max', or 'exact', or is + itself a bare value and bare values are to be treated as 'exact'), and the settings dictionary's value for the constraint does not satisfy the constraint, the fitness distance is positive infinity.
@@ -4132,20 +4136,20 @@(actual == ideal) ? 0 : |actual - - ideal|/max(|actual|,|ideal|) -+
+(actual == ideal) ? 0 : |actual - ideal| / max(|actual|, |ideal|)
(actual == ideal) ? 0 : 1 -+
(actual == ideal) ? 0 : 1
More definitions:
@@ -4185,7 +4189,7 @@