fix timeout with some cameras by using the stream path in OPTIONS requests (https://github.com/aler9/gortsplib/issues/8)

This commit is contained in:
aler9 2020-10-16 23:01:51 +02:00
parent 51c9060aed
commit 113cbe602c
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -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-20201010133203-0dab8c773496
github.com/aler9/gortsplib v0.0.0-20201016210035-b647e5ee314a
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/notedit/rtmp v0.0.2
github.com/pion/rtp v1.6.1 // indirect

4
go.sum
View File

@ -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-20201010133203-0dab8c773496 h1:G3VXGV2GzMkLEqOGVBulY/lNLouEV3QgN/1zQcgCBCU=
github.com/aler9/gortsplib v0.0.0-20201010133203-0dab8c773496/go.mod h1:8mpBfMEJIZn2C5fMM6vRYHgGH49WX0EH8gP1SDxv0Uw=
github.com/aler9/gortsplib v0.0.0-20201016210035-b647e5ee314a h1:oSyGggUDkjjKrNw8M0GH58zbV9XJRtOCITMExgGG6aA=
github.com/aler9/gortsplib v0.0.0-20201016210035-b647e5ee314a/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=