forked from External/mediamtx
update gortsplib
This commit is contained in:
parent
ba83ef65d2
commit
9d3fd3bc37
7 changed files with 23 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue