diff --git a/index.html b/index.html index e9f1fd8..d48ea70 100644 --- a/index.html +++ b/index.html @@ -928,9 +928,129 @@
partial dictionary MediaTrackSupportedConstraints { + boolean powerEfficient = true; +};+
true
partial dictionary MediaTrackCapabilities { + sequence<boolean> powerEfficient; +};+
sequence<{{boolean}}>
The source may operate in different configurations.
+ If all configurations have the same power efficiency
+ impact, a single false
is reported.
+ Otherwise, the source reports a list with
+ both true
and false
+ as possible values. See
+ powerEfficient for additional
+ details.
partial dictionary MediaTrackSettings { + boolean powerEfficient; +};+
The constrainable properties in this document are defined below.
+Property Name | +Values | +Notes | +
---|---|---|
+ powerEfficient | +{{ConstrainBoolean}} | +
+ + Cameras can often operate in different configurations. + Configurations are typically selected based on constraints + that are related to observable parameters like width or height. + Configurations may have less directly observable characteristics: + power consumption, low light sensitivity, fast autofocus... + The powerEfficient constraint allows web applications to + favor selection of configurations that consume less power. + This may be useful for web applications that may use the camera + for an extended amount of time, like video conference web applications. + On the other hand, applications that may use the camera for a small amount + of time may prefer to not use the powerEfficient constraint. + This constraint is only applicable to camera sources. + +As a constraint, setting it to true instructs the user agent + to prefer configuration that it considers power efficient. + |
+