For questions about the requestFrame() method for HTML canvas elements
Questions tagged [requestframe]
4 questions
2
votes
1 answer
First frame from captureStream() not sending
We're working on a project where people can be in a chat room with their webcams, and they can grab a snapshot of someone's cam at that moment, do some annotations on top of it, and then share that modified picture as if it was their own webcam…

marianopicco
- 83
- 9
2
votes
0 answers
Is it possible to feed MediaStream frames at lower framerate?
I would like to use MediaStream.captureStream() method, but it is either rendered useless due to specification and bugs or I am using it totally wrong.
I know that captureStream gets maximal framerate as the parameter, not constant and it does not…

Evil
- 460
- 1
- 11
- 25
1
vote
0 answers
Capturing a stream from a canvas, requestFrame won't work unless the canvas has changed. What is a fast way to make an invisible change to a canvas?
requestFrame will not add a frame to the MediaRecorder stream unless the canvas has changed. I have several unchanged frames in a row that I want in my video, so I think I need to trick requestFrame into thinking the canvas has changed. What's a…

Keith Carter
- 422
- 1
- 6
- 18
0
votes
0 answers
I am using captureStream with a frame rate of 0 to capture frames from a webgl canvas. How to trick requestFrame into thinking the canvas has changed?
My understanding is requestFrame will not add frames to the stream unless it believes the canvas has changed. I want to have some periods in my video where the same frame appears multiple times in a row. How can I trick requestFrame into believing…

Keith Carter
- 422
- 1
- 6
- 18