From 4042fcfa3905365e4e753b4474caed258d686601 Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Sun, 30 Oct 2022 08:28:03 +0100 Subject: [PATCH] trickle-ice: only acquire audio stream which avoids adding audio and video and gathering candidates for multiple components --- src/content/peerconnection/trickle-ice/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/peerconnection/trickle-ice/js/main.js b/src/content/peerconnection/trickle-ice/js/main.js index dd57cd5358..4da6c57397 100644 --- a/src/content/peerconnection/trickle-ice/js/main.js +++ b/src/content/peerconnection/trickle-ice/js/main.js @@ -120,7 +120,7 @@ async function start() { gatherButton.disabled = true; if (getUserMediaInput.checked) { - stream = await navigator.mediaDevices.getUserMedia({audio: true, video: true}); + stream = await navigator.mediaDevices.getUserMedia({audio: true}); } getUserMediaInput.disabled = true;