Add IPTV (.ts) stream support and tests

Introduced detection and support for MPEG-TS (.ts) IPTV streams in videoProtocol, updated documentation and examples to reflect IPTV support, and added comprehensive tests for protocol detection. Mock implementations for flv.js and hls.js were added for testing, and vitest config now aliases these libraries to their mocks.
This commit is contained in:
hibna
2025-11-04 05:24:21 +03:00
parent e3b2d396e1
commit becc9efc7f
9 changed files with 204 additions and 4 deletions
+5 -1
View File
@@ -7,7 +7,11 @@
"Bash(python check_srt.py:*)",
"Bash(python fix_srt.py:*)",
"Bash(python:*)",
"Bash(pnpm run build:lib:*)"
"Bash(pnpm run build:lib:*)",
"Bash(npm run build:lib:*)",
"Bash(npm publish)",
"Bash(git push:*)",
"Bash(npm test:*)"
],
"deny": [],
"ask": []