diff --git a/index.html b/index.html index 3a1e1fb..628205d 100644 --- a/index.html +++ b/index.html @@ -210,112 +210,8 @@

GetUserMediaSemantics enum

- -
-

The powerEfficientPixelFormat constraint

-
-

MediaTrackSupportedConstraints dictionary extensions

-
-
partial dictionary MediaTrackSupportedConstraints {
-  boolean powerEfficientPixelFormat = true;
-};
-
-

Dictionary {{MediaTrackSupportedConstraints}} Members

-
-
powerEfficientPixelFormat of type - {{boolean}}, defaulting to true
-
See - powerEfficientPixelFormat for details.
-
-
-
-
-
-

MediaTrackCapabilities dictionary extensions

-
-
partial dictionary MediaTrackCapabilities {
-  sequence<boolean> powerEfficientPixelFormat;
-};
-
-

Dictionary {{MediaTrackCapabilities}} Members

-
-
powerEfficientPixelFormat of type - sequence<{{boolean}}>
-
-

If the source only has power efficient pixel formats, a single - true is reported. If the source only has power - inefficient pixel formats, a single false is - reported. If the script can control the feature, the source - reports a list with both true and false - as possible values. See - powerEfficientPixelFormat for additional - details.

-
-
-
-
-
-
-

MediaTrackSettings dictionary extensions

-
-
partial dictionary MediaTrackSettings {
-  boolean powerEfficientPixelFormat;
-};
-
-

Dictionary {{MediaTrackSettings}} Members

-
-
powerEfficientPixelFormat of type - {{boolean}}
-
See - powerEfficientPixelFormat for details.
-
-
-
-

Constrainable Properties

-

The constrainable properties in this document are defined below.

- - - - - - - - - - - - - - - -
Property NameValuesNotes
- powerEfficientPixelFormat{{ConstrainBoolean}} -

Compressed pixel formats often need to be decoded, for instance - for display purposes or when being encoded during a video call. - The user agent SHOULD label compressed pixel formats that incur - significant power penalty when decoded as power inefficient. The - labeling is up to the user agent, but decoding MJPEG in software - is an example of an expensive mode. Pixel formats that have not - been labeled power inefficient by the user agent are for the - purpose of this API considered power efficient.

-

As a constraint, setting it to true allows filtering out - inefficient pixel formats and setting it to false allows filtering - out efficient pixel formats.

-

As a setting, this reflects whether or not the current pixel - format is considered power efficient by the user agent.

-
-
-

Algorithms

+

Algorithms

When the {{MediaDevices/getUserMedia()}} method is invoked, run the following steps before invoking the {{MediaDevices/getUserMedia()}} algorithm:

@@ -402,7 +298,7 @@

Algorithms

-

Examples

+

Examples

This example shows a setup with a start button and a camera selector using the new semantics (microphone is not shown for brievity but is @@ -523,6 +419,109 @@

Transferable MediaStreamTrack

In a sense, between these steps, the data holder is attached to the underlying source as if it was a track.

+
+

The powerEfficientPixelFormat constraint

+
+

MediaTrackSupportedConstraints dictionary extensions

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

Dictionary {{MediaTrackSupportedConstraints}} Members

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

MediaTrackCapabilities dictionary extensions

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

Dictionary {{MediaTrackCapabilities}} Members

+
+
powerEfficientPixelFormat of type + sequence<{{boolean}}>
+
+

If the source only has power efficient pixel formats, a single + true is reported. If the source only has power + inefficient pixel formats, a single false is + reported. If the script can control the feature, the source + reports a list with both true and false + as possible values. See + powerEfficientPixelFormat for additional + details.

+
+
+
+
+
+
+

MediaTrackSettings dictionary extensions

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

Dictionary {{MediaTrackSettings}} Members

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

Constrainable Properties

+

The constrainable properties in this document are defined below.

+ + + + + + + + + + + + + + + +
Property NameValuesNotes
+ powerEfficientPixelFormat{{ConstrainBoolean}} +

Compressed pixel formats often need to be decoded, for instance + for display purposes or when being encoded during a video call. + The user agent SHOULD label compressed pixel formats that incur + significant power penalty when decoded as power inefficient. The + labeling is up to the user agent, but decoding MJPEG in software + is an example of an expensive mode. Pixel formats that have not + been labeled power inefficient by the user agent are for the + purpose of this API considered power efficient.

+

As a constraint, setting it to true allows filtering out + inefficient pixel formats and setting it to false allows filtering + out efficient pixel formats.

+

As a setting, this reflects whether or not the current pixel + format is considered power efficient by the user agent.

+
+

Exposing MediaStreamTrack source background blur support