Bug 1397793 - Don't use the AEC on a 440Hz tone when testing that audio is flowing. r?pehrsons
This brings in a lot of noise and makes the test fail.
MozReview-Commit-ID: 70EGM1q1J24
--- a/dom/media/tests/mochitest/test_getUserMedia_mediaElementCapture_audio.html
+++ b/dom/media/tests/mochitest/test_getUserMedia_mediaElementCapture_audio.html
@@ -11,17 +11,17 @@ createHTML({
bug: "1259788",
title: "Test CaptureStream audio content on HTMLMediaElement playing a gUM MediaStream",
visible: true
});
var audioContext;
var gUMAudioElement;
var analyser;
-runTest(() => getUserMedia({audio: true})
+runTest(() => getUserMedia({audio: { echoCancellation: false }})
.then(stream => {
gUMAudioElement = createMediaElement("audio", "gUMAudio");
gUMAudioElement.srcObject = stream;
audioContext = new AudioContext();
info("Capturing");
analyser = new AudioStreamAnalyser(audioContext,