转 rtsp

1043阅读 0评论2012-12-05 pppStar
分类:C/C++

RTSP服务器返回的认证如下:realm="xx", nonce="yy"

RTSP客户端应该使用username + password并计算response如下:

(1)当password为MD5编码,则

    response = md5(::md5(:));

(2)当password为ANSI字符串,则

    response = md5(md5(::)::md5(:));

上一篇:2012-12-01
下一篇:转 mp4