From eb05c4b938cebc86a0702527f388e7e6395f4405 Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 23 Jun 2024 22:17:11 +0600 Subject: [PATCH] stream/internal-hls: transform HLS map when defined in playlist header --- src/modules/stream/internal-hls.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/stream/internal-hls.js b/src/modules/stream/internal-hls.js index 9fa37e6e..3ed7e17b 100644 --- a/src/modules/stream/internal-hls.js +++ b/src/modules/stream/internal-hls.js @@ -23,6 +23,10 @@ function transformObject(streamInfo, hlsObject) { hlsObject.uri = createInternalStream(fullUrl.toString(), streamInfo); + if (hlsObject.map) { + hlsObject.map = transformObject(streamInfo, hlsObject.map); + } + return hlsObject; }