[mediacapture-main] MediaStreamTrack.getSettings().frameRate should reflect configured rate, not actual (#906)

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

== MediaStreamTrack.getSettings().frameRate should reflect configured rate, not actual ==
Sub-issue of #826.

Problem: As explained in #826, some implementations are inconsistent in whether frameRate is a setting or a measurement.

Proposal: Both the setting and the actual is of interest, but getSettings() sometimes not returning a setting is just confusing. Let's clarify it is the setting. In other words:
- If the camera/source is configured for 30 fps, settings.frameRate should say 30, even if the camera is only able to produce 20 fps.
- If the source is configured to do frame decimation to 25 fps, settings.frameRate should say 25, even if the camera is only able to produce 20 fps.

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


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

Received on Friday, 7 October 2022 07:51:19 UTC