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
|
|
@ -51,9 +51,9 @@ Full background: [capture.md — Transparent capture](../capture.md#transparent-
|
|||
|
||||
```powershell
|
||||
# NordVPN UK ON
|
||||
.\bin\drm.exe proxy install-ca --reinject
|
||||
.\bin\streamd.exe proxy install-ca --reinject
|
||||
adb shell am force-stop bbc.iplayer.android
|
||||
.\bin\drm.exe proxy transparent --package bbc.iplayer.android
|
||||
.\bin\streamd.exe proxy transparent --package bbc.iplayer.android
|
||||
# Play BBC One on the phone. Ctrl+C → stop iptables + pull.
|
||||
```
|
||||
|
||||
|
|
@ -74,7 +74,7 @@ Explore → channel logo → Watch live (uiautomator scan, same idea as RTE/TG4)
|
|||
|
||||
```powershell
|
||||
# NordVPN UK ON. Magisk CA should already be mounted. Phone unlocked.
|
||||
.\bin\drm.exe capture --app bbc --channel bbcone --wait 120
|
||||
.\bin\streamd.exe capture --app bbc --channel bbcone --wait 120
|
||||
```
|
||||
|
||||
`--channel` implies interactive navigation. Drop the channel flag and play by hand
|
||||
|
|
@ -86,7 +86,7 @@ same fields (`mpd` required; no `key` / `pssh` for clear streams).
|
|||
### Cleanup if playback breaks after a run
|
||||
|
||||
```powershell
|
||||
.\bin\drm.exe proxy stop
|
||||
.\bin\streamd.exe proxy stop
|
||||
adb shell "su -c 'sh /data/local/tmp/tproxy_iptables.sh stop; killall -9 appproxy 2>/dev/null; true'"
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ The part before `/` is the package id.
|
|||
Run a discover session and play a channel ([capture.md](capture.md)):
|
||||
|
||||
```bash
|
||||
./bin/drm proxy discover --install-ca --reinject
|
||||
./bin/streamd proxy discover --install-ca --reinject
|
||||
grep -iE 'ModularDrm|widevine|license' outputs/discover/*/appproxy.log
|
||||
```
|
||||
|
||||
|
|
@ -70,7 +70,7 @@ Take the full URL including its query string — the account reference in it is
|
|||
of the endpoint. The module also accepts it per run:
|
||||
|
||||
```bash
|
||||
./bin/drm capture --app rte --rte.license-url 'https://.../ModularDrm?...'
|
||||
./bin/streamd capture --app rte --rte.license-url 'https://.../ModularDrm?...'
|
||||
```
|
||||
|
||||
### `score.hosts` / `score.deny`
|
||||
|
|
@ -121,7 +121,7 @@ expires. Both come from a capture.
|
|||
**The KID** is in the capture session:
|
||||
|
||||
```bash
|
||||
./bin/drm capture --app rte --channel chanone --auto-play --wvd data/device.wvd
|
||||
./bin/streamd capture --app rte --channel chanone --auto-play --wvd data/device.wvd
|
||||
jq -r '.kid' outputs/rte/latest/session.json
|
||||
```
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ map key. So `https://host/live/tc-1/vc11/vc11.isml/` is keyed `vc11`.
|
|||
|
||||
```bash
|
||||
for ch in chanone chantwo; do
|
||||
./bin/drm capture --app rte --channel $ch --auto-play --wvd data/device.wvd
|
||||
./bin/streamd capture --app rte --channel $ch --auto-play --wvd data/device.wvd
|
||||
echo "$ch -> $(jq -r .kid outputs/rte/latest/session.json)"
|
||||
done
|
||||
```
|
||||
|
|
@ -215,8 +215,8 @@ the bandwidths. Segment duration and phase are learned at runtime, not configure
|
|||
## Verify
|
||||
|
||||
```bash
|
||||
./bin/drm modules # channel count should match your file
|
||||
./bin/drm capture --app rte --channel chanone --auto-play --wvd data/device.wvd
|
||||
./bin/streamd modules # channel count should match your file
|
||||
./bin/streamd capture --app rte --channel chanone --auto-play --wvd data/device.wvd
|
||||
go -C apps/modules test -tags live ./rte/ -v
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ The app fetches a JSON config at startup that carries the live stream ids and
|
|||
playback tokens. Find it in a discover session:
|
||||
|
||||
```bash
|
||||
./bin/drm proxy discover --install-ca --reinject
|
||||
./bin/streamd proxy discover --install-ca --reinject
|
||||
grep -oE 'https?://[^"]+(config|playback)[^"]*\.json' \
|
||||
outputs/discover/*/appproxy_traffic.jsonl | sort -u
|
||||
```
|
||||
|
|
@ -117,7 +117,7 @@ grep -oE 'pk=BCpkAD[A-Za-z0-9_-]+' outputs/discover/*/appproxy_traffic.jsonl \
|
|||
Treat it as a secret: keep it in this gitignored file, or pass it per run.
|
||||
|
||||
```bash
|
||||
./bin/drm catalog --app tg4 --channel chanone --tg4.policy-key 'BCpkAD...'
|
||||
./bin/streamd catalog --app tg4 --channel chanone --tg4.policy-key 'BCpkAD...'
|
||||
export TG4_POLICY_KEY='BCpkAD...'
|
||||
```
|
||||
|
||||
|
|
@ -168,7 +168,7 @@ still works.
|
|||
|
||||
### `channels.*.phone_only`
|
||||
|
||||
Set it for a channel that has no catalog entry. `drm catalog` then fails with a
|
||||
Set it for a channel that has no catalog entry. `streamd catalog` then fails with a
|
||||
message pointing at phone capture instead of a confusing "no video id" error.
|
||||
|
||||
### `ui.launch_resource_contains`
|
||||
|
|
@ -205,8 +205,8 @@ grep -oE '"host":"[^"]+"' outputs/discover/*/appproxy_traffic.jsonl \
|
|||
Catalog path first — it needs no phone:
|
||||
|
||||
```bash
|
||||
./bin/drm modules
|
||||
./bin/drm catalog --app tg4 --list
|
||||
./bin/streamd modules
|
||||
./bin/streamd catalog --app tg4 --list
|
||||
```
|
||||
|
||||
```text
|
||||
|
|
@ -225,7 +225,7 @@ channel the provider has switched off.
|
|||
Then resolve one for real:
|
||||
|
||||
```bash
|
||||
./bin/drm catalog --app tg4 --channel chanone --keys --wvd data/device.wvd
|
||||
./bin/streamd catalog --app tg4 --channel chanone --keys --wvd data/device.wvd
|
||||
```
|
||||
|
||||
Expect an HLS DVR manifest, a `/lic/wv?token=` license URL, a PSSH, and several
|
||||
|
|
@ -235,8 +235,8 @@ Finally, cross-check the phone path against it — independent routes agreeing o
|
|||
PSSH and the full key set is strong evidence both are configured correctly:
|
||||
|
||||
```bash
|
||||
./bin/drm catalog --app tg4 --channel chanone --keys --wvd data/device.wvd --json > a.json
|
||||
./bin/drm capture --app tg4 --channel chanone --auto-play --wvd data/device.wvd
|
||||
./bin/streamd catalog --app tg4 --channel chanone --keys --wvd data/device.wvd --json > a.json
|
||||
./bin/streamd capture --app tg4 --channel chanone --auto-play --wvd data/device.wvd
|
||||
diff <(jq -r '.keys[]' a.json | sort) <(sort outputs/tg4/latest/key.txt)
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue