stream/internal-hls: transform HLS map when defined in playlist header

This commit is contained in:
wukko 2024-06-23 22:17:11 +06:00
parent 08c7aa1ce1
commit eb05c4b938
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -23,6 +23,10 @@ function transformObject(streamInfo, hlsObject) {
hlsObject.uri = createInternalStream(fullUrl.toString(), streamInfo); hlsObject.uri = createInternalStream(fullUrl.toString(), streamInfo);
if (hlsObject.map) {
hlsObject.map = transformObject(streamInfo, hlsObject.map);
}
return hlsObject; return hlsObject;
} }