Title: [288110] trunk/Source/WebCore
- Revision
- 288110
- Author
- [email protected]
- Date
- 2022-01-17 23:54:32 -0800 (Mon, 17 Jan 2022)
Log Message
BaseAudioSharedUnit::devicesChanged is failing capture too much in GPUProcess
https://bugs.webkit.org/show_bug.cgi?id=235288
Reviewed by Eric Carlson.
Manually tested.
* platform/mediastream/mac/CoreAudioCaptureDeviceManager.h:
In GPUProcess, we do not need to filter tap enabled devices, since this may filter out valid devices, which may break capture.
Given we only need to filter tap enabled devices in the process that enumerates devices for selecting the one to use,
We can reverse the default value to not filter, and enable the filtering in UIProcess as done currently based on whether capturing in GPUProcess or not.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (288109 => 288110)
--- trunk/Source/WebCore/ChangeLog 2022-01-18 07:35:48 UTC (rev 288109)
+++ trunk/Source/WebCore/ChangeLog 2022-01-18 07:54:32 UTC (rev 288110)
@@ -1,5 +1,19 @@
2022-01-17 Youenn Fablet <[email protected]>
+ BaseAudioSharedUnit::devicesChanged is failing capture too much in GPUProcess
+ https://bugs.webkit.org/show_bug.cgi?id=235288
+
+ Reviewed by Eric Carlson.
+
+ Manually tested.
+
+ * platform/mediastream/mac/CoreAudioCaptureDeviceManager.h:
+ In GPUProcess, we do not need to filter tap enabled devices, since this may filter out valid devices, which may break capture.
+ Given we only need to filter tap enabled devices in the process that enumerates devices for selecting the one to use,
+ We can reverse the default value to not filter, and enable the filtering in UIProcess as done currently based on whether capturing in GPUProcess or not.
+
+2022-01-17 Youenn Fablet <[email protected]>
+
AudioMediaStreamTrackRendererUnit::reset should hop to the main thread before calling its observers
https://bugs.webkit.org/show_bug.cgi?id=235290
Modified: trunk/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.h (288109 => 288110)
--- trunk/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.h 2022-01-18 07:35:48 UTC (rev 288109)
+++ trunk/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.h 2022-01-18 07:54:32 UTC (rev 288110)
@@ -62,7 +62,7 @@
Vector<CaptureDevice> m_speakerDevices;
Vector<CoreAudioCaptureDevice> m_coreAudioCaptureDevices;
bool m_wasRefreshAudioCaptureDevicesScheduled { false };
- bool m_filterTapEnabledDevices { true };
+ bool m_filterTapEnabledDevices { false };
};
} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes