@blockcast/mmt-container 2.0.1 → 2.1.0-main.36792a9d6614
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser-runtime.js +817 -64
- package/dist/browser-runtime.js.map +4 -4
- package/dist/cmcd-producer.d.ts +5 -0
- package/dist/cmcd-producer.d.ts.map +1 -1
- package/dist/cmcd-producer.js.map +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +2 -2
- package/dist/mmtp-router.d.ts +78 -3
- package/dist/mmtp-router.d.ts.map +1 -1
- package/dist/mmtp-router.js +1812 -27
- package/dist/mmtp-router.js.map +4 -4
- package/dist/multicast-manager.d.ts +33 -3
- package/dist/multicast-manager.d.ts.map +1 -1
- package/dist/multicast-manager.js +15362 -14626
- package/dist/multicast-manager.js.map +4 -4
- package/dist/multicast-transport.d.ts +11 -3
- package/dist/multicast-transport.d.ts.map +1 -1
- package/dist/multicast-transport.js +255 -19
- package/dist/multicast-transport.js.map +4 -4
- package/dist/repair-fetch.d.ts +10 -3
- package/dist/repair-fetch.d.ts.map +1 -1
- package/dist/repair-fetch.js +15 -0
- package/dist/repair-fetch.js.map +2 -2
- package/package.json +5 -5
- package/src/cmcd-producer.ts +5 -0
- package/src/index.ts +5 -0
- package/src/mmtp-router.ts +549 -28
- package/src/multicast-manager.ts +186 -22
- package/src/multicast-transport.ts +44 -20
- package/src/repair-fetch.ts +32 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockcast/mmt-container",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-main.36792a9d6614",
|
|
4
4
|
"description": "MMTP/LOC container parsing for MMT over MoQ and SSM",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -169,10 +169,10 @@
|
|
|
169
169
|
"test:watch": "vitest"
|
|
170
170
|
},
|
|
171
171
|
"dependencies": {
|
|
172
|
-
"@blockcast/fec-worker": "
|
|
173
|
-
"@blockcast/mmt-base": "
|
|
174
|
-
"@blockcast/mmt-fec": "
|
|
175
|
-
"@blockcast/mmt-manifest-verify": "
|
|
172
|
+
"@blockcast/fec-worker": "2.1.0-main.36792a9d6614",
|
|
173
|
+
"@blockcast/mmt-base": "2.1.0-main.36792a9d6614",
|
|
174
|
+
"@blockcast/mmt-fec": "2.1.0-main.36792a9d6614",
|
|
175
|
+
"@blockcast/mmt-manifest-verify": "2.1.0-main.36792a9d6614",
|
|
176
176
|
"@noble/curves": "^1.9.7",
|
|
177
177
|
"@noble/hashes": "^1.8.0",
|
|
178
178
|
"ajv": "^8.17.1",
|
package/src/cmcd-producer.ts
CHANGED
|
@@ -28,6 +28,11 @@ export interface ManifestVerificationStats {
|
|
|
28
28
|
|
|
29
29
|
/** Transport state snapshot, built by the player wiring layer from SocketPool. */
|
|
30
30
|
export interface TransportSnapshot {
|
|
31
|
+
/**
|
|
32
|
+
* CMCD has no user-agent value: report a `'user-agent'` join
|
|
33
|
+
* (`ResolvedMulticastTransport`, the browser's own MulticastReceiver) as
|
|
34
|
+
* `'native'`, since the browser does not say which leg it chose.
|
|
35
|
+
*/
|
|
31
36
|
transport: 'native' | 'amt' | 'moq'
|
|
32
37
|
/** IPv4/IPv6 multicast group address */
|
|
33
38
|
multicastGroup?: string
|
package/src/index.ts
CHANGED
|
@@ -274,6 +274,11 @@ export {
|
|
|
274
274
|
type FrameCallback,
|
|
275
275
|
type FECManagerLike,
|
|
276
276
|
type MmtpIngressContext,
|
|
277
|
+
type KeyframeOverlayLeg,
|
|
278
|
+
type KeyframeOverlayFec,
|
|
279
|
+
type KeyframeOverlayStats,
|
|
280
|
+
KEYFRAME_OVERLAY_EXTENSION_TYPE,
|
|
281
|
+
keyframeOverlaySsId,
|
|
277
282
|
type MmtpStreamIdentity,
|
|
278
283
|
type RoutedPacketMeta,
|
|
279
284
|
type StagedStreamSwitch,
|