[Webkit-unassigned] [Bug 180061] New: getUserMedia fails inconsistently with NotReadableError (DOM Exception 27): The I/O read operation failed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 27 16:50:47 PST 2017


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

            Bug ID: 180061
           Summary: getUserMedia fails inconsistently with
                    NotReadableError (DOM Exception 27): The I/O read
                    operation failed.
           Product: WebKit
           Version: Safari 11
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ericthecyclist at gmail.com
                CC: youennf at gmail.com

Created attachment 327714

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

example code that calls getUserMedia

I've included some sample code in the attachment.
What I'm observing is some really inconsistent behavior depending on where the page is hosted.

If the page is hosted "localhost" and develope/webrtc/allow insecure sites is enabled, then getUserMedia always succeeds.
If the page is hosted some sites (like https://webrtc.github.io/samples/src/content/getusermedia/gum/ ), again, it always succeeds.
If the page is hosted on our own https site (which Safari identifies as having a valid certificate), or bl.ocks.org (https://bl.ocks.org/EricDavies/32f085fab3e42ba9c6b3a799e4961c76 ) then once in a blue moon, it succeeds. Otherwise it fails with   "NotReadableError (DOM Exception 27): The I/O read operation failed.". The failure happens after its asked for permission to use the camera and the user has granted it.

Chrome and firefox work consistently in all scenarios.

-- 
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/20171128/8db737a8/attachment.html>


More information about the webkit-unassigned mailing list