rtspGenerateDigestAuthResponse

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".

string
rtspGenerateDigestAuthResponse
(
string algorithm
,
string method
,
string realm
,
string username
,
string password
,
string uri
,
string nonce
)

Parameters

algorithm string

Hash algorithm to use, or null for MD5

method string

Request method, e.g. PLAY

realm string

Realm

username string

Username

password string

Password

uri string

Original request URI

nonce string

Nonce

Return Value

Type: string

Authentication response or null if unsupported