From be6aca5dc2f22209eb2fa9d26f0c68466626e0cb Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Tue, 7 Apr 2026 12:04:55 +0200 Subject: [PATCH] debug --- web/js/rtc-audio.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/js/rtc-audio.js b/web/js/rtc-audio.js index d426246..04f7d5e 100644 --- a/web/js/rtc-audio.js +++ b/web/js/rtc-audio.js @@ -348,7 +348,10 @@ if (audioElement) { const volume = parseFloat($('#volumeSlider').val()); audioElement.volume = Number.isFinite(volume) ? volume : 1; - } + + // Kuba's patches, not techkrzysiek code + if(!Number.isFinite(volume)) logWebRTCDebug("Volume is not finite."); + } else logWebRTCDebug("audioElement not initialized.") } function initVolumeControl() {