mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
stream/internal-hls: transform HLS map when defined in playlist header
This commit is contained in:
parent
08c7aa1ce1
commit
eb05c4b938
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue