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

@ -13,6 +13,7 @@ import (
"github.com/aler9/gortsplib"
"github.com/aler9/gortsplib/pkg/base"
"github.com/aler9/gortsplib/pkg/url"
"github.com/aler9/rtsp-simple-server/internal/conf"
"github.com/aler9/rtsp-simple-server/internal/logger"
)
@ -151,7 +152,7 @@ func (s *rtspSource) runInner() bool {
},
}
u, err := base.ParseURL(s.ur)
u, err := url.Parse(s.ur)
if err != nil {
s.log(logger.Info, "ERR: %s", err)
return true