Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6cb21fd129afdcb268ab2406cd68e7d0d6ce877d
      
https://github.com/WebKit/WebKit/commit/6cb21fd129afdcb268ab2406cd68e7d0d6ce877d
  Author: Youenn Fablet <[email protected]>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M LayoutTests/fast/mediastream/enumerate-speaker.html
    M LayoutTests/http/tests/media/media-stream/enumerate-devices-source-id.html
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/Modules/mediastream/MediaDevices.cpp
    M Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp

  Log Message:
  -----------
  Add an option to enumerate all speakers when microphones are enumerated
rdar://140269619
https://bugs.webkit.org/show_bug.cgi?id=283413

Reviewed by Jean-Yves Avenard.

We add an option to expose all speakers to a web page when microphone access is 
granted.
This aligns with Chrome and is handy to expose built-in speakers that are hard 
to relate with the built-in microphones as well as external speakers or 
monitors without microphone/

* LayoutTests/fast/mediastream/enumerate-speaker.html:
* LayoutTests/http/tests/media/media-stream/enumerate-devices-source-id.html:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Modules/mediastream/MediaDevices.cpp:
(WebCore::exposeSpeakersWithoutMicrophoneAccess):
(WebCore::haveMicrophoneDevice):
(WebCore::MediaDevices::exposeDevices):
* Source/WebKit/UIProcess/UserMediaPermissionRequestManagerProxy.cpp:
(WebKit::UserMediaPermissionRequestManagerProxy::computeFilteredDeviceList):
(WebKit::haveMicrophoneDevice): Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to