From f15e5a1d8392b3fa70d46c4b84d05f635e21ec49 Mon Sep 17 00:00:00 2001 From: Sebastjan Date: Sat, 25 Apr 2026 15:33:22 +0200 Subject: [PATCH] Enable 480p in ABR - Rok synced all 3 variants (sequence base 32) --- views/index.ejs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/views/index.ejs b/views/index.ejs index 6e95ab9..74c7c78 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -674,15 +674,8 @@ hls.loadSource(HLS_URL); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED, () => { - try { - if (hls.levels && hls.levels.length) { - hls.levels.forEach((lvl) => { - if (lvl.height && lvl.height <= 480) { - lvl.enabled = false; - } - }); - } - } catch (e) {} + // ABR enabled across ALL variants (1080p / 720p / 480p) + // Rok synced all 3 variants — same MEDIA-SEQUENCE base, encoder restarted. hideMsg(); video.play().catch(() => setTimeout(() => video.play().catch(() => {}), 200)); });