[Live-devel] Using DigestAuthentication

Ross Finlayson finlayson at live555.com
Sat Mar 21 02:45:35 PDT 2009


>Can anybody explain me how can I use DigestAuthentication? How can I
>get the required realm an nonce parameters?

Are you a RTSP client or a RTSP server?  If you're a RTSP client, you 
don't have to know what type of authentication the server is 
requesting; just pass the 'username' and 'password' parameters to 
"RTSPClient::describeWithPassword()", and our library will do the 
right thing.

If you're a RTSP server, then look at the 
"testOnDemandRTSPServer.cpp" code for an example of how to do this. 
See the code bracketed with
#ifdef ACCESS_CONTROL
#endif

-- 

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


More information about the live-devel mailing list