hls: add query params to iOS streams (#4708)

This commit is contained in:
Andrew Klofas
2025-07-12 14:21:51 +02:00
committed by GitHub
parent 82956a4abb
commit cf28d6028a
+2 -2
View File
@@ -161,9 +161,9 @@ const loadStream = () => {
} else if (video.canPlayType('application/vnd.apple.mpegurl')) {
// since it's not possible to detect timeout errors in iOS,
// wait for the playlist to be available before starting the stream
fetch('index.m3u8')
fetch('index.m3u8' + window.location.search)
.then(() => {
video.src = 'index.m3u8';
video.src = 'index.m3u8' + window.location.search;
video.play();
});
}