diff --git a/index.html b/index.html index e9f1fd8..d48ea70 100644 --- a/index.html +++ b/index.html @@ -928,9 +928,129 @@

Methods

+
+

The powerEfficient constraint

+
+

MediaTrackSupportedConstraints dictionary extensions

+
+
partial dictionary MediaTrackSupportedConstraints {
+  boolean powerEfficient = true;
+};
+
+

Dictionary {{MediaTrackSupportedConstraints}} Members

+
+
powerEfficient of type + {{boolean}}, defaulting to true
+
See + powerEfficient for details.
+
+
+
+
+
+

MediaTrackCapabilities dictionary extensions

+
+
partial dictionary MediaTrackCapabilities {
+  sequence<boolean> powerEfficient;
+};
+
+

Dictionary {{MediaTrackCapabilities}} Members

+
+
powerEfficient of type + 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.

+
+
+
+
+
+
+

MediaTrackSettings dictionary extensions

+
+
partial dictionary MediaTrackSettings {
+  boolean powerEfficient;
+};
+
+

Dictionary {{MediaTrackSettings}} Members

+
+
powerEfficient of type + {{boolean}}
+
See + powerEfficient for details.
+
+
+
+

Constrainable Properties

+

The constrainable properties in this document are defined below.

+ + + + + + + + + + + + + +
+ This constraint is not usable with getUserMedia as a mandatory + constraint, since it's not in allowed required constraints for + device selection. User Agents MAY use it for device selection + though the current distance algorithm is not directly applicable + as devices may have different power consumptions while having the + same `powerEfficient` capabilities. +
+ + +
Property NameValuesNotes
+ 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.

+
+

The powerEfficientPixelFormat constraint

+
+ This constraint is somewhat redundant with the powerEfficient + constraint. It may be removed in a future version of this + specification. +

MediaTrackSupportedConstraints dictionary extensions