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:
		| @@ -51,7 +51,7 @@ func main() { | ||||
| 	c := gortsplib.Client{} | ||||
|  | ||||
| 	// connect to the server and start recording | ||||
| 	err = c.StartRecording("rtsp://localhost:8554/mystream", desc) | ||||
| 	err = c.StartRecording("rtsp://myuser:mypass@localhost:8554/mystream", desc) | ||||
| 	if err != nil { | ||||
| 		panic(err) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alessandro Ros
					Alessandro Ros