update gortsplib

This commit is contained in:
aler9
2022-06-05 01:36:29 +02:00
parent ba83ef65d2
commit 9d3fd3bc37
7 changed files with 23 additions and 19 deletions

View File

@@ -10,6 +10,7 @@ import (
"github.com/aler9/gortsplib/pkg/auth"
"github.com/aler9/gortsplib/pkg/base"
"github.com/aler9/gortsplib/pkg/rtph264"
"github.com/aler9/gortsplib/pkg/url"
"github.com/pion/rtp"
"github.com/stretchr/testify/require"
)
@@ -274,7 +275,7 @@ func TestRTSPSourceDynamicH264Params(t *testing.T) {
func() {
c := gortsplib.Client{}
u, err := base.ParseURL("rtsp://127.0.0.1:8554/proxied")
u, err := url.Parse("rtsp://127.0.0.1:8554/proxied")
require.NoError(t, err)
err = c.Start(u.Scheme, u.Host)
@@ -303,7 +304,7 @@ func TestRTSPSourceDynamicH264Params(t *testing.T) {
func() {
c := gortsplib.Client{}
u, err := base.ParseURL("rtsp://127.0.0.1:8554/proxied")
u, err := url.Parse("rtsp://127.0.0.1:8554/proxied")
require.NoError(t, err)
err = c.Start(u.Scheme, u.Host)