From 5ecbfdedbead802bcdfd5a4b7626ddcc69461ca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Bostr=C3=B6m?= Date: Wed, 12 Oct 2022 12:17:54 +0200 Subject: [PATCH 1/2] Fixes #906. --- getusermedia.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/getusermedia.html b/getusermedia.html index 90acad1e..265abc25 100644 --- a/getusermedia.html +++ b/getusermedia.html @@ -1774,7 +1774,7 @@

Constrainable Properties

frameRate {{ConstrainDouble}} - The exact frame rate (frames per second) or frame rate range. +

The exact frame rate (frames per second) or frame rate range. If video source's pre-set can determine frame rate values, the range, as a capacity, should span the video source's pre-set frame rate values with min being equal to 0 and max being the largest frame rate. @@ -1783,7 +1783,14 @@

Constrainable Properties

If this frame rate cannot be determined (e.g. the source does not natively provide a frame rate, or the frame rate cannot be determined from the source stream), then this value MUST refer to - the [=User Agent=]'s vsync display rate. + the [=User Agent=]'s vsync display rate.

+

As a setting, this value represents the configured frame rate. + If decimation is used, this is that value rather than the native + frame rate. For example, if the setting is 25 frames per second + via decimation, the native frame rate of the camera is 30 frames + per second but due to lighting conditions only 20 frames per + second is achieved, {{frameRate}} reports the setting: 25 frames + per second.

aspectRatio From 435f33856f07a27b971e27836a8f81ad91560491 Mon Sep 17 00:00:00 2001 From: henbos Date: Wed, 12 Oct 2022 12:43:40 +0200 Subject: [PATCH 2/2] Update getusermedia.html Co-authored-by: youennf --- getusermedia.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getusermedia.html b/getusermedia.html index 265abc25..8943a030 100644 --- a/getusermedia.html +++ b/getusermedia.html @@ -1774,7 +1774,7 @@

Constrainable Properties

frameRate {{ConstrainDouble}} -

The exact frame rate (frames per second) or frame rate range. +

The frame rate (frames per second) or frame rate range. If video source's pre-set can determine frame rate values, the range, as a capacity, should span the video source's pre-set frame rate values with min being equal to 0 and max being the largest frame rate.