зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1724014 - Disable audio input processing when checking tab muting. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D126251
This commit is contained in:
Родитель
80886fe1fc
Коммит
26420d2dea
|
@ -32,7 +32,11 @@ runTest(async () => {
|
|||
// nothing is output because the tab is muted.
|
||||
DISABLE_LOOPBACK_TONE = true;
|
||||
|
||||
const stream = await getUserMedia({audio: true});
|
||||
const stream = await getUserMedia({audio: {
|
||||
noiseSuppression: false,
|
||||
echoCancellation: false,
|
||||
autoGainControl: false,
|
||||
}});
|
||||
try {
|
||||
const ac = new AudioContext();
|
||||
const osc = new OscillatorNode(ac);
|
||||
|
|
Загрузка…
Ссылка в новой задаче