@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.
Files changed (76) hide show
  1. package/README.md +43 -31
  2. package/audio/config.d.ts +19 -0
  3. package/audio/config.d.ts.map +1 -0
  4. package/audio/decoder.d.ts +9 -2
  5. package/audio/decoder.d.ts.map +1 -1
  6. package/audio/emitter.d.ts +6 -1
  7. package/audio/emitter.d.ts.map +1 -1
  8. package/audio/latency.d.ts +11 -0
  9. package/audio/latency.d.ts.map +1 -0
  10. package/audio/ring-buffer.d.ts.map +1 -1
  11. package/audio/shared-ring-buffer.d.ts +8 -1
  12. package/audio/shared-ring-buffer.d.ts.map +1 -1
  13. package/audio/source.d.ts.map +1 -1
  14. package/audio/terminal.d.ts +1 -0
  15. package/audio/terminal.d.ts.map +1 -1
  16. package/broadcast.d.ts +19 -5
  17. package/broadcast.d.ts.map +1 -1
  18. package/duration.d.ts +2 -0
  19. package/duration.d.ts.map +1 -0
  20. package/element.d.ts +57 -26
  21. package/element.d.ts.map +1 -1
  22. package/element.js +171 -174
  23. package/element.js.map +1 -1
  24. package/index.d.ts +4 -2
  25. package/index.d.ts.map +1 -1
  26. package/index.js +25 -17
  27. package/index.js.map +1 -1
  28. package/media.d.ts +2 -0
  29. package/media.d.ts.map +1 -0
  30. package/msf.d.ts.map +1 -1
  31. package/package.json +12 -7
  32. package/player-BFRzc5zw.js +2172 -0
  33. package/player-BFRzc5zw.js.map +1 -0
  34. package/player.d.ts +78 -0
  35. package/player.d.ts.map +1 -0
  36. package/sync.d.ts +27 -41
  37. package/sync.d.ts.map +1 -1
  38. package/text/index.d.ts +9 -0
  39. package/text/index.d.ts.map +1 -0
  40. package/text/renderer.d.ts +31 -0
  41. package/text/renderer.d.ts.map +1 -0
  42. package/text/source.d.ts +30 -0
  43. package/text/source.d.ts.map +1 -0
  44. package/ui/components/captions-button.d.ts +11 -0
  45. package/ui/components/captions-button.d.ts.map +1 -0
  46. package/ui/components/captions.d.ts +5 -0
  47. package/ui/components/captions.d.ts.map +1 -0
  48. package/ui/components/control-bar.d.ts.map +1 -1
  49. package/ui/components/hidden-indicator.d.ts +5 -0
  50. package/ui/components/hidden-indicator.d.ts.map +1 -0
  51. package/ui/components/latency.d.ts +1 -1
  52. package/ui/components/latency.d.ts.map +1 -1
  53. package/ui/components/settings-panel.d.ts.map +1 -1
  54. package/ui/element.d.ts.map +1 -1
  55. package/ui/element.js +257 -193
  56. package/ui/element.js.map +1 -1
  57. package/ui/icons.d.ts +2 -1
  58. package/ui/icons.d.ts.map +1 -1
  59. package/ui/state.d.ts +1 -1
  60. package/ui/state.d.ts.map +1 -1
  61. package/video/decoder.d.ts +10 -11
  62. package/video/decoder.d.ts.map +1 -1
  63. package/video/playhead.d.ts +14 -4
  64. package/video/playhead.d.ts.map +1 -1
  65. package/video/renderer.d.ts +6 -1
  66. package/video/renderer.d.ts.map +1 -1
  67. package/video/source.d.ts +1 -1
  68. package/video/source.d.ts.map +1 -1
  69. package/audio/subscription.d.ts +0 -10
  70. package/audio/subscription.d.ts.map +0 -1
  71. package/audio/unlock.d.ts +0 -20
  72. package/audio/unlock.d.ts.map +0 -1
  73. package/source-BeABanvB.js +0 -1723
  74. package/source-BeABanvB.js.map +0 -1
  75. package/sync-DNQkgnlX.js +0 -132
  76. package/sync-DNQkgnlX.js.map +0 -1
package/index.js CHANGED
@@ -1,26 +1,34 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./source-BeABanvB.js";
2
- import { n as l, r as u, t as d } from "./sync-DNQkgnlX.js";
3
- import * as f from "@norskvideo/moq-hang";
4
- import * as p from "@norskvideo/moq-net";
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 h = Object.defineProperty, g = (e, t) => {
6
+ var x = Object.defineProperty, S = (e, t) => {
8
7
  let n = {};
9
- for (var r in e) h(n, r, {
8
+ for (var r in e) x(n, r, {
10
9
  get: e[r],
11
10
  enumerable: !0
12
11
  });
13
- return t || h(n, Symbol.toStringTag, { value: "Module" }), n;
14
- }, _ = /* @__PURE__ */ g({
15
- Decoder: () => r,
16
- Emitter: () => t,
17
- Source: () => s
18
- }), v = /* @__PURE__ */ g({
19
- Decoder: () => o,
20
- Renderer: () => i,
21
- Source: () => c
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 { _ as Audio, n as Broadcast, e as CATALOG_FORMATS, f as Hang, p as Net, m as Signals, d as Sync, v as Video, l as latencyBounds, u as latencyFromBounds, a as parseCatalogFormat };
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
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=media.d.ts.map
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;AAyFrC,qDAAqD;AACrD,wBAAgB,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,OAAO,GAAG,OAAO,CAAC,IAAI,CAyBrD"}
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.8",
4
+ "version": "0.2.1",
5
5
  "description": "Watch Media over QUIC broadcasts",
6
6
  "license": "(MIT OR Apache-2.0)",
7
- "repository": "github:moq-dev/moq",
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
- "@norskvideo/moq-hang": "^0.1.8",
37
- "@norskvideo/moq-json": "^0.1.8",
38
- "@norskvideo/moq-msf": "^0.1.8",
39
- "@norskvideo/moq-net": "^0.1.8",
40
- "@norskvideo/moq-signals": "^0.1.8"
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
  }