w3c / mediacapture-extensions

Extensions to Media Capture and Streams by the WebRTC Working Group
https://w3c.github.io/mediacapture-extensions/
Other
19 stars 14 forks source link

How to select camera presets that have better power efficiency at the expense of quality? #149

Closed youennf closed 1 week ago

youennf commented 3 weeks ago

OS typically exposes camera presets with fixed settings, for instance https://developer.apple.com/documentation/avfoundation/avcapturedevice/format.

Some of these presets have better power efficiency than others, this is for instance the case of videoBinned formats.

There is already powerEfficientPixelFormat, but it is dedicated to pixel formats.

Would it make sense to reuse this constraint to favor power efficient camera presets, or would it make sense to use another constraint?

youennf commented 3 weeks ago

It was suggested to not use powerEfficientPixelFormat but instead deprecate it and define a new constraint, for instance powerEfficient.

dontcallmedom-bot commented 2 weeks ago

This issue had an associated resolution in WebRTC June 18 2024 meeting – 18 June 2024 (Issue #149 How to select camera presets that have better power efficiency at the expense of quality?):

RESOLUTION: Proceed with a pull request to add a powerEfficient constraint