streamd v0.2.2: session uptimes, egress DNS, Support, agent/Widevine
All checks were successful
release / build-and-upload (push) Successful in 7m2s

Dashboard Live uptimes + Recent runs from stream_sessions; overview.recent_sessions.
WireGuard netns resolv.conf + missing-deps WARN. Support donations card.
Agent start/stop/update, job_backoff default off, wvkey ensure/venv, phonecap retries,
modhost YAML enrich, DRM SetCredentials requires keys.
This commit is contained in:
404errordeveloper 2026-10-10 19:26:39 +02:00
parent 3ae1dd58b3
commit a091922efa
34 changed files with 2391 additions and 154 deletions

View file

@ -363,6 +363,10 @@ func (h *Handler) overview(w http.ResponseWriter, r *http.Request) {
}
_ = h.Store.FlushHistory()
recent, _ := h.Store.RecentEvents(25)
sessions, _ := h.Store.ListRecentSessions(50)
if sessions == nil {
sessions = []db.StreamSession{}
}
out := map[string]any{
"totals": map[string]any{
"streams": len(list),
@ -374,7 +378,8 @@ func (h *Handler) overview(w http.ResponseWriter, r *http.Request) {
"viewers": viewers,
"needs_capture": needCapture,
},
"recent_events": recent,
"recent_events": recent,
"recent_sessions": sessions,
}
if h.Scheduler != nil {
out["upcoming"] = h.Scheduler.Upcoming(10)