This commit is contained in:
2026-04-07 12:04:55 +02:00
parent 5025b5cfb9
commit be6aca5dc2
+4 -1
View File
@@ -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() {