mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-29 16:29:19 +02:00
debug
This commit is contained in:
+4
-1
@@ -348,7 +348,10 @@
|
|||||||
if (audioElement) {
|
if (audioElement) {
|
||||||
const volume = parseFloat($('#volumeSlider').val());
|
const volume = parseFloat($('#volumeSlider').val());
|
||||||
audioElement.volume = Number.isFinite(volume) ? volume : 1;
|
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() {
|
function initVolumeControl() {
|
||||||
|
|||||||
Reference in New Issue
Block a user