|
|
@ -69,7 +69,7 @@ export function makeVideoElementDisplayInterface(): DisplayInterface { |
|
|
|
hls.on(Hls.Events.LEVEL_SWITCHED, () => { |
|
|
|
hls.on(Hls.Events.LEVEL_SWITCHED, () => { |
|
|
|
if (!hls) return; |
|
|
|
if (!hls) return; |
|
|
|
const quality = hlsLevelToQuality(hls.levels[hls.currentLevel]); |
|
|
|
const quality = hlsLevelToQuality(hls.levels[hls.currentLevel]); |
|
|
|
emit("changedquality", quality); // hi (hello)
|
|
|
|
emit("changedquality", quality); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|