NEW 224960
Canvas capture stream should always emit its first frame.
https://bugs.webkit.org/show_bug.cgi?id=224960
Summary Canvas capture stream should always emit its first frame.
Jean-Yves Avenard [:jya]
Reported 2021-04-22 17:06:48 PDT
Seen in bug 220972. The test video-vp8-videorange.html added draw into a canvas and create a MediaStream that is passed to a RTCPeerConnection. The remote RTCPeerConnection's MediaStream is then set as source for a video element we then wait for the video element's play promise to be resolved to continue. The play promise won't be resolved unless you continuously update the canvas. It appears that MediaPlayerPrivateMediaStreamAVFObjC::updateReadyState() will not move past HAVE_METADATA if the canvas emitted its frame before the video element was setup.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-04-26 09:23:08 PDT
Note You need to log in before you can comment on or make changes to this bug.