Title: [245407] trunk/Source/WebCore
Revision
245407
Author
[email protected]
Date
2019-05-16 14:50:05 -0700 (Thu, 16 May 2019)

Log Message

CoreAudioCaptureSource should be marked as an audio capture track
https://bugs.webkit.org/show_bug.cgi?id=197953
<rdar://problem/50552007>

Reviewed by Eric Carlson.

Manually tested.

* platform/mediastream/mac/CoreAudioCaptureSource.h:
Mark it as microphone so that it can get muted properly.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (245406 => 245407)


--- trunk/Source/WebCore/ChangeLog	2019-05-16 20:08:22 UTC (rev 245406)
+++ trunk/Source/WebCore/ChangeLog	2019-05-16 21:50:05 UTC (rev 245407)
@@ -1,3 +1,16 @@
+2019-05-16  Youenn Fablet  <[email protected]>
+
+        CoreAudioCaptureSource should be marked as an audio capture track
+        https://bugs.webkit.org/show_bug.cgi?id=197953
+        <rdar://problem/50552007>
+
+        Reviewed by Eric Carlson.
+
+        Manually tested.
+
+        * platform/mediastream/mac/CoreAudioCaptureSource.h:
+        Mark it as microphone so that it can get muted properly.
+
 2019-05-16  Alex Christensen  <[email protected]>
 
         Add SPI to set a list of hosts to which to send custom header fields cross-origin

Modified: trunk/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.h (245406 => 245407)


--- trunk/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.h	2019-05-16 20:08:22 UTC (rev 245406)
+++ trunk/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.h	2019-05-16 21:50:05 UTC (rev 245407)
@@ -92,6 +92,7 @@
     void settingsDidChange(OptionSet<RealtimeMediaSourceSettings::Flag>) final;
 
     bool interrupted() const final;
+    CaptureDevice::DeviceType deviceType() const final { return CaptureDevice::DeviceType::Microphone; }
 
     void initializeToStartProducingData();
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to