mirror of
				https://github.com/aler9/gortsplib
				synced 2025-10-31 18:42:40 +08:00 
			
		
		
		
	add sample credentials to client examples (#696)
This commit is contained in:
		| @@ -24,7 +24,7 @@ func main() { | ||||
| 	c := gortsplib.Client{} | ||||
|  | ||||
| 	// 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
	 Alessandro Ros
					Alessandro Ros