diff --git a/pkg/rtsp/conn.go b/pkg/rtsp/conn.go index ffd6b2e7..9820e385 100644 --- a/pkg/rtsp/conn.go +++ b/pkg/rtsp/conn.go @@ -146,7 +146,9 @@ func (c *Conn) Request(req *tcp.Request) error { } c.sequence++ - req.Header.Set("CSeq", strconv.Itoa(c.sequence)) + // important to send case sensitive CSeq + // https://github.com/AlexxIT/go2rtc/issues/7 + req.Header["CSeq"] = []string{strconv.Itoa(c.sequence)} c.auth.Write(req)