From cf28d6028abd684e99b6de83cc9bcf5afadc6d95 Mon Sep 17 00:00:00 2001 From: Andrew Klofas Date: Sat, 12 Jul 2025 05:21:51 -0700 Subject: [PATCH] hls: add query params to iOS streams (#4708) --- internal/servers/hls/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/servers/hls/index.html b/internal/servers/hls/index.html index 0dd7265d..6fa40704 100644 --- a/internal/servers/hls/index.html +++ b/internal/servers/hls/index.html @@ -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(); }); }