Force audio stream load on listen

This commit is contained in:
Smittix
2026-02-04 09:39:47 +00:00
parent a404f5ded9
commit 6e57927409

View File

@@ -2122,6 +2122,10 @@ async function _startDirectListenInternal() {
const streamUrl = `/listening/audio/stream?t=${Date.now()}`;
console.log('[LISTEN] Connecting to stream:', streamUrl);
audioPlayer.src = streamUrl;
audioPlayer.preload = 'auto';
audioPlayer.autoplay = true;
audioPlayer.muted = false;
audioPlayer.load();
// Apply current volume from knob
const volumeKnob = document.getElementById('radioVolumeKnob');