[Webkit-unassigned] [Bug 162147] New: [MediaStream] Resolve constraints and enumerate devices in the UI process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 19 06:27:44 PDT 2016


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

            Bug ID: 162147
           Summary: [MediaStream] Resolve constraints and enumerate
                    devices in the UI process
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: eric.carlson at apple.com
                CC: dino at apple.com, jer.noble at apple.com,
                    thiago.lacerda at openbossa.org

On OSX and iOS, the WebCore sandbox profile does not allow it to access media capture devices. The UI process will grant sandbox extensions giving access to capture devices after the user has consented to the gUM request, but this is a problem in two cases:

- evaluating the initial constraints passed to gUM to see if the user should be prompted (eg. there is no reason to ask the user for permission if the constraints can't be satisfied at all).
- when MediaDevices.enumerateDevices is called before gUM.

To fix this, both of these tasks should be performed in the UI process.

-- 
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/20160919/6301c4e6/attachment.html>


More information about the webkit-unassigned mailing list