Browse Source

fix Content-Base header

pull/31/head v0.7.1
aler9 5 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 { @@ -378,7 +378,7 @@ func (c *serverClient) handleRequest(req *gortsplib.Request) bool {
StatusCode: gortsplib.StatusOK,
Header: gortsplib.Header{
"CSeq": cseq,
"Content-Base": []string{req.Url.String()},
"Content-Base": []string{req.Url.String() + "/"},
"Content-Type": []string{"application/sdp"},
},
Content: sdp,

Loading…
Cancel
Save