[Webkit-unassigned] [Bug 194802] New: Video freezes when attaching a local MediaStream to multiple elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 18 17:57:12 PST 2019


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

            Bug ID: 194802
           Summary: Video freezes when attaching a local MediaStream to
                    multiple elements
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kentbriggs5 at gmail.com
                CC: youennf at gmail.com

My video freezes when attaching a local MediaStream to multiple video elements.

Steps to reproduce:
1. Capture your camera with getUserMedia()
2. Display your local video with videoElement.srcObject = mediaStream
3. Display your local video in a 2nd video element

Expected behaviour
Both video elements play the video

Actual behaviour
The first video element sometimes freezes when attaching the stream to the 2nd element. The video element doesn't go to a paused state, it just looks frozen. If you attach the mediaStream to a 3rd element then the 1st and 2nd may both freeze. Sometimes the frozen videos will unfreeze when attaching the mediaStream to another element. Sometimes the frozen videos will only freeze for a second or two. Other times they will remain frozen until attaching the stream to a new element.

Devices
I am seeing this on my MacBook Pro in the Safari Technology Preview (12.2) and on my iPad Mini 2 on the Apple beta program (12.2). I am _not_ seeing it in the stable Safari on my Mac (12.0.3), or the stable iOS version on my iPhone 5s (12.1.3).

Repro
https://codepen.io/dbriggs/pen/gqqpeZ

-- 
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/20190219/8ba18f5e/attachment.html>


More information about the webkit-unassigned mailing list