update gortsplib (#1611)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
c9dea38e27
commit
ebc723d9d4
2
go.mod
2
go.mod
|
@ -5,7 +5,7 @@ go 1.20
|
|||
require (
|
||||
code.cloudfoundry.org/bytefmt v0.0.0
|
||||
github.com/alecthomas/kong v0.7.1
|
||||
github.com/aler9/gortsplib/v2 v2.2.0
|
||||
github.com/aler9/gortsplib/v2 v2.2.2
|
||||
github.com/asticode/go-astits v1.11.0
|
||||
github.com/bluenviron/gohlslib v0.0.0-20230319232056-d55d76265613
|
||||
github.com/fsnotify/fsnotify v1.6.0
|
||||
|
|
4
go.sum
4
go.sum
|
@ -4,8 +4,8 @@ github.com/alecthomas/assert/v2 v2.1.0 h1:tbredtNcQnoSd3QBhQWI7QZ3XHOVkw1Moklp2o
|
|||
github.com/alecthomas/kong v0.7.1 h1:azoTh0IOfwlAX3qN9sHWTxACE2oV8Bg2gAwBsMwDQY4=
|
||||
github.com/alecthomas/kong v0.7.1/go.mod h1:n1iCIO2xS46oE8ZfYCNDqdR0b0wZNrXAIAqro/2132U=
|
||||
github.com/alecthomas/repr v0.1.0 h1:ENn2e1+J3k09gyj2shc0dHr/yjaWSHRlrJ4DPMevDqE=
|
||||
github.com/aler9/gortsplib/v2 v2.2.0 h1:bM2LZG5owtvA2DZLUvwN15Erv/hN6Kv5KBdjlqHjlVI=
|
||||
github.com/aler9/gortsplib/v2 v2.2.0/go.mod h1:Eegw8PWa8hNYXiYMlbK3RX1gr7+r25MxniAPGA+kKUE=
|
||||
github.com/aler9/gortsplib/v2 v2.2.2 h1:tTw8pdKSOEjlZjjE1S4ftXPHJkYOqjNNv3hjQ0Nto9M=
|
||||
github.com/aler9/gortsplib/v2 v2.2.2/go.mod h1:k6uBVHGwsIc/0L5SLLqWwi6bSJUb4VR0HfvncyHlKQI=
|
||||
github.com/aler9/writerseeker v0.0.0-20220601075008-6f0e685b9c82 h1:9WgSzBLo3a9ToSVV7sRTBYZ1GGOZUpq4+5H3SN0UZq4=
|
||||
github.com/aler9/writerseeker v0.0.0-20220601075008-6f0e685b9c82/go.mod h1:qsMrZCbeBf/mCLOeF16KDkPu4gktn/pOWyaq1aYQE7U=
|
||||
github.com/asticode/go-astikit v0.30.0 h1:DkBkRQRIxYcknlaU7W7ksNfn4gMFsB0tqMJflxkRsZA=
|
||||
|
|
|
@ -281,10 +281,12 @@ func main() {
|
|||
err = desc.Unmarshal(res.Body)
|
||||
require.NoError(t, err)
|
||||
control, _ = desc.MediaDescriptions[0].Attribute("control")
|
||||
} else {
|
||||
control = "rtsp://localhost:8554/ondemand/"
|
||||
}
|
||||
|
||||
if ca == "setup" || ca == "describe and setup" {
|
||||
u, err := url.Parse("rtsp://localhost:8554/ondemand/" + control)
|
||||
u, err := url.Parse(control)
|
||||
require.NoError(t, err)
|
||||
|
||||
byts, _ := base.Request{
|
||||
|
|
Loading…
Reference in New Issue