mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 12:14:46 -04:00
Set default playlist to transmux instead of bandwidth dependant
This commit is contained in:
parent
fed94eab1b
commit
68c28ed358
@ -99,7 +99,9 @@ const initHls = async (): Promise<Hls> => {
|
|||||||
manifestLoadPolicy: loadPolicy,
|
manifestLoadPolicy: loadPolicy,
|
||||||
steeringManifestLoadPolicy: loadPolicy,
|
steeringManifestLoadPolicy: loadPolicy,
|
||||||
});
|
});
|
||||||
// hls.currentLevel = hls.startLevel;
|
hls.on(Hls.Events.MANIFEST_PARSED, () => {
|
||||||
|
if (hls) hls.startLevel = hls.firstLevel;
|
||||||
|
});
|
||||||
return hls;
|
return hls;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user