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
All checks were successful
CI / build (push) Successful in 53s
This commit is contained in:
parent
a98a4ba1bf
commit
3fc14dd18b
1 changed files with 5 additions and 5 deletions
10
httppaths.go
10
httppaths.go
|
@ -54,11 +54,11 @@ func videoplayback(w http.ResponseWriter, req *http.Request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
c := q.Get("c")
|
c := q.Get("c")
|
||||||
if c == "" {
|
// if c == "" {
|
||||||
w.WriteHeader(400)
|
// w.WriteHeader(400)
|
||||||
io.WriteString(w, "'c' query string undefined.")
|
// io.WriteString(w, "'c' query string undefined.")
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
|
|
||||||
host := q.Get("host")
|
host := q.Get("host")
|
||||||
q.Del("host")
|
q.Del("host")
|
||||||
|
|
Loading…
Reference in a new issue