Update MPEG-TS detection to use HLS.js transmuxing

Changed MPEG-TS (IPTV) stream detection to use HLS.js for transmuxing instead of native playback, as browsers do not natively support MPEG-TS. Updated related tests and marked 'needsSpecialPlayer' as true. Also configured Vite to treat 'hls.js' and 'flv.js' as external dependencies.
This commit is contained in:
hibna
2025-11-04 05:43:18 +03:00
parent a7b2d84efc
commit 5555dad083
3 changed files with 15 additions and 9 deletions
+5
View File
@@ -11,4 +11,9 @@ export default defineConfig({
'@': path.resolve(__dirname, './src'),
},
},
build: {
rollupOptions: {
external: ['hls.js', 'flv.js'],
},
},
})