update gortsplib

This commit is contained in:
aler9 2020-11-08 20:06:03 +01:00
parent 2304dfc124
commit b1153bbcb4
3 changed files with 7 additions and 7 deletions

2
go.mod
View File

@ -5,7 +5,7 @@ go 1.15
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-20201107231053-4aa5848fba3c
github.com/aler9/gortsplib v0.0.0-20201108190150-2deddcffab35
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.4.9
github.com/notedit/rtmp v0.0.2

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-20201107231053-4aa5848fba3c h1:148TZWQfPG8lFmfO70CDt3urAFAAgYhAVuNwsIiNDAI=
github.com/aler9/gortsplib v0.0.0-20201107231053-4aa5848fba3c/go.mod h1:6yKsTNIrCapRz90WHQtyFV/rKK0TT+QapxUXNqSJi9M=
github.com/aler9/gortsplib v0.0.0-20201108190150-2deddcffab35 h1:cvrtIpoYb+24P/po3BuuE/0DHoCfipkhXxueQZz4kwI=
github.com/aler9/gortsplib v0.0.0-20201108190150-2deddcffab35/go.mod h1:6yKsTNIrCapRz90WHQtyFV/rKK0TT+QapxUXNqSJi9M=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=

View File

@ -314,7 +314,7 @@ func TestPublishPause(t *testing.T) {
defer conn.Close()
for i := 0; i < 2; i++ {
err := conn.WriteFrameUDP(track.Id, gortsplib.StreamTypeRtp, []byte("\x00\x00\x00\x00"))
err := conn.WriteFrame(track.Id, gortsplib.StreamTypeRtp, []byte("\x00\x00\x00\x00"))
require.NoError(t, err)
}
@ -327,7 +327,7 @@ func TestPublishPause(t *testing.T) {
require.NoError(t, err)
for i := 0; i < 2; i++ {
err := conn.WriteFrameUDP(track.Id, gortsplib.StreamTypeRtp, []byte("\x00\x00\x00\x00"))
err := conn.WriteFrame(track.Id, gortsplib.StreamTypeRtp, []byte("\x00\x00\x00\x00"))
require.NoError(t, err)
}
@ -338,7 +338,7 @@ func TestPublishPause(t *testing.T) {
defer conn.Close()
for i := 0; i < 2; i++ {
err := conn.WriteFrameTCP(track.Id, gortsplib.StreamTypeRtp, []byte("\x00\x00\x00\x00"))
err := conn.WriteFrame(track.Id, gortsplib.StreamTypeRtp, []byte("\x00\x00\x00\x00"))
require.NoError(t, err)
}
@ -351,7 +351,7 @@ func TestPublishPause(t *testing.T) {
require.NoError(t, err)
for i := 0; i < 2; i++ {
err := conn.WriteFrameTCP(track.Id, gortsplib.StreamTypeRtp, []byte("\x00\x00\x00\x00"))
err := conn.WriteFrame(track.Id, gortsplib.StreamTypeRtp, []byte("\x00\x00\x00\x00"))
require.NoError(t, err)
}
}