Browse Source

fix Content-Base header

pull/31/head v0.7.1
aler9 6 years ago
parent
commit
70d5735fec
  1. 2
      server-client.go

2
server-client.go

@ -378,7 +378,7 @@ func (c *serverClient) handleRequest(req *gortsplib.Request) bool {
StatusCode: gortsplib.StatusOK, StatusCode: gortsplib.StatusOK,
Header: gortsplib.Header{ Header: gortsplib.Header{
"CSeq": cseq, "CSeq": cseq,
"Content-Base": []string{req.Url.String()}, "Content-Base": []string{req.Url.String() + "/"},
"Content-Type": []string{"application/sdp"}, "Content-Type": []string{"application/sdp"},
}, },
Content: sdp, Content: sdp,

Loading…
Cancel
Save