streamd: preview quality picker, dashboard polish, C4 wrap keys
All checks were successful
release / build-and-upload (push) Successful in 6m18s
modules-release / build-and-upload (push) Successful in 5m18s

- Preview player can select FHD/HD/SD (or ABR master) from publish links
- Embed dashboard screenshots in README; Linux streamd+agent setup guide
- C4 Widevine wrap license mode + require --wvd; prefer Widevine PSSH
- Channel 4 and My5 modules; streamd auth, variants, schedules, HLS gate
This commit is contained in:
404errordeveloper 2026-10-09 20:57:43 +02:00
parent b3955bd81e
commit 066e018749
113 changed files with 19002 additions and 1541 deletions

View file

@ -19,13 +19,25 @@ import (
// Status is the resolved path for each tool after Ensure.
type Status struct {
BinDir string `json:"bin_dir"`
FFmpeg string `json:"ffmpeg"`
NRE string `json:"nre"`
MP4Decrypt string `json:"mp4decrypt"`
BinDir string `json:"bin_dir"`
FFmpeg string `json:"ffmpeg"`
NRE string `json:"nre"`
MP4Decrypt string `json:"mp4decrypt"`
Notes []string `json:"notes,omitempty"`
}
// Public is Status with filesystem paths reduced to presence flags, for the
// unauthenticated part of /api/health. Absolute install paths are useful to an
// operator and useful to an attacker, so anonymous callers get neither.
func (s Status) Public() map[string]any {
have := func(p string) bool { return strings.TrimSpace(p) != "" }
return map[string]any{
"ffmpeg": have(s.FFmpeg),
"nre": have(s.NRE),
"mp4decrypt": have(s.MP4Decrypt),
}
}
// Options controls Ensure.
type Options struct {
// BinDir overrides where binaries are installed. Empty → <repo.Root()>/bin