mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -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,
|
||||
steeringManifestLoadPolicy: loadPolicy,
|
||||
});
|
||||
// hls.currentLevel = hls.startLevel;
|
||||
hls.on(Hls.Events.MANIFEST_PARSED, () => {
|
||||
if (hls) hls.startLevel = hls.firstLevel;
|
||||
});
|
||||
return hls;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user