streamd: optional keys, per-stream proxy, auto deps; agent module.yaml sync; RTE AutoPlay; Telegram release announces
- streamd: MPD-only start, proxy field, ffmpeg/NRE/mp4decrypt auto-install - GET/PUT /api/modules for module.yaml sync; agent sync_modules - RTE Live-tab AutoPlay fixes; modules zip named bbc/rte/tg4.zip - Telegram notify scripts wired into Forgejo release workflows
This commit is contained in:
parent
f9c28be3f1
commit
ac8701b5a6
36 changed files with 1460 additions and 143 deletions
|
|
@ -19,11 +19,13 @@ apps/streamd/
|
|||
./bin/drm serve --bind 127.0.0.1:8083 --data .cache/streamd --token SECRET
|
||||
```
|
||||
|
||||
Port 8083 by default, to stay clear of anything already on 8080/8081. Media tools
|
||||
resolve from flags, then env (`NRE_PATH` / `FFMPEG_PATH` / `MP4DECRYPT_PATH`), then
|
||||
`bin/`, then `PATH` — no machine-specific paths are baked in.
|
||||
Port 8083 by default, to stay clear of anything already on 8080/8081. On start,
|
||||
missing media tools are downloaded into `bin/` (ffmpeg, N_m3u8DL-RE, mp4decrypt)
|
||||
unless you pass `--skip-deps`. Flags / env still win when set.
|
||||
|
||||
Open `http://HOST:8083/` and put the token in the header box for mutating actions.
|
||||
Add a stream with an `.mpd` URL; Widevine keys are optional for clear content.
|
||||
Optional per-stream SOCKS5/HTTP `proxy` routes origin fetches (geo egress).
|
||||
|
||||
## API
|
||||
|
||||
|
|
@ -35,7 +37,7 @@ Open `http://HOST:8083/` and put the token in the header box for mutating action
|
|||
| POST | `/api/streams` | create |
|
||||
| GET/PATCH/DELETE | `/api/streams/:id` | detail / edit / delete |
|
||||
| POST | `/api/streams/:id/start\|stop\|restart` | desired state |
|
||||
| POST | `/api/streams/:id/credentials` | `{mpd,key,pssh?,auth?,pid?}`, restarts if enabled |
|
||||
| POST | `/api/streams/:id/credentials` | `{mpd,key?,pssh?,auth?,pid?}` — key optional; restarts if enabled |
|
||||
| POST | `/api/streams/:id/claim` | agent lease (`agent_id`, TTL ~3m) |
|
||||
| POST | `/api/streams/:id/claim/release` | release lease |
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue