Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add definition of power efficient, remove battery note #221

Merged
merged 6 commits into from
Jul 11, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -782,13 +782,17 @@ spec: encrypted-media-draft; for: EME; urlPrefix: https://w3c.github.io/encrypte
booleans.
</p>

<p class='note'>
Authors can use {{MediaCapabilitiesInfo/powerEfficient}} in concordance
with the Battery Status API [[battery-status]] in order to determine
whether the media they would like to play is appropriate for the user
configuration. It is worth noting that even when a device is not power
constrained, high power usage has side effects such as increasing the
temperature or the fans noise.
<p>
Encoding or decoding is <dfn>power efficient</dfn> when the power draw is optimal or close to optimal.
marcoscaceres marked this conversation as resolved.
Show resolved Hide resolved
The definition of optimal power draw from encoding or decoding is left to the user agent but common
implementation strategies would be to consider using hardware as optimal power draw.
It is NOT RECOMMENDED that user agents mark as power efficient hardware encoding or decoding as
non-accelerated codec be as efficient as to accelerated ones (for example, low resolution videos).
marcoscaceres marked this conversation as resolved.
Show resolved Hide resolved
marcoscaceres marked this conversation as resolved.
Show resolved Hide resolved
The user agent SHOULD NOT
take into consideration the current power source in order to
determine the encoding power efficiency unless the device's power
source has side effects such as enabling different encoding
modules.
</p>

<p>
Expand Down Expand Up @@ -855,7 +859,7 @@ spec: encrypted-media-draft; for: EME; urlPrefix: https://w3c.github.io/encrypte
</li>
<li>
If the user agent is able to encode the media represented by
<var>configuration</var> in a power efficient manner, set
<var>configuration</var> in a [=power efficient=] manner, set
{{MediaCapabilitiesInfo/powerEfficient}} to <code>true</code>.
Otherwise set it to <code>false</code>. The user agent SHOULD NOT
take into consideration the current power source in order to
Expand Down Expand Up @@ -929,7 +933,7 @@ spec: encrypted-media-draft; for: EME; urlPrefix: https://w3c.github.io/encrypte
</li>
<li>
If the user agent is able to decode the media represented by
<var>configuration</var> in a power efficient
<var>configuration</var> in a [=power efficient=]
manner, set {{MediaCapabilitiesInfo/powerEfficient}} to
<code>true</code>. Otherwise set it to <code>false</code>. The
user agent SHOULD NOT take into consideration the current
Expand Down
Loading