diff --git a/internal/mp4/mp4.go b/internal/mp4/mp4.go index 654d9ae7..78708a35 100644 --- a/internal/mp4/mp4.go +++ b/internal/mp4/mp4.go @@ -91,8 +91,7 @@ func handlerMP4(w http.ResponseWriter, r *http.Request) { return } - src := query.Get("src") - stream := streams.Get(src) + stream := streams.GetOrPatch(query) if stream == nil { http.Error(w, api.StreamNotFound, http.StatusNotFound) return