@norskvideo/moq-watch 0.1.8 → 0.2.1
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/README.md +43 -31
- package/audio/config.d.ts +19 -0
- package/audio/config.d.ts.map +1 -0
- package/audio/decoder.d.ts +9 -2
- package/audio/decoder.d.ts.map +1 -1
- package/audio/emitter.d.ts +6 -1
- package/audio/emitter.d.ts.map +1 -1
- package/audio/latency.d.ts +11 -0
- package/audio/latency.d.ts.map +1 -0
- package/audio/ring-buffer.d.ts.map +1 -1
- package/audio/shared-ring-buffer.d.ts +8 -1
- package/audio/shared-ring-buffer.d.ts.map +1 -1
- package/audio/source.d.ts.map +1 -1
- package/audio/terminal.d.ts +1 -0
- package/audio/terminal.d.ts.map +1 -1
- package/broadcast.d.ts +19 -5
- package/broadcast.d.ts.map +1 -1
- package/duration.d.ts +2 -0
- package/duration.d.ts.map +1 -0
- package/element.d.ts +57 -26
- package/element.d.ts.map +1 -1
- package/element.js +171 -174
- package/element.js.map +1 -1
- package/index.d.ts +4 -2
- package/index.d.ts.map +1 -1
- package/index.js +25 -17
- package/index.js.map +1 -1
- package/media.d.ts +2 -0
- package/media.d.ts.map +1 -0
- package/msf.d.ts.map +1 -1
- package/package.json +12 -7
- package/player-BFRzc5zw.js +2172 -0
- package/player-BFRzc5zw.js.map +1 -0
- package/player.d.ts +78 -0
- package/player.d.ts.map +1 -0
- package/sync.d.ts +27 -41
- package/sync.d.ts.map +1 -1
- package/text/index.d.ts +9 -0
- package/text/index.d.ts.map +1 -0
- package/text/renderer.d.ts +31 -0
- package/text/renderer.d.ts.map +1 -0
- package/text/source.d.ts +30 -0
- package/text/source.d.ts.map +1 -0
- package/ui/components/captions-button.d.ts +11 -0
- package/ui/components/captions-button.d.ts.map +1 -0
- package/ui/components/captions.d.ts +5 -0
- package/ui/components/captions.d.ts.map +1 -0
- package/ui/components/control-bar.d.ts.map +1 -1
- package/ui/components/hidden-indicator.d.ts +5 -0
- package/ui/components/hidden-indicator.d.ts.map +1 -0
- package/ui/components/latency.d.ts +1 -1
- package/ui/components/latency.d.ts.map +1 -1
- package/ui/components/settings-panel.d.ts.map +1 -1
- package/ui/element.d.ts.map +1 -1
- package/ui/element.js +257 -193
- package/ui/element.js.map +1 -1
- package/ui/icons.d.ts +2 -1
- package/ui/icons.d.ts.map +1 -1
- package/ui/state.d.ts +1 -1
- package/ui/state.d.ts.map +1 -1
- package/video/decoder.d.ts +10 -11
- package/video/decoder.d.ts.map +1 -1
- package/video/playhead.d.ts +14 -4
- package/video/playhead.d.ts.map +1 -1
- package/video/renderer.d.ts +6 -1
- package/video/renderer.d.ts.map +1 -1
- package/video/source.d.ts +1 -1
- package/video/source.d.ts.map +1 -1
- package/audio/subscription.d.ts +0 -10
- package/audio/subscription.d.ts.map +0 -1
- package/audio/unlock.d.ts +0 -20
- package/audio/unlock.d.ts.map +0 -1
- package/source-BeABanvB.js +0 -1723
- package/source-BeABanvB.js.map +0 -1
- package/sync-DNQkgnlX.js +0 -132
- package/sync-DNQkgnlX.js.map +0 -1
package/index.js
CHANGED
|
@@ -1,26 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as m from "@norskvideo/moq-signals";
|
|
1
|
+
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _ } from "./player-BFRzc5zw.js";
|
|
2
|
+
import * as v from "@norskvideo/moq-hang";
|
|
3
|
+
import * as y from "@norskvideo/moq-net";
|
|
4
|
+
import * as b from "@norskvideo/moq-signals";
|
|
6
5
|
//#region \0rolldown/runtime.js
|
|
7
|
-
var
|
|
6
|
+
var x = Object.defineProperty, S = (e, t) => {
|
|
8
7
|
let n = {};
|
|
9
|
-
for (var r in e)
|
|
8
|
+
for (var r in e) x(n, r, {
|
|
10
9
|
get: e[r],
|
|
11
10
|
enumerable: !0
|
|
12
11
|
});
|
|
13
|
-
return t ||
|
|
14
|
-
},
|
|
15
|
-
Decoder: () =>
|
|
16
|
-
Emitter: () =>
|
|
17
|
-
Source: () =>
|
|
18
|
-
}),
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
return t || x(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
13
|
+
}, C = /* @__PURE__ */ S({
|
|
14
|
+
Decoder: () => _,
|
|
15
|
+
Emitter: () => e,
|
|
16
|
+
Source: () => a
|
|
17
|
+
}), w = /* @__PURE__ */ S({
|
|
18
|
+
Renderer: () => m,
|
|
19
|
+
Source: () => t,
|
|
20
|
+
clearCue: () => n,
|
|
21
|
+
insertCue: () => c,
|
|
22
|
+
pruneCues: () => g,
|
|
23
|
+
renderable: () => d,
|
|
24
|
+
rollUp: () => r,
|
|
25
|
+
sanitizeCue: () => i
|
|
26
|
+
}), T = /* @__PURE__ */ S({
|
|
27
|
+
Decoder: () => s,
|
|
28
|
+
Renderer: () => p,
|
|
29
|
+
Source: () => u
|
|
22
30
|
});
|
|
23
31
|
//#endregion
|
|
24
|
-
export {
|
|
32
|
+
export { C as Audio, l as Broadcast, o as CATALOG_FORMATS, v as Hang, y as Net, h as Player, b as Signals, f as Sync, w as Text, T as Video };
|
|
25
33
|
|
|
26
34
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/audio/index.ts","../src/video/index.ts"],"sourcesContent":["export * from \"./decoder\";\nexport * from \"./emitter\";\nexport * from \"./source\";\n","export * from \"./decoder\";\nexport * from \"./renderer\";\nexport * from \"./source\";\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/audio/index.ts","../src/text/index.ts","../src/video/index.ts"],"sourcesContent":["export * from \"./decoder\";\nexport * from \"./emitter\";\nexport * from \"./source\";\n","/**\n * Caption / subtitle playback: select a text rendition from the catalog and render its cues into an\n * overlay element, synced to the shared media clock.\n *\n * @module\n */\nexport * from \"./renderer\";\nexport * from \"./source\";\n","export * from \"./decoder\";\nexport * from \"./renderer\";\nexport * from \"./source\";\n"],"mappings":""}
|
package/media.d.ts
ADDED
package/media.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../src/media.ts"],"names":[],"mappings":""}
|
package/msf.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"msf.d.ts","sourceRoot":"","sources":["../src/msf.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,KAAK,GAAG,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"msf.d.ts","sourceRoot":"","sources":["../src/msf.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAElD,OAAO,KAAK,KAAK,GAAG,MAAM,UAAU,CAAC;AAkGrC,qDAAqD;AACrD,wBAAgB,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,OAAO,GAAG,OAAO,CAAC,IAAI,CAyBrD"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norskvideo/moq-watch",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"description": "Watch Media over QUIC broadcasts",
|
|
6
6
|
"license": "(MIT OR Apache-2.0)",
|
|
7
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/moq-dev/moq.git",
|
|
10
|
+
"directory": "js/watch"
|
|
11
|
+
},
|
|
8
12
|
"exports": {
|
|
9
13
|
".": {
|
|
10
14
|
"types": "./index.d.ts",
|
|
@@ -33,10 +37,11 @@
|
|
|
33
37
|
"./support/element.js"
|
|
34
38
|
],
|
|
35
39
|
"dependencies": {
|
|
36
|
-
"
|
|
37
|
-
"@norskvideo/moq-
|
|
38
|
-
"@norskvideo/moq-
|
|
39
|
-
"@norskvideo/moq-net": "^0.1
|
|
40
|
-
"@norskvideo/moq-
|
|
40
|
+
"media-captions": "0.0.18",
|
|
41
|
+
"@norskvideo/moq-hang": "^0.2.1",
|
|
42
|
+
"@norskvideo/moq-json": "^0.2.1",
|
|
43
|
+
"@norskvideo/moq-net": "^0.2.1",
|
|
44
|
+
"@norskvideo/moq-msf": "^0.2.1",
|
|
45
|
+
"@norskvideo/moq-signals": "^0.2.1"
|
|
41
46
|
}
|
|
42
47
|
}
|