mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
move URL into dedicated folder
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"log"
|
||||
|
||||
"github.com/aler9/gortsplib"
|
||||
"github.com/aler9/gortsplib/pkg/base"
|
||||
"github.com/aler9/gortsplib/pkg/url"
|
||||
)
|
||||
|
||||
// This example shows how to
|
||||
@@ -24,7 +24,7 @@ func main() {
|
||||
},
|
||||
}
|
||||
|
||||
u, err := base.ParseURL("rtsp://myserver/mypath")
|
||||
u, err := url.Parse("rtsp://myserver/mypath")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user