diff --git a/index.html b/index.html index 3a1e1fb..628205d 100644 --- a/index.html +++ b/index.html @@ -210,112 +210,8 @@
partial dictionary MediaTrackSupportedConstraints { - boolean powerEfficientPixelFormat = true; -};-
true
partial dictionary MediaTrackCapabilities { - sequence<boolean> powerEfficientPixelFormat; -};-
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.
partial dictionary MediaTrackSettings { - boolean powerEfficientPixelFormat; -};-
The constrainable properties in this document are defined below.
-Property Name | -Values | -Notes | -
---|---|---|
- 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. - |
-
When the {{MediaDevices/getUserMedia()}} method is invoked, run the following steps before invoking the {{MediaDevices/getUserMedia()}} algorithm:
@@ -402,7 +298,7 @@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 @@
partial dictionary MediaTrackSupportedConstraints { + boolean powerEfficientPixelFormat = true; +};+
true
partial dictionary MediaTrackCapabilities { + sequence<boolean> powerEfficientPixelFormat; +};+
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.
partial dictionary MediaTrackSettings { + boolean powerEfficientPixelFormat; +};+
The constrainable properties in this document are defined below.
+Property Name | +Values | +Notes | +
---|---|---|
+ 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. + |
+