From 1ae1629547ae4e70fa8e2934e063ef2ad4d2a17f Mon Sep 17 00:00:00 2001 From: Vasilis Manetas Date: Mon, 25 Aug 2025 15:32:15 +0200 Subject: [PATCH] fix hls independently --- src/components/player/display/chromecast.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/player/display/chromecast.ts b/src/components/player/display/chromecast.ts index 9ea243f4..d110aec2 100644 --- a/src/components/player/display/chromecast.ts +++ b/src/components/player/display/chromecast.ts @@ -141,13 +141,6 @@ export function makeChromecastDisplayInterface( request.currentTime = startAt; if (caption?.url) request.activeTrackIds = [1]; - if (source.type === "hls") { - const staticMedia = chrome.cast.media as any; - (mediaInfo as any).hlsSegmentFormat = staticMedia.HlsSegmentFormat.FMP4; - (mediaInfo as any).hlsVideoSegmentFormat = - staticMedia.HlsVideoSegmentFormat.FMP4; - } - const session = ops.instance.getCurrentSession(); session ?.loadMedia(request)