Re: [mediacapture-record] Ability to tell MediaRecorder to maximize frame rate (#177)

> In theory `canvas.captureStream(0)` and `<CanvasCaptureMediaStream|MediaStream>.requestFrame()` and `ImageCapture.grabFrame()` and can be used to create video with the required frame rate, https://github.com/guest271314/MediaFragmentRecorder/blob/imagecapture-audiocontext-readablestream-writablestream/MediaFragmentRecorder.html, https://plnkr.co/edit/oYRSCpNQAL92Yb5o?preview.

Canvas stream capture makes it worse even with vp8 encoding since it has to a lot more work to do.

Also, RequestFrame would involve running a loop and there is no way one can sync with the frame rate being provided without losing frames and/or affecting the UI performance.

-- 
GitHub Notification of comment by sr1dh4r
Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/177#issuecomment-660857005 using your GitHub account

Received on Monday, 20 July 2020 07:33:27 UTC