diff --git a/src/zm_rtsp_auth.cpp b/src/zm_rtsp_auth.cpp index b082ace01..4c3a7e442 100644 --- a/src/zm_rtsp_auth.cpp +++ b/src/zm_rtsp_auth.cpp @@ -114,9 +114,10 @@ std::string Authenticator::getAuthHeader(std::string method, std::string uri) if ( ! fQop.empty() ) { result += ", qop=" + fQop; result += ", nc=" + stringtf("%08x",nc); - result += ", cnonce=" + fCnonce; + result += ", cnonce=\"" + fCnonce "\""; } result += ", response=\"" + computeDigestResponse(method, uri) + "\""; + result += ", algorithm=\"MD5\""; //Authorization: Digest username="zm", // realm="NC-336PW-HD-1080P",