Skip to content

Commit

Permalink
add range header
Browse files Browse the repository at this point in the history
  • Loading branch information
deepch committed Mar 5, 2024
1 parent c6f36a9 commit 413b746
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions format/rtsp/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,7 @@ func (self *Client) Play() (err error) {
Method: "PLAY",
Uri: self.requestUri,
}
req.Header = append(req.Header, "Range: npt=0.000-")
req.Header = append(req.Header, "Session: "+self.session)
if err = self.WriteRequest(req); err != nil {
return
Expand Down

0 comments on commit 413b746

Please sign in to comment.