Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a32f49ed4f930231a8fbaa3ed4a46f044351a36f
https://github.com/WebKit/WebKit/commit/a32f49ed4f930231a8fbaa3ed4a46f044351a36f
Author: Ahmad Saleem <[email protected]>
Date: 2026-07-23 (Thu, 23 Jul 2026)
Changed paths:
M
Source/WebCore/platform/mediastream/cocoa/CoreAudioCaptureDeviceManager.cpp
Log Message:
-----------
CoreAudioCaptureDeviceManager::refreshAudioCaptureDevices() misses device
changes when label or group ID changes
https://bugs.webkit.org/show_bug.cgi?id=319999
rdar://182936070
Reviewed by Eric Carlson.
The per-device comparison in refreshAudioCaptureDevices() checked
newDevice.isDefault() != oldDevice.isDefault() twice instead of also
comparing label() and groupId(). As a result, a device whose label or
group ID changed (but not its type, deviceID, default status, or
enabled state) was not detected as changed, and deviceChanged() was
never fired for it.
* Source/WebCore/platform/mediastream/cocoa/CoreAudioCaptureDeviceManager.cpp:
(WebCore::CoreAudioCaptureDeviceManager::refreshAudioCaptureDevices):
Canonical link: https://commits.webkit.org/317812@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications