Null-DRM-Official/apps/pkg/README.md
404errordeveloper da8e1123ec
All checks were successful
release / build-and-upload (push) Successful in 7m5s
Streamd v0.2.0: rename, modules panel, stable/beta channels
- 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
2026-10-10 15:58:26 +02:00

37 lines
1.4 KiB
Markdown

# pkg — shared Go libraries
Imported by `apps/capture`, `apps/agent`, `apps/streamd`, `apps/proxy`, `apps/cli`
and `apps/modules` as module `streamd` via:
```go
replace streamd => ../pkg
```
## Packages
| Package | Role |
|---------|------|
| `adb` | ADB client (shell, push/pull, UI dump, tap) |
| `app` | App plugin interface + registry (+ optional Catalog / StreamDefaults) |
| `uiflow` | Phone-UI primitives app modules drive playback with |
| `modcfg` | Load an app module's local `module.yaml` + env overrides |
| `proxy` | Push/start/stop appproxy, CA install/reinject, pull captures |
| `phonecap` | One phone MITM job (proxy → launch → autoplay → wvkey → session) |
| `wvkey` | Shells out to `apps/wvkey/wvkey.py` |
| `brightcove` | Brightcove Playback API + HLS Widevine extraction (platform, not provider) |
| `capture` | Parse on-device capture JSON + score candidate manifest URLs |
| `session` | Write `outputs/<app>/<stamp>/` |
| `mpd` | Manifest rewriter interface, registry, synthetic live MPD builder, local server |
| `repo` | Find repo root (`apps/pkg/go.mod`) |
Nothing here names a streaming provider. Provider logic lives in `apps/modules/<name>`;
provider values live in that module's gitignored `module.yaml`.
## Build / test
```bash
# Go must be on PATH (or set GOROOT)
go -C apps/pkg test ./...
```
No binary of its own — everything ships in `bin/streamd`, built from `apps/cli`.