rtspGenerateDigestAuthResponse

fnstring 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

algorithmHash algorithm to use, or null for MD5
methodRequest method, e.g. PLAY
realmRealm
usernameUsername
passwordPassword
uriOriginal request URI
nonceNonce

Returns

Authentication response or null if unsupported