[webkit-changes] [WebKit/WebKit] f2949a: Filter out virtual devices from the speaker list
youennf
noreply at github.com
Mon Jan 13 01:40:13 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f2949ad3bb1cf358d66c07b773feecdc1b99526b
https://github.com/WebKit/WebKit/commit/f2949ad3bb1cf358d66c07b773feecdc1b99526b
Author: Youenn Fablet <youenn at apple.com>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.cpp
Log Message:
-----------
Filter out virtual devices from the speaker list
rdar://142577212
https://bugs.webkit.org/show_bug.cgi?id=285670
Reviewed by Andy Estes and Eric Carlson.
Some applications install virtual audio drivers and we should not expose them as speaker.
Like done for microphone, we use labels to filter out webex and MS Teams virtual devices.
Manually tested.
* Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.cpp:
(WebCore::isVirtualDeviceFromLabel):
(WebCore::isValidMicrophoneDevice):
(WebCore::isValidSpeakerDevice):
(WebCore::computeAudioDeviceList):
(WebCore::isValidCaptureDevice): Deleted.
Canonical link: https://commits.webkit.org/288790@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list