move URL into dedicated folder

This commit is contained in:
aler9
2022-06-05 01:27:19 +02:00
parent 45f5107ae3
commit 2fa3148a27
25 changed files with 123 additions and 102 deletions

View File

@@ -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)
}