[Webkit-unassigned] [Bug 224960] New: Canvas capture stream should always emit its first frame.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 22 17:06:48 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224960

            Bug ID: 224960
           Summary: Canvas capture stream should always emit its first
                    frame.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jya at apple.com
                CC: youennf at gmail.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210423/b5903090/attachment-0001.htm>


More information about the webkit-unassigned mailing list