bluenviron / gortsplib

RTSP 1.0 client and server library for the Go programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rtsp CSeq contains a space in front of line translation characters

leuhinev opened this issue · comments

My camera, at the DESCRIBE request, returns CSeq, which contains a space mark, because of this, the condition in the waitResponse function of the client.go file does not work.

                      if cseq, ok := res.Header["CSeq"]; !ok || len(cseq) != 1 || cseq[0] == requestCseqStr {
                               return res, nil
                      }

I used the patch:
mypatch.patch

added in MediaMTX v1.2.1

This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.