mirror of
https://github.com/aler9/gortsplib
synced 2025-09-27 03:25:52 +08:00
add sample credentials to client examples (#696)
This commit is contained in:
@@ -63,7 +63,7 @@ func main() {
|
||||
}
|
||||
|
||||
// parse URL
|
||||
u, err := base.ParseURL("rtsp://localhost:8554/mystream")
|
||||
u, err := base.ParseURL("rtsp://myuser:mypass@localhost:8554/mystream")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user