Title: [253617] trunk
Revision
253617
Author
[email protected]
Date
2019-12-17 02:11:39 -0800 (Tue, 17 Dec 2019)

Log Message

[GStreamer][WPE] Fix regressions related to our 'Fix GStreamer capturer mock' patch
https://bugs.webkit.org/show_bug.cgi?id=205270

Source/WebCore:

MockGStreamerAudioCaptureSource rightfully defaults to echoCancellation=True,
see https://bugs.webkit.org/show_bug.cgi?id=205057

Patch by Thibault Saunier <[email protected]> on 2019-12-17
Reviewed by Philippe Normand.

This fixes existing tests

* platform/mediastream/gstreamer/MockGStreamerAudioCaptureSource.cpp:
(WebCore::WrappedMockRealtimeAudioSource::addHum):

LayoutTests:

Skip GPUProcess related tests

Patch by Thibault Saunier <[email protected]> on 2019-12-17
Reviewed by Philippe Normand.

* platform/gtk/TestExpectations:
* platform/wpe/TestExpectations:
* webrtc/peer-connection-audio-mute.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (253616 => 253617)


--- trunk/LayoutTests/ChangeLog	2019-12-17 09:51:54 UTC (rev 253616)
+++ trunk/LayoutTests/ChangeLog	2019-12-17 10:11:39 UTC (rev 253617)
@@ -1,3 +1,16 @@
+2019-12-17  Thibault Saunier  <[email protected]>
+
+        [GStreamer][WPE] Fix regressions related to our 'Fix GStreamer capturer mock' patch
+        https://bugs.webkit.org/show_bug.cgi?id=205270
+
+        Skip GPUProcess related tests
+
+        Reviewed by Philippe Normand.
+
+        * platform/gtk/TestExpectations:
+        * platform/wpe/TestExpectations:
+        * webrtc/peer-connection-audio-mute.html:
+
 2019-12-17  Antti Koivisto  <[email protected]>
 
         Resolve dynamic media queries without reconstructing RuleSets

Modified: trunk/LayoutTests/platform/gtk/TestExpectations (253616 => 253617)


--- trunk/LayoutTests/platform/gtk/TestExpectations	2019-12-17 09:51:54 UTC (rev 253616)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2019-12-17 10:11:39 UTC (rev 253617)
@@ -592,6 +592,9 @@
 
 webkit.org/b/190576 fast/mediastream/get-user-media-device-id.html [ Failure ]
 
+# No support for GPUProcess yet
+fast/mediastream/captureAudioInGPUProcess.html [ Skip ]
+
 # Requires Resolution Media Query support
 webkit.org/b/100137 fast/media/mq-resolution.html [ Failure ]
 webkit.org/b/100137 fast/media/mq-resolution-dpi-dpcm-warning.html [ Failure ]

Modified: trunk/LayoutTests/platform/wpe/TestExpectations (253616 => 253617)


--- trunk/LayoutTests/platform/wpe/TestExpectations	2019-12-17 09:51:54 UTC (rev 253616)
+++ trunk/LayoutTests/platform/wpe/TestExpectations	2019-12-17 10:11:39 UTC (rev 253617)
@@ -126,6 +126,9 @@
 
 webkit.org/b/190576 fast/mediastream/get-user-media-device-id.html [ Failure ]
 
+# No support for GPUProcess yet
+fast/mediastream/captureAudioInGPUProcess.html [ Skip ]
+
 # MediaRecorder is not currently implemented
 http/wpt/mediarecorder [ Skip ]
 imported/w3c/web-platform-tests/mediacapture-record [ Skip ]

Modified: trunk/LayoutTests/webrtc/peer-connection-audio-mute.html (253616 => 253617)


--- trunk/LayoutTests/webrtc/peer-connection-audio-mute.html	2019-12-17 09:51:54 UTC (rev 253616)
+++ trunk/LayoutTests/webrtc/peer-connection-audio-mute.html	2019-12-17 10:11:39 UTC (rev 253617)
@@ -31,7 +31,7 @@
         }
 
         var localTrack;
-        return navigator.mediaDevices.getUserMedia({audio: true}).then((localStream) => {
+        return navigator.mediaDevices.getUserMedia({audio: { echoCancellation : false}}).then((localStream) => {
             localTrack = localStream.getAudioTracks()[0];
             return new Promise((resolve, reject) => {
                 createConnections((firstConnection) => {

Modified: trunk/Source/WebCore/ChangeLog (253616 => 253617)


--- trunk/Source/WebCore/ChangeLog	2019-12-17 09:51:54 UTC (rev 253616)
+++ trunk/Source/WebCore/ChangeLog	2019-12-17 10:11:39 UTC (rev 253617)
@@ -1,3 +1,18 @@
+2019-12-17  Thibault Saunier  <[email protected]>
+
+        [GStreamer][WPE] Fix regressions related to our 'Fix GStreamer capturer mock' patch
+        https://bugs.webkit.org/show_bug.cgi?id=205270
+
+        MockGStreamerAudioCaptureSource rightfully defaults to echoCancellation=True,
+        see https://bugs.webkit.org/show_bug.cgi?id=205057
+
+        Reviewed by Philippe Normand.
+
+        This fixes existing tests
+
+        * platform/mediastream/gstreamer/MockGStreamerAudioCaptureSource.cpp:
+        (WebCore::WrappedMockRealtimeAudioSource::addHum):
+
 2019-12-17  Antti Koivisto  <[email protected]>
 
         Resolve dynamic media queries without reconstructing RuleSets

Modified: trunk/Source/WebCore/platform/mediastream/gstreamer/MockGStreamerAudioCaptureSource.cpp (253616 => 253617)


--- trunk/Source/WebCore/platform/mediastream/gstreamer/MockGStreamerAudioCaptureSource.cpp	2019-12-17 09:51:54 UTC (rev 253616)
+++ trunk/Source/WebCore/platform/mediastream/gstreamer/MockGStreamerAudioCaptureSource.cpp	2019-12-17 10:11:39 UTC (rev 253617)
@@ -63,7 +63,7 @@
     void addHum(float amplitude, float frequency, float sampleRate, uint64_t start, float *p, uint64_t count)
     {
         if (echoCancellation()) {
-            GST_DEBUG("echo cancel off..., no hum");
+            GST_DEBUG("echo cancel..., no hum");
             return;
         }
         float humPeriod = sampleRate / frequency;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to