mirror of
https://github.com/smittix/intercept.git
synced 2026-04-26 07:40:01 -07:00
Force audio stream load on listen
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user