具有摘要认证的libcurl verion 7.45.0 rtsp

时间:2016-08-15 08:38:06

标签: curl rtsp

我在网站上看到了卷曲的变更日志7.45.0。

它说rtsp:支持基本/摘要认证的错误是固定的。

但它没有说明如何使用rtsp的摘要认证。

我将描述消息发送到rtsp服务器,它返回了RTSP / 1.0 401 Unauthorized ...消息日志。

因此,你们知道如何向rtsp服务器发送账号/密码/摘要吗?

谢谢!

1 个答案:

答案 0 :(得分:0)

如果你的意思是libcUrl这种方式对我有用spook rtsp / rtp服务器(Edimax风味):

curl_easy_setopt(csession, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);
curl_easy_setopt(csession, CURLOPT_USERPWD, "username:password");
相关问题