[Webkit-unassigned] [Bug 187896] New: 'ended' Event doesn't fire on MediaStreamTrack when a USB camera is unplugged

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 22 18:32:11 PDT 2018


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

            Bug ID: 187896
           Summary: 'ended' Event doesn't fire on MediaStreamTrack when a
                    USB camera is unplugged
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: adam at tokbox.com
                CC: youennf at gmail.com

Steps to reproduce:

1. Plug in a USB web cam
2. Go to https://output.jsbin.com/fofeyan
3. Choose the USB webcam as your camera and click the switch device button
4. Allow access to the camera and wait for it to be acquired.
5. Unplug the USB webcam

Expected result: You get an alert saying 'track ended'. This happens in Chrome and Firefox. But in Safari there is no 'ended' Event on the MediaStreamTrack.

I tested this in Safari Tech Preview 12.0 and it's not firing there either.

-- 
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/20180723/7ae5099b/attachment.html>


More information about the webkit-unassigned mailing list