the 'c' query params is not is not strictly necessary. It can break hls streams
All checks were successful
CI / build (push) Successful in 53s

This commit is contained in:
Fijxu 2025-01-01 01:03:17 -03:00
parent a98a4ba1bf
commit 3fc14dd18b
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -54,11 +54,11 @@ func videoplayback(w http.ResponseWriter, req *http.Request) {
}
c := q.Get("c")
if c == "" {
w.WriteHeader(400)
io.WriteString(w, "'c' query string undefined.")
return
}
// if c == "" {
// w.WriteHeader(400)
// io.WriteString(w, "'c' query string undefined.")
// return
// }
host := q.Get("host")
q.Del("host")