From 3fc14dd18b24b94edb75fc7d6cb4463b9057456d Mon Sep 17 00:00:00 2001 From: Fijxu Date: Wed, 1 Jan 2025 01:03:17 -0300 Subject: [PATCH] the 'c' query params is not is not strictly necessary. It can break hls streams --- httppaths.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/httppaths.go b/httppaths.go index 50a98eb..9e9713a 100644 --- a/httppaths.go +++ b/httppaths.go @@ -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")