[webkit-changes] [WebKit/WebKit] a41543: InputDevice capabilities are not required until ca...

Eric Carlson noreply at github.com
Fri Aug 4 07:28:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a41543cba4bf7e50a7b5f873eaf84a449974cdce
      https://github.com/WebKit/WebKit/commit/a41543cba4bf7e50a7b5f873eaf84a449974cdce
  Author: Eric Carlson <eric.carlson at apple.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp

  Log Message:
  -----------
  InputDevice capabilities are not required until capture is active
https://bugs.webkit.org/show_bug.cgi?id=259814
rdar://113271473

Reviewed by Jer Noble.

InputDevice capabilities are not exposed until after the user has given consent to
capture, so don't bother asking for them unless they will be revealed as activating the
AVAudioSession may change the characteristics of the audio rendering in other processes.

* Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp:
(WebKit::UserMediaPermissionRequestManagerProxy::platformGetMediaStreamDevices):

Canonical link: https://commits.webkit.org/266581@main




More information about the webkit-changes mailing list