From f96659fa2dac1d076ae6dfc5a57d5bc41883c5c7 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Tue, 31 Dec 2019 10:19:35 +0100 Subject: [PATCH] fix: include CSeq in 400 responses --- rtsp_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtsp_client.go b/rtsp_client.go index 3cd9c2e0..7080f263 100644 --- a/rtsp_client.go +++ b/rtsp_client.go @@ -187,7 +187,7 @@ func (c *rtspClient) run() { default: c.log("ERR: %s", err) - if cseq, ok := req.Headers["cseq"]; ok { + if cseq, ok := req.Headers["CSeq"]; ok { c.rconn.WriteResponse(&rtsp.Response{ StatusCode: 400, Status: "Bad Request",