fix: include CSeq in 400 responses

This commit is contained in:
aler9 2019-12-31 10:19:35 +01:00
parent 4500ac3008
commit f96659fa2d

View File

@ -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",