mattebox 0.17.1 → 0.18.0

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 (213) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/mattebox.dash-drm.min.js +3 -3
  3. package/dist/cdn/mattebox.dash-ll.min.js +3 -3
  4. package/dist/cdn/mattebox.dash.min.js +3 -3
  5. package/dist/cdn/mattebox.dual-drm.min.js +3 -3
  6. package/dist/cdn/mattebox.dual-ll.min.js +3 -3
  7. package/dist/cdn/mattebox.dual-ts-drm.min.js +3 -3
  8. package/dist/cdn/mattebox.dual-ts.min.js +3 -3
  9. package/dist/cdn/mattebox.dual.min.js +3 -3
  10. package/dist/cdn/mattebox.hls-drm.min.js +3 -3
  11. package/dist/cdn/mattebox.hls-ll.min.js +3 -3
  12. package/dist/cdn/mattebox.hls-ts-drm.min.js +3 -3
  13. package/dist/cdn/mattebox.hls-ts.min.js +3 -3
  14. package/dist/cdn/mattebox.hls.min.js +3 -3
  15. package/dist/cdn/mattebox.kernel.min.js +1 -1
  16. package/dist/cdn/mattebox.min.js +6 -6
  17. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.158.0}/helpers/esm/asyncToGenerator.js +1 -1
  18. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.158.0}/helpers/esm/defineProperty.js +1 -1
  19. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.158.0}/helpers/esm/objectSpread2.js +1 -1
  20. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.158.0}/helpers/esm/objectWithoutProperties.js +3 -3
  21. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.158.0}/helpers/esm/objectWithoutPropertiesLoose.js +2 -2
  22. package/dist/es2015/_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/toPrimitive.js +13 -0
  23. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.158.0}/helpers/esm/toPropertyKey.js +1 -1
  24. package/dist/es2015/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.158.0}/helpers/esm/typeof.js +1 -1
  25. package/dist/es2015/containers/codec-probe/index.js +1 -1
  26. package/dist/es2015/containers/fmp4/fit.js +1 -1
  27. package/dist/es2015/containers/id3.js +1 -1
  28. package/dist/es2015/containers/packed-audio/index.js +1 -1
  29. package/dist/es2015/containers/scte35.js +1 -1
  30. package/dist/es2015/containers/ts-transmux/demux.js +1 -1
  31. package/dist/es2015/containers/ts-transmux/h264.js +1 -1
  32. package/dist/es2015/containers/ts-transmux/h265.js +1 -1
  33. package/dist/es2015/containers/ts-transmux/index.js +3 -3
  34. package/dist/es2015/containers/ts-transmux/runner.js +2 -2
  35. package/dist/es2015/containers/ts-transmux/transmux.js +3 -3
  36. package/dist/es2015/containers/webvtt.js +1 -1
  37. package/dist/es2015/containers/wvtt.js +1 -1
  38. package/dist/es2015/eme/index.js +3 -3
  39. package/dist/es2015/index.js +10 -10
  40. package/dist/es2015/kernel/append-queue.js +1 -1
  41. package/dist/es2015/kernel/dry-run.js +1 -1
  42. package/dist/es2015/kernel/lifecycle.js +1 -1
  43. package/dist/es2015/kernel/mse.js +15 -3
  44. package/dist/es2015/kernel/prepare.js +2 -2
  45. package/dist/es2015/kernel/reducer.js +17 -5
  46. package/dist/es2015/kernel/refresh.js +1 -1
  47. package/dist/es2015/kernel/rendition-select.js +5 -5
  48. package/dist/es2015/kernel/scheduler.js +1 -1
  49. package/dist/es2015/kernel/sinks/caption-tracks.js +1 -1
  50. package/dist/es2015/kernel/sinks/text-formats.js +1 -1
  51. package/dist/es2015/kernel/timeline.js +1 -1
  52. package/dist/es2015/kernel/trace.js +1 -1
  53. package/dist/es2015/kernel/transport.js +2 -2
  54. package/dist/es2015/presets/dash/index.js +2 -1
  55. package/dist/es2015/presets/dash-drm/index.js +3 -1
  56. package/dist/es2015/presets/dash-ll/index.js +3 -1
  57. package/dist/es2015/presets/define.js +2 -2
  58. package/dist/es2015/presets/dual/index.js +3 -1
  59. package/dist/es2015/presets/dual-drm/index.js +4 -1
  60. package/dist/es2015/presets/dual-ll/index.js +4 -1
  61. package/dist/es2015/presets/dual-ts/index.js +4 -1
  62. package/dist/es2015/presets/dual-ts-drm/index.js +5 -1
  63. package/dist/es2015/presets/full/index.js +15 -10
  64. package/dist/es2015/presets/hls/index.js +2 -1
  65. package/dist/es2015/presets/hls-drm/index.js +3 -1
  66. package/dist/es2015/presets/hls-ll/index.js +3 -1
  67. package/dist/es2015/presets/hls-ts/index.js +3 -1
  68. package/dist/es2015/presets/hls-ts-drm/index.js +4 -1
  69. package/dist/es2015/presets/tiers/base.js +52 -0
  70. package/dist/es2015/presets/tiers/dash-ll.js +17 -0
  71. package/dist/es2015/presets/tiers/dash.js +14 -0
  72. package/dist/es2015/presets/tiers/drm.js +21 -0
  73. package/dist/es2015/presets/tiers/hls-ll.js +17 -0
  74. package/dist/es2015/presets/tiers/hls.js +19 -0
  75. package/dist/es2015/presets/tiers/low-latency.js +16 -0
  76. package/dist/es2015/presets/tiers/ts.js +23 -0
  77. package/dist/es2015/protocols/dash-cmaf/index.js +2 -2
  78. package/dist/es2015/protocols/dash-cmaf/parse.js +1 -1
  79. package/dist/es2015/protocols/dash-cmaf/periods-runtime.js +1 -1
  80. package/dist/es2015/protocols/dash-cmaf/periods.js +1 -1
  81. package/dist/es2015/protocols/dash-live/index.js +2 -2
  82. package/dist/es2015/protocols/dash-ll/index.js +1 -1
  83. package/dist/es2015/protocols/hls-cmaf/index.js +1 -1
  84. package/dist/es2015/protocols/hls-cmaf/parse.js +6 -4
  85. package/dist/es2015/protocols/hls-cmaf/unavailable.js +1 -1
  86. package/dist/es2015/protocols/hls-live/index.js +1 -1
  87. package/dist/es2015/protocols/hls-ll/index.js +1 -1
  88. package/dist/es2015/protocols/hls-ll/parse.js +2 -2
  89. package/dist/es2015/stages/abr/index.js +1 -1
  90. package/dist/es2015/stages/aes-128/index.js +1 -1
  91. package/dist/es2015/stages/chapters/index.js +2 -2
  92. package/dist/es2015/stages/chapters/parse.js +2 -2
  93. package/dist/es2015/stages/cmcd/index.js +1 -1
  94. package/dist/es2015/stages/codec-probe/index.js +2 -2
  95. package/dist/es2015/stages/content-steering/index.js +1 -1
  96. package/dist/es2015/stages/eme-core/index.js +4 -4
  97. package/dist/es2015/stages/eme-fairplay/index.js +1 -1
  98. package/dist/es2015/stages/eme-wiseplay/index.js +24 -0
  99. package/dist/es2015/stages/hdr/index.js +1 -1
  100. package/dist/es2015/stages/interstitials/breaks.js +1 -1
  101. package/dist/es2015/stages/interstitials/index.js +3 -3
  102. package/dist/es2015/stages/nal-scan/index.js +1 -1
  103. package/dist/es2015/stages/qoe/index.js +1 -1
  104. package/dist/es2015/stages/recovery/index.js +1 -1
  105. package/dist/es2015/stages/rendition-names/index.js +1 -1
  106. package/dist/es2015/stages/text-cea608/decode.js +1 -1
  107. package/dist/es2015/stages/text-cea708/decode.js +2 -2
  108. package/dist/es2015/stages/text-cea708/index.js +1 -1
  109. package/dist/es2015/stages/text-ttml/index.js +3 -3
  110. package/dist/es2015/stages/text-ttml/parse.js +1 -1
  111. package/dist/es2015/stages/thumbnails/index.js +2 -2
  112. package/dist/es2015/stages/timed-metadata/index.js +2 -2
  113. package/dist/es2015/stages/trick-play/index.js +5 -5
  114. package/dist/kernel/mse.d.ts.map +1 -1
  115. package/dist/kernel/mse.js +18 -2
  116. package/dist/kernel/mse.js.map +1 -1
  117. package/dist/kernel/reducer.d.ts +1 -1
  118. package/dist/kernel/reducer.d.ts.map +1 -1
  119. package/dist/kernel/reducer.js +17 -1
  120. package/dist/kernel/reducer.js.map +1 -1
  121. package/dist/presets/dash/index.d.ts.map +1 -1
  122. package/dist/presets/dash/index.js +2 -1
  123. package/dist/presets/dash/index.js.map +1 -1
  124. package/dist/presets/dash-drm/index.d.ts.map +1 -1
  125. package/dist/presets/dash-drm/index.js +3 -1
  126. package/dist/presets/dash-drm/index.js.map +1 -1
  127. package/dist/presets/dash-ll/index.d.ts.map +1 -1
  128. package/dist/presets/dash-ll/index.js +3 -1
  129. package/dist/presets/dash-ll/index.js.map +1 -1
  130. package/dist/presets/dual/index.d.ts.map +1 -1
  131. package/dist/presets/dual/index.js +3 -1
  132. package/dist/presets/dual/index.js.map +1 -1
  133. package/dist/presets/dual-drm/index.d.ts.map +1 -1
  134. package/dist/presets/dual-drm/index.js +4 -1
  135. package/dist/presets/dual-drm/index.js.map +1 -1
  136. package/dist/presets/dual-ll/index.d.ts.map +1 -1
  137. package/dist/presets/dual-ll/index.js +4 -1
  138. package/dist/presets/dual-ll/index.js.map +1 -1
  139. package/dist/presets/dual-ts/index.d.ts.map +1 -1
  140. package/dist/presets/dual-ts/index.js +4 -1
  141. package/dist/presets/dual-ts/index.js.map +1 -1
  142. package/dist/presets/dual-ts-drm/index.d.ts.map +1 -1
  143. package/dist/presets/dual-ts-drm/index.js +5 -1
  144. package/dist/presets/dual-ts-drm/index.js.map +1 -1
  145. package/dist/presets/full/index.d.ts.map +1 -1
  146. package/dist/presets/full/index.js +6 -1
  147. package/dist/presets/full/index.js.map +1 -1
  148. package/dist/presets/hls/index.d.ts.map +1 -1
  149. package/dist/presets/hls/index.js +2 -1
  150. package/dist/presets/hls/index.js.map +1 -1
  151. package/dist/presets/hls-drm/index.d.ts.map +1 -1
  152. package/dist/presets/hls-drm/index.js +3 -1
  153. package/dist/presets/hls-drm/index.js.map +1 -1
  154. package/dist/presets/hls-ll/index.d.ts.map +1 -1
  155. package/dist/presets/hls-ll/index.js +3 -1
  156. package/dist/presets/hls-ll/index.js.map +1 -1
  157. package/dist/presets/hls-ts/index.d.ts.map +1 -1
  158. package/dist/presets/hls-ts/index.js +3 -1
  159. package/dist/presets/hls-ts/index.js.map +1 -1
  160. package/dist/presets/hls-ts-drm/index.d.ts.map +1 -1
  161. package/dist/presets/hls-ts-drm/index.js +4 -1
  162. package/dist/presets/hls-ts-drm/index.js.map +1 -1
  163. package/dist/presets/tiers/base.d.ts +13 -0
  164. package/dist/presets/tiers/base.d.ts.map +1 -0
  165. package/dist/presets/tiers/base.js +51 -0
  166. package/dist/presets/tiers/base.js.map +1 -0
  167. package/dist/presets/tiers/dash-ll.d.ts +8 -0
  168. package/dist/presets/tiers/dash-ll.d.ts.map +1 -0
  169. package/dist/presets/tiers/dash-ll.js +16 -0
  170. package/dist/presets/tiers/dash-ll.js.map +1 -0
  171. package/dist/presets/tiers/dash.d.ts +4 -0
  172. package/dist/presets/tiers/dash.d.ts.map +1 -0
  173. package/dist/presets/tiers/dash.js +13 -0
  174. package/dist/presets/tiers/dash.js.map +1 -0
  175. package/dist/presets/tiers/drm.d.ts +4 -0
  176. package/dist/presets/tiers/drm.d.ts.map +1 -0
  177. package/dist/presets/tiers/drm.js +15 -0
  178. package/dist/presets/tiers/drm.js.map +1 -0
  179. package/dist/presets/tiers/hls-ll.d.ts +7 -0
  180. package/dist/presets/tiers/hls-ll.d.ts.map +1 -0
  181. package/dist/presets/tiers/hls-ll.js +16 -0
  182. package/dist/presets/tiers/hls-ll.js.map +1 -0
  183. package/dist/presets/tiers/hls.d.ts +4 -0
  184. package/dist/presets/tiers/hls.d.ts.map +1 -0
  185. package/dist/presets/tiers/hls.js +16 -0
  186. package/dist/presets/tiers/hls.js.map +1 -0
  187. package/dist/presets/tiers/low-latency.d.ts +7 -0
  188. package/dist/presets/tiers/low-latency.d.ts.map +1 -0
  189. package/dist/presets/tiers/low-latency.js +15 -0
  190. package/dist/presets/tiers/low-latency.js.map +1 -0
  191. package/dist/presets/tiers/ts.d.ts +8 -0
  192. package/dist/presets/tiers/ts.d.ts.map +1 -0
  193. package/dist/presets/tiers/ts.js +18 -0
  194. package/dist/presets/tiers/ts.js.map +1 -0
  195. package/dist/protocols/hls-cmaf/parse.d.ts.map +1 -1
  196. package/dist/protocols/hls-cmaf/parse.js +8 -0
  197. package/dist/protocols/hls-cmaf/parse.js.map +1 -1
  198. package/dist/stages/drm-shared.d.ts +1 -1
  199. package/dist/stages/drm-shared.js +1 -1
  200. package/dist/stages/eme-core/index.js +2 -2
  201. package/dist/stages/eme-wiseplay/index.d.ts +26 -0
  202. package/dist/stages/eme-wiseplay/index.d.ts.map +1 -0
  203. package/dist/stages/eme-wiseplay/index.js +29 -0
  204. package/dist/stages/eme-wiseplay/index.js.map +1 -0
  205. package/dist/types/ir.d.ts +7 -0
  206. package/dist/types/ir.d.ts.map +1 -1
  207. package/package.json +2 -2
  208. package/dist/es2015/_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/toPrimitive.js +0 -13
  209. package/dist/es2015/presets/tiers.js +0 -123
  210. package/dist/presets/tiers.d.ts +0 -41
  211. package/dist/presets/tiers.d.ts.map +0 -1
  212. package/dist/presets/tiers.js +0 -112
  213. package/dist/presets/tiers.js.map +0 -1
@@ -1,5 +1,6 @@
1
1
  import { definePreset } from "../define.js";
2
- import { base, hlsLine } from "../tiers.js";
2
+ import { base } from "../tiers/base.js";
3
+ import { hlsLine } from "../tiers/hls.js";
3
4
  // src/presets/hls/index.ts
4
5
  /**
5
6
  * The `hls` preset: HLS on demand and live, CMAF segments, the base.
@@ -1,5 +1,7 @@
1
1
  import { definePreset } from "../define.js";
2
- import { base, drmTier, hlsLine } from "../tiers.js";
2
+ import { base } from "../tiers/base.js";
3
+ import { drmTier } from "../tiers/drm.js";
4
+ import { hlsLine } from "../tiers/hls.js";
3
5
  // src/presets/hls-drm/index.ts
4
6
  /**
5
7
  * The `hls-drm` preset: `hls` plus the EME stages, for protected HLS.
@@ -1,5 +1,7 @@
1
1
  import { definePreset } from "../define.js";
2
- import { base, hlsLlLine, lowLatencyTier } from "../tiers.js";
2
+ import { base } from "../tiers/base.js";
3
+ import { hlsLlLine } from "../tiers/hls-ll.js";
4
+ import { lowLatencyTier } from "../tiers/low-latency.js";
3
5
  // src/presets/hls-ll/index.ts
4
6
  /**
5
7
  * The `hls-ll` preset: low-latency HLS on demand and live, CMAF segments,
@@ -1,5 +1,7 @@
1
1
  import { definePreset } from "../define.js";
2
- import { base, hlsLine, tsTier } from "../tiers.js";
2
+ import { base } from "../tiers/base.js";
3
+ import { hlsLine } from "../tiers/hls.js";
4
+ import { tsTier } from "../tiers/ts.js";
3
5
  // src/presets/hls-ts/index.ts
4
6
  /**
5
7
  * The `hls-ts` preset: `hls` plus the MPEG-TS family, for a backend that still emits transport streams.
@@ -1,5 +1,8 @@
1
1
  import { definePreset } from "../define.js";
2
- import { base, drmTier, hlsLine, tsTier } from "../tiers.js";
2
+ import { base } from "../tiers/base.js";
3
+ import { drmTier } from "../tiers/drm.js";
4
+ import { hlsLine } from "../tiers/hls.js";
5
+ import { tsTier } from "../tiers/ts.js";
3
6
  // src/presets/hls-ts-drm/index.ts
4
7
  /**
5
8
  * The `hls-ts-drm` preset: `hls-ts` plus the EME stages.
@@ -0,0 +1,52 @@
1
+ import abr from "../../stages/abr/index.js";
2
+ import abrCapSize from "../../stages/abr-cap-size/index.js";
3
+ import altAudio from "../../stages/alt-audio/index.js";
4
+ import cmafTiming from "../../stages/cmaf-timing/index.js";
5
+ import codecProbe from "../../stages/codec-probe/index.js";
6
+ import codecSwitch from "../../stages/codec-switch/index.js";
7
+ import contentSteering from "../../stages/content-steering/index.js";
8
+ import forcedSubtitles from "../../stages/forced-subtitles/index.js";
9
+ import mp4Box from "../../stages/mp4-box/index.js";
10
+ import nalScan from "../../stages/nal-scan/index.js";
11
+ import pdt from "../../stages/pdt/index.js";
12
+ import recovery from "../../stages/recovery/index.js";
13
+ import textCea608 from "../../stages/text-cea608/index.js";
14
+ import textWebvtt from "../../stages/text-webvtt/index.js";
15
+ import textWebvttSegmented from "../../stages/text-webvtt-segmented/index.js";
16
+ // src/presets/tiers/base.ts
17
+ /**
18
+ * One group of the preset matrix. Each group is its own module so a preset
19
+ * imports only the groups it composes: a bundle that splits the presets into
20
+ * lazy chunks then gives each preset its stages and no others. Each group is
21
+ * a function so a preset gets fresh stage instances.
22
+ */
23
+ /**
24
+ * What every preset carries: adaptive quality with a size cap, recovery, content steering (inert until a manifest asks for it),
25
+ * alternate audio with codec switching, WebVTT subtitles, CMAF timing (reads
26
+ * each segment's decode time so the kernel lands it at its playlist time,
27
+ * whatever clock the packager wrote), program date time from either
28
+ * protocol's anchor, the codec probe (types a SourceBuffer whose playlist
29
+ * declares no codecs, which Chrome otherwise refuses), and CEA-608 captions
30
+ * from fMP4 video. The caption scan costs per NAL unit, not per byte, and
31
+ * only when a segment has H.264 or HEVC.
32
+ */
33
+ function base() {
34
+ return [
35
+ abr(),
36
+ abrCapSize(),
37
+ recovery(),
38
+ contentSteering(),
39
+ codecSwitch(),
40
+ altAudio(),
41
+ textWebvtt(),
42
+ textWebvttSegmented(),
43
+ forcedSubtitles(),
44
+ cmafTiming(),
45
+ pdt(),
46
+ mp4Box(),
47
+ codecProbe(),
48
+ nalScan(),
49
+ textCea608()
50
+ ];
51
+ }
52
+ export { base };
@@ -0,0 +1,17 @@
1
+ import dashLl from "../../protocols/dash-ll/index.js";
2
+ // src/presets/tiers/dash-ll.ts
3
+ /**
4
+ * One group of the preset matrix. Each group is its own module so a preset
5
+ * imports only the groups it composes: a bundle that splits the presets into
6
+ * lazy chunks then gives each preset its stages and no others. Each group is
7
+ * a function so a preset gets fresh stage instances.
8
+ */
9
+ /**
10
+ * Low-latency DASH: dash-ll in place of dash-cmaf and dash-live, which it
11
+ * contains. An MPD without low-latency signalling plays as the DASH line
12
+ * plays it.
13
+ */
14
+ function dashLlLine() {
15
+ return [dashLl()];
16
+ }
17
+ export { dashLlLine };
@@ -0,0 +1,14 @@
1
+ import dashCmaf from "../../protocols/dash-cmaf/index.js";
2
+ import dashLive from "../../protocols/dash-live/index.js";
3
+ // src/presets/tiers/dash.ts
4
+ /**
5
+ * One group of the preset matrix. Each group is its own module so a preset
6
+ * imports only the groups it composes: a bundle that splits the presets into
7
+ * lazy chunks then gives each preset its stages and no others. Each group is
8
+ * a function so a preset gets fresh stage instances.
9
+ */
10
+ /** DASH on demand and live. */
11
+ function dashLine() {
12
+ return [dashCmaf(), dashLive()];
13
+ }
14
+ export { dashLine };
@@ -0,0 +1,21 @@
1
+ import emeCenc from "../../stages/eme-cenc/index.js";
2
+ import emeCore from "../../stages/eme-core/index.js";
3
+ import emeFairplay from "../../stages/eme-fairplay/index.js";
4
+ import emeWiseplay from "../../stages/eme-wiseplay/index.js";
5
+ // src/presets/tiers/drm.ts
6
+ /**
7
+ * One group of the preset matrix. Each group is its own module so a preset
8
+ * imports only the groups it composes: a bundle that splits the presets into
9
+ * lazy chunks then gives each preset its stages and no others. Each group is
10
+ * a function so a preset gets fresh stage instances.
11
+ */
12
+ /** The EME stages: sessions, CENC (Widevine, PlayReady, ClearKey), FairPlay, WisePlay. */
13
+ function drmTier() {
14
+ return [
15
+ emeCore(),
16
+ emeCenc(),
17
+ emeFairplay(),
18
+ emeWiseplay()
19
+ ];
20
+ }
21
+ export { drmTier };
@@ -0,0 +1,17 @@
1
+ import hlsLl from "../../protocols/hls-ll/index.js";
2
+ import aes128 from "../../stages/aes-128/index.js";
3
+ // src/presets/tiers/hls-ll.ts
4
+ /**
5
+ * One group of the preset matrix. Each group is its own module so a preset
6
+ * imports only the groups it composes: a bundle that splits the presets into
7
+ * lazy chunks then gives each preset its stages and no others. Each group is
8
+ * a function so a preset gets fresh stage instances.
9
+ */
10
+ /**
11
+ * Low-latency HLS: hls-ll in place of hls-cmaf and hls-live, which it
12
+ * contains. A playlist without parts plays as the HLS line plays it.
13
+ */
14
+ function hlsLlLine() {
15
+ return [hlsLl(), aes128()];
16
+ }
17
+ export { hlsLlLine };
@@ -0,0 +1,19 @@
1
+ import hlsCmaf from "../../protocols/hls-cmaf/index.js";
2
+ import hlsLive from "../../protocols/hls-live/index.js";
3
+ import aes128 from "../../stages/aes-128/index.js";
4
+ // src/presets/tiers/hls.ts
5
+ /**
6
+ * One group of the preset matrix. Each group is its own module so a preset
7
+ * imports only the groups it composes: a bundle that splits the presets into
8
+ * lazy chunks then gives each preset its stages and no others. Each group is
9
+ * a function so a preset gets fresh stage instances.
10
+ */
11
+ /** HLS on demand and live, with AES-128 segment decryption. */
12
+ function hlsLine() {
13
+ return [
14
+ hlsCmaf(),
15
+ hlsLive(),
16
+ aes128()
17
+ ];
18
+ }
19
+ export { hlsLine };
@@ -0,0 +1,16 @@
1
+ import liveCatchup from "../../stages/live-catchup/index.js";
2
+ // src/presets/tiers/low-latency.ts
3
+ /**
4
+ * One group of the preset matrix. Each group is its own module so a preset
5
+ * imports only the groups it composes: a bundle that splits the presets into
6
+ * lazy chunks then gives each preset its stages and no others. Each group is
7
+ * a function so a preset gets fresh stage instances.
8
+ */
9
+ /**
10
+ * What a low-latency line needs beside it: the catch-up that holds the
11
+ * latency. It holds any live stream at its hold-back.
12
+ */
13
+ function lowLatencyTier() {
14
+ return [liveCatchup()];
15
+ }
16
+ export { lowLatencyTier };
@@ -0,0 +1,23 @@
1
+ import packedAudio from "../../containers/packed-audio/index.js";
2
+ import tsTransmux from "../../containers/ts-transmux/index.js";
3
+ import metaId3 from "../../stages/meta-id3/index.js";
4
+ // src/presets/tiers/ts.ts
5
+ /**
6
+ * One group of the preset matrix. Each group is its own module so a preset
7
+ * imports only the groups it composes: a bundle that splits the presets into
8
+ * lazy chunks then gives each preset its stages and no others. Each group is
9
+ * a function so a preset gets fresh stage instances.
10
+ */
11
+ /**
12
+ * Legacy MPEG-TS: the transmuxer and packed audio, plus ID3 metadata, which
13
+ * rides on the transport stream. The transmuxer is also a caption source for
14
+ * the base's text-cea608, next to nal-scan.
15
+ */
16
+ function tsTier() {
17
+ return [
18
+ tsTransmux(),
19
+ packedAudio(),
20
+ metaId3()
21
+ ];
22
+ }
23
+ export { tsTier };
@@ -1,12 +1,12 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { scheduled, tickAfter } from "../../kernel/effects.js";
3
2
  import { normalizeMimeType } from "../../kernel/mime.js";
4
3
  import { findRendition } from "../../kernel/presentation.js";
5
- import { isUnresolved } from "../../kernel/timeline.js";
6
4
  import { activeRenditions } from "../../kernel/rendition-select.js";
5
+ import { isUnresolved } from "../../kernel/timeline.js";
7
6
  import { manifestFact } from "../adapter-shared.js";
8
7
  import { parse, sidxToSegments } from "./parse.js";
9
8
  import { installPeriods } from "./periods-runtime.js";
9
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
10
10
  // src/protocols/dash-cmaf/index.ts
11
11
  /**
12
12
  * The dash-cmaf protocol adapter as a stage. Inert module: exports a
@@ -1,10 +1,10 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { findBox, parseSidx } from "../../containers/mp4-box/index.js";
3
2
  import { base64ToBytes } from "../../kernel/base64.js";
4
3
  import { resolveUrl } from "../../kernel/url.js";
5
4
  import { manifestError } from "../adapter-shared.js";
6
5
  import { dimensions } from "../dimensions.js";
7
6
  import { flattenPeriods } from "./periods.js";
7
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
8
8
  // src/protocols/dash-cmaf/parse.ts
9
9
  /**
10
10
  * MPD into the IR. Pure: no fetching, no state, no side effects. DOMParser
@@ -1,6 +1,6 @@
1
- import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
2
1
  import { findRendition } from "../../kernel/presentation.js";
3
2
  import { segmentAt } from "../../kernel/timeline.js";
3
+ import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/asyncToGenerator.js";
4
4
  // src/protocols/dash-cmaf/periods-runtime.ts
5
5
  /**
6
6
  * What a flattened multi-period presentation needs at playback time, kept
@@ -1,5 +1,5 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { isIndexed, isUnresolved, segmentAt } from "../../kernel/timeline.js";
2
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
3
3
  // src/protocols/dash-cmaf/periods.ts
4
4
  /**
5
5
  * Several DASH Periods as one continuous presentation, the way Shaka
@@ -1,7 +1,7 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { scheduled, tickAfter } from "../../kernel/effects.js";
3
- import { registerLiveNamespace } from "../live-shared.js";
4
2
  import { parse } from "../dash-cmaf/parse.js";
3
+ import { registerLiveNamespace } from "../live-shared.js";
4
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
5
5
  // src/protocols/dash-live/index.ts
6
6
  /**
7
7
  * DASH live: the edge is computed, never read. Wall clock enters only as
@@ -1,7 +1,7 @@
1
1
  import { completeChunks } from "../../containers/mp4-box/index.js";
2
- import { registerLiveNamespace } from "../live-shared.js";
3
2
  import { MANIFEST_TYPES, createReduceDash, installDashPeriods } from "../dash-cmaf/index.js";
4
3
  import { createReduceDashLive } from "../dash-live/index.js";
4
+ import { registerLiveNamespace } from "../live-shared.js";
5
5
  // src/protocols/dash-ll/index.ts
6
6
  /**
7
7
  * Low-latency DASH (DASH-IF IOP low-latency modes, ISO/IEC 23009-1 Annex
@@ -1,10 +1,10 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { scheduled, tickAfter } from "../../kernel/effects.js";
3
2
  import { normalizeMimeType } from "../../kernel/mime.js";
4
3
  import { activeRenditions } from "../../kernel/rendition-select.js";
5
4
  import { manifestFact } from "../adapter-shared.js";
6
5
  import { parse, parseMediaPlaylist, refreshFor } from "./parse.js";
7
6
  import { LOAD_FAILED, readmitMessage, unavailableMessages } from "./unavailable.js";
7
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
8
8
  // src/protocols/hls-cmaf/index.ts
9
9
  /**
10
10
  * The hls-cmaf protocol adapter as a stage. Inert module: exports a
@@ -1,9 +1,9 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { base64ToBytes, byteToHex, bytesToHex } from "../../kernel/base64.js";
3
2
  import { resolveUrl } from "../../kernel/url.js";
4
3
  import { manifestError } from "../adapter-shared.js";
5
4
  import { dimensions } from "../dimensions.js";
6
5
  import { lex } from "./lexer.js";
6
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
7
7
  // src/protocols/hls-cmaf/parse.ts
8
8
  /**
9
9
  * m3u8 into the IR. Pure: no fetching, no state, no side effects. URLs are
@@ -608,7 +608,7 @@ function parse(text, baseUrl, parseMedia = parseMediaPlaylist) {
608
608
  const alternateVideos = /* @__PURE__ */ new Map();
609
609
  let mainVideo;
610
610
  for (const variant of variants) {
611
- var _dimensions, _variant$attributes$V;
611
+ var _dimensions, _split$0$split, _split$, _variant$attributes$R, _variant$attributes$V;
612
612
  const bandwidth = Number(variant.attributes.BANDWIDTH) || 0;
613
613
  const [width, height] = (_dimensions = dimensions(variant.attributes.RESOLUTION)) !== null && _dimensions !== void 0 ? _dimensions : [];
614
614
  const { video, audio } = splitCodecs(variant.attributes.CODECS);
@@ -621,6 +621,8 @@ function parse(text, baseUrl, parseMedia = parseMediaPlaylist) {
621
621
  const frameRate = Number(variant.attributes["FRAME-RATE"]);
622
622
  const range = variant.attributes["VIDEO-RANGE"];
623
623
  const videoRange = range === "SDR" || range === "PQ" || range === "HLG" ? range : video !== null && /^dv(h1|he|a1|av)/.test(video) ? "PQ" : void 0;
624
+ const layout = (_split$0$split = (_split$ = ((_variant$attributes$R = variant.attributes["REQ-VIDEO-LAYOUT"]) !== null && _variant$attributes$R !== void 0 ? _variant$attributes$R : "").split(",")[0]) === null || _split$ === void 0 ? void 0 : _split$.split("/")) !== null && _split$0$split !== void 0 ? _split$0$split : [];
625
+ const projection = layout.includes("PROJ-EQUI") ? "equirectangular" : layout.includes("PROJ-HEQU") ? "half-equirectangular" : void 0;
624
626
  const pathway = variant.attributes["PATHWAY-ID"];
625
627
  let id = pathway !== void 0 ? `v-${bandwidth}-${pathway}` : `v-${bandwidth}`;
626
628
  const taken = declared.get(id);
@@ -631,14 +633,14 @@ function parse(text, baseUrl, parseMedia = parseMediaPlaylist) {
631
633
  declared.set(id, variant.attributes);
632
634
  const average = Number(variant.attributes["AVERAGE-BANDWIDTH"]);
633
635
  const supplemental = variant.attributes["SUPPLEMENTAL-CODECS"];
634
- const base = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
636
+ const base = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
635
637
  id,
636
638
  bitrate: bandwidth,
637
639
  codecs,
638
640
  mimeType: "video/mp4",
639
641
  segments: [],
640
642
  playlistUrl: variant.uri
641
- }, average > 0 ? { averageBitrate: average } : {}), supplemental !== void 0 ? { supplementalCodecs: supplemental } : {}), pathway !== void 0 ? { pathway } : {}), width !== void 0 ? { width } : {}), height !== void 0 ? { height } : {}), Number.isFinite(frameRate) ? { frameRate } : {}), videoRange !== void 0 ? { videoRange } : {});
643
+ }, average > 0 ? { averageBitrate: average } : {}), supplemental !== void 0 ? { supplementalCodecs: supplemental } : {}), pathway !== void 0 ? { pathway } : {}), width !== void 0 ? { width } : {}), height !== void 0 ? { height } : {}), Number.isFinite(frameRate) ? { frameRate } : {}), videoRange !== void 0 ? { videoRange } : {}), projection !== void 0 ? { projection } : {});
642
644
  const requires = {};
643
645
  if (variant.attributes.AUDIO !== void 0) requires.audio = variant.attributes.AUDIO;
644
646
  if (variant.attributes.SUBTITLES !== void 0) requires.text = variant.attributes.SUBTITLES;
@@ -1,6 +1,6 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { isTrick } from "../../kernel/presentation.js";
3
2
  import { withDeadGroups } from "../../kernel/rendition-select.js";
3
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
4
4
  // src/protocols/hls-cmaf/unavailable.ts
5
5
  /**
6
6
  * What a playlist that cannot be used means for playback. Pure; shared by
@@ -1,10 +1,10 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { scheduled, tickAfter } from "../../kernel/effects.js";
3
2
  import { findRendition } from "../../kernel/presentation.js";
4
3
  import { activeRenditions } from "../../kernel/rendition-select.js";
5
4
  import { parseMediaPlaylist, refreshFor } from "../hls-cmaf/parse.js";
6
5
  import { RELOAD_FAILED, readmitMessage, unavailableMessages } from "../hls-cmaf/unavailable.js";
7
6
  import { registerLiveNamespace } from "../live-shared.js";
7
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
8
8
  // src/protocols/hls-live/index.ts
9
9
  /**
10
10
  * HLS live: the edge is read, never computed. A slice reducer reloads the
@@ -1,6 +1,6 @@
1
1
  import { MANIFEST_TYPES, createReduceHls } from "../hls-cmaf/index.js";
2
- import { registerLiveNamespace } from "../live-shared.js";
3
2
  import { createReduceHlsLive } from "../hls-live/index.js";
3
+ import { registerLiveNamespace } from "../live-shared.js";
4
4
  import { nextReload, parseLowLatency, reportsOf } from "./parse.js";
5
5
  // src/protocols/hls-ll/index.ts
6
6
  /** The stage factory. It provides `hls-cmaf` and `hls-live`, so stages that require either compose with it. */
@@ -1,8 +1,8 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { resolveUrl } from "../../kernel/url.js";
3
2
  import { manifestError } from "../adapter-shared.js";
4
3
  import { lex } from "../hls-cmaf/lexer.js";
5
4
  import { parseByteRange, parseMediaLines } from "../hls-cmaf/parse.js";
5
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
6
6
  // src/protocols/hls-ll/parse.ts
7
7
  /**
8
8
  * Low-latency HLS media playlists (RFC 8216bis §4.4.3.7, §4.4.3.8,
@@ -155,7 +155,7 @@ function parseLowLatency(text, baseUrl, previous = [], previousRanges = []) {
155
155
  const length = Number(attributes["BYTERANGE-LENGTH"]);
156
156
  hint = _objectSpread2({ url: resolveUrl(uri, baseUrl) }, Number.isFinite(start) ? { byteRange: {
157
157
  start,
158
- end: length > 0 ? start + length - 1 : Infinity
158
+ end: length > 0 ? start + length - 1 : 1e400
159
159
  } } : {});
160
160
  break;
161
161
  }
@@ -1,7 +1,7 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { scheduled } from "../../kernel/effects.js";
3
2
  import { findRendition, isTrick } from "../../kernel/presentation.js";
4
3
  import { canSwitchTo } from "../../kernel/rendition-select.js";
4
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
5
5
  // src/stages/abr/index.ts
6
6
  /**
7
7
  * Adaptive bitrate as a stage, not kernel. It registers one chooser
@@ -1,5 +1,5 @@
1
- import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
2
1
  import { findRendition } from "../../kernel/presentation.js";
2
+ import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/asyncToGenerator.js";
3
3
  // src/stages/aes-128/index.ts
4
4
  /**
5
5
  * aes-128 as a stage: full-segment AES-CBC decryption for HLS EXT-X-KEY
@@ -1,7 +1,7 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
- import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
3
1
  import { findTrackSite } from "../../kernel/presentation.js";
4
2
  import { chaptersFromInput, parseAppleChapters, parseChapterTrack } from "./parse.js";
3
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
4
+ import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/asyncToGenerator.js";
5
5
  // src/stages/chapters/index.ts
6
6
  /**
7
7
  * Chapters: named spans of the presentation, answered through
@@ -1,7 +1,7 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
- import _objectWithoutProperties from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectWithoutProperties.js";
3
1
  import { parseVtt } from "../../containers/webvtt.js";
4
2
  import { resolveUrl } from "../../kernel/url.js";
3
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
4
+ import _objectWithoutProperties from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectWithoutProperties.js";
5
5
  // src/stages/chapters/parse.ts
6
6
  /**
7
7
  * Chapter files into one record shape. Pure. A WebVTT file serves two
@@ -1,6 +1,6 @@
1
+ import { bytesToHex } from "../../kernel/base64.js";
1
2
  import { findRendition } from "../../kernel/presentation.js";
2
3
  import { segmentAt } from "../../kernel/timeline.js";
3
- import { bytesToHex } from "../../kernel/base64.js";
4
4
  // src/stages/cmcd/index.ts
5
5
  /**
6
6
  * Common Media Client Data (CTA-5004). The engine already exposes the seam
@@ -1,6 +1,6 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
- import { findRendition } from "../../kernel/presentation.js";
3
1
  import { codecMismatch, probeInitSegment } from "../../containers/codec-probe/index.js";
2
+ import { findRendition } from "../../kernel/presentation.js";
3
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
4
4
  // src/stages/codec-probe/index.ts
5
5
  /**
6
6
  * codec-probe as a loadable stage. The derivation itself lives in the
@@ -1,5 +1,5 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { scheduled, tickAfter } from "../../kernel/effects.js";
2
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
3
3
  // src/stages/content-steering/index.ts
4
4
  /**
5
5
  * Content steering: pathway switching from a steering manifest, plus
@@ -1,7 +1,7 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
- import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
3
1
  import { bytesToBase64 } from "../../kernel/base64.js";
4
2
  import { keySystemHandlers, normalizeSystemId } from "../drm-shared.js";
3
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
4
+ import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/asyncToGenerator.js";
5
5
  // src/stages/eme-core/index.ts
6
6
  /**
7
7
  * The generic EME handshake, entanglement #3 resolved: DRM lands without
@@ -23,8 +23,8 @@ import { keySystemHandlers, normalizeSystemId } from "../drm-shared.js";
23
23
  * its own (Widevine `license-renewal`) takes the normal license path.
24
24
  *
25
25
  * ClearKey is built in — it is the only key system testable headlessly.
26
- * Widevine, PlayReady, and FairPlay arrive as handlers eme-cenc and
27
- * eme-fairplay register through drm-shared.
26
+ * Widevine, PlayReady, FairPlay, and WisePlay arrive as handlers eme-cenc,
27
+ * eme-fairplay, and eme-wiseplay register through drm-shared.
28
28
  *
29
29
  * A license request follows hls.js's key-load policy: a network error or
30
30
  * an HTTP status outside 4xx retries up to 8 times, a timeout (20 s) once,
@@ -1,6 +1,6 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { base64ToBytes, bytesToBase64 } from "../../kernel/base64.js";
3
2
  import { registerKeySystem } from "../drm-shared.js";
3
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
4
4
  // src/stages/eme-fairplay/index.ts
5
5
  /**
6
6
  * FairPlay Streaming: the non-standard SPC/CKC flow. Safari only, and it
@@ -0,0 +1,24 @@
1
+ import { registerKeySystem } from "../drm-shared.js";
2
+ // src/stages/eme-wiseplay/index.ts
3
+ /** ChinaDRM's system id, which WisePlay signals. */
4
+ const WISEPLAY_SYSTEM_ID = "3d5e6d35-9b9a-41e8-b843-dd3c6e72c42c";
5
+ /** The key system strings, in the order eme-core asks for them. */
6
+ const WISEPLAY_KEY_SYSTEMS = ["com.huawei.wiseplay", "com.wiseplay.drm"];
7
+ /** The WisePlay handlers for eme-core, under both key system strings. */
8
+ function emeWiseplay() {
9
+ return {
10
+ name: "eme-wiseplay",
11
+ provides: ["eme-wiseplay"],
12
+ requires: ["eme-core"],
13
+ install() {
14
+ for (const keySystem of WISEPLAY_KEY_SYSTEMS) registerKeySystem({
15
+ keySystem,
16
+ systemIds: [WISEPLAY_SYSTEM_ID],
17
+ initDataTypes: ["cenc"],
18
+ buildLicenseRequest: (message) => message,
19
+ parseLicenseResponse: (response) => response
20
+ });
21
+ }
22
+ };
23
+ }
24
+ export { WISEPLAY_KEY_SYSTEMS, WISEPLAY_SYSTEM_ID, emeWiseplay as default };
@@ -1,4 +1,4 @@
1
- import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
1
+ import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/asyncToGenerator.js";
2
2
  // src/stages/hdr/index.ts
3
3
  const SOURCE = "hdr";
4
4
  /** The display's answer, or null when the browser does not know `dynamic-range`. */
@@ -1,6 +1,6 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { scte35Summary } from "../../containers/scte35.js";
3
2
  import { resolveUrl } from "../../kernel/url.js";
3
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
4
4
  // src/stages/interstitials/breaks.ts
5
5
  /**
6
6
  * Breaks from what the stream signals, as plain data. HLS interstitials
@@ -1,9 +1,9 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
- import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/asyncToGenerator.js";
3
- import { findBox, trackTimescales } from "../../containers/mp4-box/index.js";
4
1
  import { placeEmsg } from "../../containers/emsg.js";
2
+ import { findBox, trackTimescales } from "../../containers/mp4-box/index.js";
5
3
  import { bytesToBase64 } from "../../kernel/base64.js";
6
4
  import { assetsOf, breaksOf, fromEvent } from "./breaks.js";
5
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
6
+ import _asyncToGenerator from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/asyncToGenerator.js";
7
7
  // src/stages/interstitials/index.ts
8
8
  /**
9
9
  * Plays breaks: HLS interstitials, DASH alternative MPD events, and the
@@ -1,5 +1,5 @@
1
- import { findBox, findBoxes, fourcc, fragmentSamples, sampleEntries, trackInfo, trexDefaults } from "../../containers/mp4-box/index.js";
2
1
  import { captionsWanted, deliverCaptions } from "../../containers/captions.js";
2
+ import { findBox, findBoxes, fourcc, fragmentSamples, sampleEntries, trackInfo, trexDefaults } from "../../containers/mp4-box/index.js";
3
3
  import { ccTriplesFromSei } from "../../containers/sei.js";
4
4
  // src/stages/nal-scan/index.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
1
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
2
2
  // src/stages/qoe/index.ts
3
3
  function qoe() {
4
4
  return {
@@ -1,7 +1,7 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
2
1
  import { scheduled, tickAfter } from "../../kernel/effects.js";
3
2
  import { findRendition, findTrackSite } from "../../kernel/presentation.js";
4
3
  import { segmentAt as segmentAt$1, segmentAtTime } from "../../kernel/timeline.js";
4
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
5
5
  // src/stages/recovery/index.ts
6
6
  /**
7
7
  * Recovery as a stage: the kernel keeps its circuit breakers as the last
@@ -1,4 +1,4 @@
1
- import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/objectSpread2.js";
1
+ import _objectSpread2 from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/objectSpread2.js";
2
2
  // src/stages/rendition-names/index.ts
3
3
  const DATA_ID = "_hls.localized-rendition-names";
4
4
  const FETCH_TOKEN = "rendition-names:dictionary";
@@ -1,4 +1,4 @@
1
- import _defineProperty from "../../_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/defineProperty.js";
1
+ import _defineProperty from "../../_virtual/_@oxc-project_runtime@0.158.0/helpers/esm/defineProperty.js";
2
2
  // src/stages/text-cea608/decode.ts
3
3
  const ROWS = 15;
4
4
  /** The basic CEA-608 character set: ASCII with a handful of substitutions. */