[Webkit-unassigned] [Bug 153588] REGRESSION (Safari 9): drawImage doesn't paint the current frame of a video

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 27 21:26:53 PDT 2016


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

Daniel Rossi <electroteque at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |electroteque at gmail.com

--- Comment #10 from Daniel Rossi <electroteque at gmail.com> ---
This is a known issue and requires drawing twice. 

Simply before doing the real draw and capture

 context.drawImage(video, 0, 0);

Call this with a 1 second delay before capturing again. 

 var canvas = this.createCanvas(),
    context = canvas.getContext("2d");
    context.drawImage(container, 0, 0);
    this.clearCanvas(canvas);

    setTimeout(function() {
        onSuccess(container);
    }, 1000);

Saying that you still need to use a CORS proxy for Safari so bring up a second stream and seek, then pre capture then do the real capture. Alot of mucking around for Safari. Even with mediasource it requires the same reloading of the stream and seeking.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160628/f5c8a4e4/attachment.html>


More information about the webkit-unassigned mailing list