Skip to content

Commit

Permalink
fix Content-Base header
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed Jun 28, 2020
1 parent 8e3359c commit 70d5735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server-client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 70d5735

Please sign in to comment.