[Webkit-unassigned] [Bug 216874] New: REGRESSION: getUserMedia video does not display correctly if acquired immediately after stopping previous stream

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 23 06:11:18 PDT 2020


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

            Bug ID: 216874
           Summary: REGRESSION: getUserMedia video does not display
                    correctly if acquired immediately after stopping
                    previous stream
           Product: WebKit
           Version: Safari 14
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Keywords: HasReduction
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sergey.t at sumsub.com
                CC: youennf at gmail.com

Created attachment 409467

  --> https://bugs.webkit.org/attachment.cgi?id=409467&action=review

Test case reduction

If navigator.mediaDevices.getUserMedia called the second time immediately after the closing the previous camera screen, the call succeeds, but the resulting stream does not display correctly:

- assigning it to srcObject of the video element does not start the playback
- said video element does not emit any events

Adding ~500ms delay between closing the previous stream and starting the next one fixes the problem. 
It also worked correctly without a delay on Desktop Safari 13.

See attachment for reproduction.
Expected result: camera stream is playing in the video element.

-- 
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/20200923/e2c094c0/attachment.htm>


More information about the webkit-unassigned mailing list