mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-24 18:42:09 +02:00
stream/internal-hls: transform HLS map when defined in playlist header
This commit is contained in:
parent
08c7aa1ce1
commit
eb05c4b938
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user