Re: [mediacapture-transform] MediaStreamTrackGenerator/MediaStream should buffer the current frame (#114)

`track.requestFrame();` will trigger a frame emition but the frame emition might happen asynchronously (even in a different thread). Hence why it might be rendered.

Please also note that, as per spec, video frames would be enqueued in a worker.
So you would need to ensure srcObject is set in window before enqueueing video frames in the worker (through postMessage).

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-transform/issues/114#issuecomment-2486187777 using your GitHub account


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

Received on Tuesday, 19 November 2024 16:28:05 UTC