rtspGenerateDigestAuthResponse
fn
string rtspGenerateDigestAuthResponse(string algorithm, string method, string realm, string username, string password, string uri, string nonce)Calculates the digest auth response from the values given by the server and the username and password. See RFC2069 for details.
Currently only supported algorithm "md5".
Parameters
algorithm | Hash algorithm to use, or null for MD5 |
method | Request method, e.g. PLAY |
realm | Realm |
username | Username |
password | Password |
uri | Original request URI |
nonce | Nonce |
Returns
Authentication response or null if unsupported