Streamd v0.2.0: rename, modules panel, stable/beta channels
All checks were successful
release / build-and-upload (push) Successful in 7m5s
All checks were successful
release / build-and-upload (push) Successful in 7m5s
- Rename product/host binary to streamd (drm compat copy still shipped) - Go module path streamd; STREAMD_* env aliases; agent UA streamd-agent - Panel Modules store + agent pull sync (modstore / modsync) - Rolling stable + beta download tags; README/docs channel curl blocks - Release notes in docs/releases/v0.2.0.md attached by Forgejo Actions
This commit is contained in:
parent
066e018749
commit
da8e1123ec
140 changed files with 2949 additions and 851 deletions
|
|
@ -8,9 +8,9 @@ things a downloader needs — **manifest URL**, **Widevine content keys**, and a
|
|||
|
||||
Two independent ways to get them:
|
||||
|
||||
1. **Catalog** (`drm catalog`) — the app's playback catalog is public, so a plain
|
||||
1. **Catalog** (`streamd catalog`) — the app's playback catalog is public, so a plain
|
||||
HTTPS request plus a local CDM is enough. No phone.
|
||||
2. **Phone capture** (`drm capture`) — launch the real app under an on-device
|
||||
2. **Phone capture** (`streamd capture`) — launch the real app under an on-device
|
||||
HTTPS MITM, drive its UI to the channel, and read the license exchange.
|
||||
|
||||
What it deliberately does not do: break DRM. The CDM used is a provisioned
|
||||
|
|
@ -20,7 +20,7 @@ real client performs.
|
|||
## Host + external modules
|
||||
|
||||
```text
|
||||
┌──────────────────────── bin/drm ────────────────────────┐
|
||||
┌──────────────────────── bin/streamd ────────────────────────┐
|
||||
│ capture catalog agent serve proxy │
|
||||
│ │ │
|
||||
│ └── modhost: discover / build / exec │
|
||||
|
|
@ -29,14 +29,14 @@ real client performs.
|
|||
modules/<name>/ (Go CLI + module.yaml + .bin/)
|
||||
```
|
||||
|
||||
`apps/cli` is the only host `main`. Providers are **not** linked into `drm.exe`.
|
||||
`apps/cli` is the only host `main`. Providers are **not** linked into `streamd`.
|
||||
Each `modules/<name>/` is a small CLI (`describe`, `launch`, `autoplay`, `catalog`)
|
||||
that the host builds on demand into `modules/<name>/.bin/` and runs as a
|
||||
subprocess. Shared library code may still live under `apps/modules/<name>/` for
|
||||
the external CLI to import via `replace`.
|
||||
|
||||
Adding a provider means adding a folder under `modules/` — no rebuild of `drm`.
|
||||
Point at another tree with `drm --modules-dir DIR` or `$DRM_MODULES_DIR`.
|
||||
Adding a provider means adding a folder under `modules/` — no rebuild of `streamd`.
|
||||
Point at another tree with `streamd --modules-dir DIR` or `$STREAMD_MODULES_DIR`.
|
||||
|
||||
Host releases use `v*` tags. Provider zips use separate `modules-v*` tags
|
||||
(`module-bbc-….zip`, `module-rte-….zip`, `module-tg4-….zip`). Tracked
|
||||
|
|
@ -64,13 +64,13 @@ local.
|
|||
Six modules, wired with `replace`:
|
||||
|
||||
```text
|
||||
apps/pkg drmdecryption shared, provider-neutral
|
||||
apps/modules drmdecryption/modules app modules -> pkg
|
||||
apps/capture drmdecryption/apps/capture capture command -> pkg
|
||||
apps/agent drmdecryption/apps/agent agent -> pkg
|
||||
apps/streamd drmdecryption/apps/streamd control plane -> pkg
|
||||
apps/proxy drmdecryption/apps/proxy MITM host CLI -> pkg
|
||||
apps/cli drmdecryption/apps/cli the binary -> all of the above
|
||||
apps/pkg streamd shared, provider-neutral
|
||||
apps/modules streamd/modules app modules -> pkg
|
||||
apps/capture streamd/apps/capture capture command -> pkg
|
||||
apps/agent streamd/apps/agent agent -> pkg
|
||||
apps/streamd streamd/apps/streamd control plane -> pkg
|
||||
apps/proxy streamd/apps/proxy MITM host CLI -> pkg
|
||||
apps/cli streamd/apps/cli the binary -> all of the above
|
||||
|
||||
apps/proxy/device appproxy standalone, cross-compiled for the phone
|
||||
```
|
||||
|
|
@ -100,7 +100,7 @@ Optional, detected by type assertion:
|
|||
|
||||
| Interface | Gives you |
|
||||
|---|---|
|
||||
| `app.Catalog` | `drm catalog --app <name>` works |
|
||||
| `app.Catalog` | `streamd catalog --app <name>` works |
|
||||
| `app.CatalogLister` | a richer `catalog --list` with catalog ids and provider flags |
|
||||
| `app.StreamDefaults` | streamd downloader settings (selectors, rewriter, buffering) |
|
||||
| `mpd.Rewriter` + `mpd.Register` | a named manifest rewrite streamd can resolve |
|
||||
|
|
@ -127,7 +127,7 @@ Nothing here names a streaming provider.
|
|||
## Phone capture pipeline
|
||||
|
||||
```text
|
||||
drm capture --app X --channel Y --auto-play
|
||||
streamd capture --app X --channel Y --auto-play
|
||||
│
|
||||
├─ push + start apps/proxy/device (appproxy) on the phone
|
||||
├─ set the phone's global http_proxy to 127.0.0.1:8080
|
||||
|
|
@ -171,7 +171,7 @@ bandwidths, codecs, resolution, segment templates, live-edge offset, window size
|
|||
The RTE module supplies origins and KIDs; when the upstream manifest is gone, a
|
||||
`mpd.KIDResolver` maps the KID from a previous capture back to its origin.
|
||||
|
||||
## Control plane (`drm serve`)
|
||||
## Control plane (`streamd serve`)
|
||||
|
||||
| Piece | Path |
|
||||
|---|---|
|
||||
|
|
@ -194,7 +194,7 @@ settingsFor(stream):
|
|||
The rewriter is a registry lookup on the stream's `rewriter` column, and HLS is
|
||||
detected from the manifest shape — not from an app name or a stream name.
|
||||
|
||||
## Agent (`drm agent run`)
|
||||
## Agent (`streamd agent run`)
|
||||
|
||||
```text
|
||||
poll streamd ──► durable SQLite queue ──► claim a free ADB device
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue