Title: [289277] branches/safari-613-branch/Source/WebCore
Revision
289277
Author
[email protected]
Date
2022-02-07 18:53:27 -0800 (Mon, 07 Feb 2022)

Log Message

Cherry-pick r288110. rdar://problem/87699178

    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.

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288110 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-613-branch/Source/WebCore/ChangeLog (289276 => 289277)


--- branches/safari-613-branch/Source/WebCore/ChangeLog	2022-02-08 02:53:24 UTC (rev 289276)
+++ branches/safari-613-branch/Source/WebCore/ChangeLog	2022-02-08 02:53:27 UTC (rev 289277)
@@ -1,5 +1,38 @@
 2022-02-07  Russell Epstein  <[email protected]>
 
+        Cherry-pick r288110. rdar://problem/87699178
+
+    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.
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    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-02-07  Russell Epstein  <[email protected]>
+
         Cherry-pick r288076. rdar://problem/83863292
 
     Ensure in flight layer transactions don't accumulate further canvas drawing

Modified: branches/safari-613-branch/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.h (289276 => 289277)


--- branches/safari-613-branch/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.h	2022-02-08 02:53:24 UTC (rev 289276)
+++ branches/safari-613-branch/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureDeviceManager.h	2022-02-08 02:53:27 UTC (rev 289277)
@@ -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

Reply via email to