@adonis-agora/media 0.29.0 → 1.0.0-rc.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.
- package/CHANGELOG.md +27 -0
- package/README.md +1 -3
- package/dist/assets/spa/assets/index-C-7cKQuV.js +12 -0
- package/dist/assets/spa/assets/index-C-7cKQuV.js.map +1 -0
- package/dist/assets/spa/assets/index-Db6cSeO5.css +2 -0
- package/dist/assets/spa/index.html +2 -2
- package/dist/configure.d.ts +1 -2
- package/dist/configure.d.ts.map +1 -1
- package/dist/configure.js +1 -2
- package/dist/configure.js.map +1 -1
- package/dist/providers/dashboard_provider.d.ts +1 -2
- package/dist/providers/dashboard_provider.d.ts.map +1 -1
- package/dist/providers/dashboard_provider.js +3 -4
- package/dist/providers/dashboard_provider.js.map +1 -1
- package/dist/src/dashboard/define_config.d.ts +1 -4
- package/dist/src/dashboard/define_config.d.ts.map +1 -1
- package/dist/src/dashboard/define_config.js.map +1 -1
- package/dist/src/dashboard/index.d.ts +1 -1
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/service.d.ts +7 -0
- package/dist/src/dashboard/service.d.ts.map +1 -1
- package/dist/src/dashboard/service.js +31 -5
- package/dist/src/dashboard/service.js.map +1 -1
- package/dist/src/dashboard/spa.d.ts +4 -9
- package/dist/src/dashboard/spa.d.ts.map +1 -1
- package/dist/src/dashboard/spa.js +4 -9
- package/dist/src/dashboard/spa.js.map +1 -1
- package/dist/src/index.d.ts +5 -4
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +3 -3
- package/dist/src/index.js.map +1 -1
- package/dist/src/media_access.d.ts.map +1 -1
- package/dist/src/media_access.js +4 -3
- package/dist/src/media_access.js.map +1 -1
- package/dist/src/media_library.d.ts.map +1 -1
- package/dist/src/media_library.js +7 -4
- package/dist/src/media_library.js.map +1 -1
- package/dist/src/stores/lucid-schema.d.ts.map +1 -1
- package/dist/src/stores/lucid-schema.js +11 -0
- package/dist/src/stores/lucid-schema.js.map +1 -1
- package/dist/src/streaming.d.ts +15 -1
- package/dist/src/streaming.d.ts.map +1 -1
- package/dist/src/streaming.js +44 -2
- package/dist/src/streaming.js.map +1 -1
- package/dist/src/transformers/factory.d.ts +14 -3
- package/dist/src/transformers/factory.d.ts.map +1 -1
- package/dist/src/transformers/factory.js +31 -4
- package/dist/src/transformers/factory.js.map +1 -1
- package/dist/src/transformers/ffmpeg.d.ts +38 -1
- package/dist/src/transformers/ffmpeg.d.ts.map +1 -1
- package/dist/src/transformers/ffmpeg.js +119 -16
- package/dist/src/transformers/ffmpeg.js.map +1 -1
- package/dist/src/transformers/mediabunny.d.ts +2 -1
- package/dist/src/transformers/mediabunny.d.ts.map +1 -1
- package/dist/src/transformers/mediabunny.js +174 -33
- package/dist/src/transformers/mediabunny.js.map +1 -1
- package/dist/src/transformers/mediabunny_loader.d.ts +29 -1
- package/dist/src/transformers/mediabunny_loader.d.ts.map +1 -1
- package/dist/src/transformers/mediabunny_loader.js.map +1 -1
- package/dist/src/transformers/video.d.ts +42 -0
- package/dist/src/transformers/video.d.ts.map +1 -1
- package/dist/src/transformers/video.js +37 -0
- package/dist/src/transformers/video.js.map +1 -1
- package/package.json +17 -12
- package/dist/assets/spa/assets/index-CrdjxPM5.css +0 -2
- package/dist/assets/spa/assets/index-x-AtgWkE.js +0 -12
- package/dist/assets/spa/assets/index-x-AtgWkE.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @adonis-agora/media
|
|
2
2
|
|
|
3
|
+
## 1.0.0-rc.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#281](https://github.com/DavideCarvalho/adonis-agora-media/pull/281) [`94f8af1`](https://github.com/DavideCarvalho/adonis-agora-media/commit/94f8af12bb87bf614a8ff0262958dd6120708851) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Release 1.0. Every export, option, subpath and ace command of `@adonis-agora/media` and `@adonis-agora/media-react` from 0.x works unchanged (see "Migrating to 1.0" in the docs). One behaviour is gone: the embedded console no longer reads a `window.__MEDIA_DASHBOARD__` global, only the JSON data block the provider injects.
|
|
8
|
+
|
|
9
|
+
- Node.js 24 or later is required (`engines.node: ">=24"`, unchanged).
|
|
10
|
+
- `@adonis-agora/media` accepts `@adonis-agora/authz`, `@adonis-agora/authkit-client`, `@adonis-agora/authkit-server` and `@adonis-agora/telescope` 1.x, including the 1.0 release candidates (`<lower> <2.0.0 || >=1.0.0-rc.0 <2.0.0`, lower bounds unchanged).
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#281](https://github.com/DavideCarvalho/adonis-agora-media/pull/281) [`94f8af1`](https://github.com/DavideCarvalho/adonis-agora-media/commit/94f8af12bb87bf614a8ff0262958dd6120708851) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Console fixes:
|
|
15
|
+
|
|
16
|
+
- The console now sends shield's CSRF token (`x-xsrf-token`, from the `XSRF-TOKEN` cookie) on every POST, including uploads from the Upload tab, so actions work in apps that use `@adonisjs/shield`. A redirected or non-2xx response now shows as an error instead of a silent success.
|
|
17
|
+
- The Uploads tab shows `upload sessions table missing — run the media migration (node ace migration:run)` (HTTP 503) instead of a 500 when the `lucid` upload-session store's tables do not exist.
|
|
18
|
+
- `FolderBody` is exported from `@adonis-agora/media/dashboard` and `@adonis-agora/media-dashboard`.
|
|
19
|
+
|
|
20
|
+
## 0.30.0
|
|
21
|
+
|
|
22
|
+
### Minor Changes
|
|
23
|
+
|
|
24
|
+
- [#270](https://github.com/DavideCarvalho/adonis-agora-media/pull/270) [`64d5c2a`](https://github.com/DavideCarvalho/adonis-agora-media/commit/64d5c2abf610ab693b0198f2fc72f8fb9488de50) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - `engines.mediabunny({ ladder })` encodes an adaptive-bitrate ladder without spawning ffmpeg, through the optional peer `@mediabunny/server` (mediabunny's Node decoders/encoders over NodeAV; its native binary needs glibc). Every rung is encoded from one decode of the video, with a keyframe every `targetDuration` seconds, and the audio once to aac as the shared group; both manifests are written over the CMAF playlists. Without `ladder` it is the default remux engine. A missing `@mediabunny/server` throws `TransformerRuntimeMissingError`. The audio is muxed in its own pass because mediabunny 1.65.2's HLS muxer fails an assertion — as an unhandled rejection — when several video variants share an audio group in one output.
|
|
25
|
+
|
|
26
|
+
`VideoPackagingEngine` gains an optional `storyboard` flag: `transformers.video({ storyboard })` now refuses, at config time, any engine that does not declare it (`engines.ffmpeg()` does). The HLS master of the mediabunny engines lists every video rendition.
|
|
27
|
+
|
|
28
|
+
- [#270](https://github.com/DavideCarvalho/adonis-agora-media/pull/270) [`64d5c2a`](https://github.com/DavideCarvalho/adonis-agora-media/commit/64d5c2abf610ab693b0198f2fc72f8fb9488de50) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - `transformers.video({ storyboard })` writes timeline thumbnails — the preview a player shows over the progress bar while scrubbing — next to the streaming package: JPEG sprite sheets (`storyboard-001.jpg`…, a frame every `interval` seconds, `width` px wide, `columns` × `rows` per sheet; defaults 5 s, 160 px, 10 × 10) and a WebVTT (`storyboard.vtt`, `VIDEO_STORYBOARD`) mapping each interval to its tile with `#xywh=`. The stream route serves the sheets as `image/jpeg`, and the conversion `meta.storyboard` names the WebVTT; under `delivery.signing` a package WebVTT is signed like a manifest — only its cue lines that name package files get the signature, before the `#xywh=` fragment (new: `isWebVtt`, `rewriteWebVtt`, `WEBVTT_MIME_TYPE`). `engines.ffmpeg()` runs the storyboard decode alongside the encode, from the same local source; the default mediabunny engine cannot decode frames in Node, so `storyboard` without an engine is refused at config time. Also exported: `buildStoryboardArgs`, `buildStoryboardVtt`, `storyboardTileHeight`, `VIDEO_STORYBOARD_DEFAULTS`.
|
|
29
|
+
|
|
3
30
|
## 0.29.0
|
|
4
31
|
|
|
5
32
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -327,9 +327,7 @@ The console reads/writes through the real `@adonis-agora/media` surface (disk
|
|
|
327
327
|
`list`/`stat`/`copy`/`move`/`deleteMany`, the resumable session store, the `MediaStore`) — nothing
|
|
328
328
|
about storage is reimplemented. Full config reference, routes, and folder-operations semantics are
|
|
329
329
|
documented in [`@adonis-agora/media-dashboard`](https://github.com/DavideCarvalho/adonis-agora-media/tree/master/packages/dashboard),
|
|
330
|
-
which is
|
|
331
|
-
remains installable **standalone** — its own provider is a thin delegate to this one, kept for hosts
|
|
332
|
-
that already register it directly. Don't register both providers in the same app.
|
|
330
|
+
which is the **build-time source** of the console's SPA bundle (embedded here at build time).
|
|
333
331
|
|
|
334
332
|
## Diagnostics
|
|
335
333
|
|