Add MPEG-TS support and related utilities

Introduces MPEG-TS streaming support by adding mpegts.js as an optional dependency, updating keywords, and implementing new utility modules for MPEG-TS loading and setup. Updates VideoElement and videoProtocol logic to handle MPEG-TS streams, adds corresponding tests and mocks, and improves local settings for npm install.
This commit is contained in:
hibna
2025-11-04 06:36:21 +03:00
parent db2e3a0722
commit b0e278afb5
10 changed files with 380 additions and 3594 deletions
+4 -1
View File
@@ -57,7 +57,8 @@
},
"optionalDependencies": {
"hls.js": "^1.6.13",
"flv.js": "^1.6.2"
"flv.js": "^1.6.2",
"mpegts.js": "^1.7.3"
},
"keywords": [
"react",
@@ -67,6 +68,8 @@
"hls",
"rtmp",
"flv",
"mpegts",
"iptv",
"streaming",
"media"
],