[Live-devel] openRTSP on an h.264 8 channel H264DVR 1.0

Ross Finlayson finlayson at live555.com
Sat Dec 19 01:42:35 PST 2015


> The standard syntax to specify a user name and/or password is: "rtsp://<username>:<password>@<hostname>

It depends on the server.  Including “<username>:<password>@“ in the RTSP URL is a bad idea (because it causes the username and password to be sent over the net ‘in the clear’.  But some servers require this.  Other, more sensible servers implement authorization using ‘Digest Authentication’ - which does not pass the username and password over the net.

Giving the “-u <username> <password>” option to “openRTSP” gives the RTSP client the information that it needs to do Digest Authentication, if the server requests it.

So, if you’re not sure what the server requires, then you should use the "-u <username> <password>” option, but perhaps also try including the username (and password if necessary) in the URL.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list