[mediacapture-image] Add support for powerline frequency on gUM MediaTrackSupportedConstraints (#294)

murillo128 has just created a new issue for https://github.com/w3c/mediacapture-image:

== Add support for powerline frequency on gUM MediaTrackSupportedConstraints ==
AFAIK there is no way to control the power line frequency of the video capture device to reduce the light flickering.

The idea would be to add a new `powerLineFrequency` constraint that can take the following values:

- Auto: The power-line frequency is determined automatically by the system.
- Disabled : Power-line frequency control is disabled.
- 50Hz: The power-line frequency is 50 Hz.
- 60Hz: The power-line frequency is 60 Hz.

For ref:
https://learn.microsoft.com/en-us/uwp/api/windows.media.devices.videodevicecontroller.trysetpowerlinefrequency?view=winrt-22621#windows-media-devices-videodevicecontroller-trysetpowerlinefrequency(windows-media-capture-powerlinefrequency)
https://learn.microsoft.com/en-us/uwp/api/windows.media.capture.powerlinefrequency?view=winrt-22621

Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/294 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 22 September 2022 12:53:31 UTC