- From: Tackoil via GitHub <sysbot+gh@w3.org>
- Date: Fri, 29 Nov 2024 05:51:27 +0000
- To: public-webrtc@w3.org
Tackoil has just created a new issue for https://github.com/w3c/mediacapture-fromelement:
== The value of `getSettings().frameRate` when captureStream(0) ==
In spec, `captureStream(0)` will allow user controlling the frame capture manually. However, the video track from the captured stream will contain a `frameRate` property with calling `getSettings()`.
```JavaScript
const stream = canvas.captureStream(0);
const track = stream.getVideoTracks()[0];
const { framRate } = track?.getSettings() ?? {};
```
So which value will be a better choice? The estimated value or the `frameRequestRate`?
FYI, Chrome will get `0` currently. (M131)
Please view or discuss this issue at https://github.com/w3c/mediacapture-fromelement/issues/102 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 29 November 2024 05:51:28 UTC