mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
move url.URL into base.URL (#459)
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"log"
|
||||
|
||||
"github.com/bluenviron/gortsplib/v4"
|
||||
"github.com/bluenviron/gortsplib/v4/pkg/url"
|
||||
"github.com/bluenviron/gortsplib/v4/pkg/base"
|
||||
)
|
||||
|
||||
// This example shows how to
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
func main() {
|
||||
c := gortsplib.Client{}
|
||||
|
||||
u, err := url.Parse("rtsp://localhost:8554/mypath")
|
||||
u, err := base.ParseURL("rtsp://localhost:8554/mypath")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user