From 16cc01836016721ba174901f478c1f1ff950bdcc Mon Sep 17 00:00:00 2001 From: "timur.mehrvarz" Date: Thu, 9 Jun 2022 04:03:23 +0200 Subject: [PATCH] callee.js + caller.js: bitrate = 320000 (as var, not const) --- webroot/callee/callee.js | 2 +- webroot/user/caller.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webroot/callee/callee.js b/webroot/callee/callee.js index fd4a3cb9..305a51e3 100644 --- a/webroot/callee/callee.js +++ b/webroot/callee/callee.js @@ -29,8 +29,8 @@ const exclamationElement = document.getElementById('exclamation'); const autoReconnectDelay = 15; const singlebutton = false; const calleeMode = true; -const bitrate = 320000; +var bitrate = 320000; var ringtoneSound = null; var ringtoneIsPlaying = false; var busySignalSound = null; diff --git a/webroot/user/caller.js b/webroot/user/caller.js index 16aecfd1..5da356ff 100644 --- a/webroot/user/caller.js +++ b/webroot/user/caller.js @@ -8,8 +8,8 @@ const enterIdVal = document.getElementById('enterIdVal'); const enterDomainVal = document.getElementById('enterDomainVal'); const divspinnerframe = document.querySelector('div#spinnerframe'); const calleeMode = false; -const bitrate = 320000; +var bitrate = 320000; var connectingText = "Connecting P2P..."; var singleButtonReadyText = "Click to make your order
Live operator"; var singleButtonBusyText = "All lines are busy.
Please try again a little later.";