diff --git a/client/client.go b/client/client.go index f68350b0..9d8f551f 100644 --- a/client/client.go +++ b/client/client.go @@ -332,7 +332,7 @@ func (c *Client) handleRequest(req *base.Request) error { pathName = pathName[1:] // strip leading slash // in RTSP, the control path is inserted after the query. - // therefore, path and query can't be threated separately + // therefore, path and query can't be treated separately if req.Url.RawQuery != "" { pathName += "?" + req.Url.RawQuery } diff --git a/go.mod b/go.mod index 7e33b089..92682562 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.14 require ( github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect - github.com/aler9/gortsplib v0.0.0-20201017143703-0b7201de6890 + github.com/aler9/gortsplib v0.0.0-20201025110453-2a642d4ee206 github.com/davecgh/go-spew v1.1.1 // indirect github.com/fsnotify/fsnotify v1.4.9 github.com/notedit/rtmp v0.0.2 diff --git a/go.sum b/go.sum index 05410dd4..ea923a12 100644 --- a/go.sum +++ b/go.sum @@ -2,8 +2,8 @@ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 h1:JYp7IbQjafo github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d h1:UQZhZ2O0vMHr2cI+DC1Mbh0TJxzA3RcLoMsFw+aXw7E= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/aler9/gortsplib v0.0.0-20201017143703-0b7201de6890 h1:p5tvUXK9CrNrkVdRhVetDuOsT64y+qEos5ZWnbxdUMo= -github.com/aler9/gortsplib v0.0.0-20201017143703-0b7201de6890/go.mod h1:8mpBfMEJIZn2C5fMM6vRYHgGH49WX0EH8gP1SDxv0Uw= +github.com/aler9/gortsplib v0.0.0-20201025110453-2a642d4ee206 h1:GXKELajdEuXrJjA8zlGjZSQk9O0reOq727n4Q4m5Kdc= +github.com/aler9/gortsplib v0.0.0-20201025110453-2a642d4ee206/go.mod h1:8mpBfMEJIZn2C5fMM6vRYHgGH49WX0EH8gP1SDxv0Uw= github.com/aler9/sdp-dirty/v3 v3.0.0-20200919115950-f1abc664f625 h1:A3upkpYzceQTuBPvVleu1zd6R8jInhg5ifimSO7ku/o= github.com/aler9/sdp-dirty/v3 v3.0.0-20200919115950-f1abc664f625/go.mod h1:5bO/aUQr9m3OasDatNNcVqKAgs7r5hgGXmszWHaC6mI= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=