streamd: preview quality picker, dashboard polish, C4 wrap keys
- 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:
parent
b3955bd81e
commit
066e018749
113 changed files with 19002 additions and 1541 deletions
|
|
@ -22,6 +22,9 @@ type Session struct {
|
|||
KeyHex string `json:"key_hex,omitempty"`
|
||||
MPD string `json:"mpd,omitempty"`
|
||||
LicenseURL string `json:"license_url,omitempty"`
|
||||
// LicenseBody is the phone's JSON license POST (RedBee wrap). Used to
|
||||
// re-issue with a local CDM challenge.
|
||||
LicenseBody string `json:"license_body,omitempty"`
|
||||
}
|
||||
|
||||
// Write creates outputs/<app>/<stamp>/session.json (+ field txt files + latest).
|
||||
|
|
@ -51,11 +54,12 @@ func Write(root, app string, s Session) (string, error) {
|
|||
return "", err
|
||||
}
|
||||
fields := map[string]string{
|
||||
"pssh": s.PSSH,
|
||||
"auth": s.Auth,
|
||||
"pid": s.PID,
|
||||
"key": s.Key,
|
||||
"mpd": s.MPD,
|
||||
"pssh": s.PSSH,
|
||||
"auth": s.Auth,
|
||||
"pid": s.PID,
|
||||
"key": s.Key,
|
||||
"mpd": s.MPD,
|
||||
"license_body": s.LicenseBody,
|
||||
}
|
||||
for name, val := range fields {
|
||||
if val == "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue