cURL / Mailing Lists / curl-library / Single Mail

curl-library

RTSP and authentication

From: Guido Schade <guido.schade_at_gmail.com>
Date: Wed, 11 Sep 2013 11:22:38 +1000

Hi everyone,

I am using the example libcurl rtsp.c and can't seem to get RTSP
authentication working.

http://curl.haxx.se/libcurl/c/rtsp.html

RTSP: DESCRIBE rtsp://admin:admin_at_xxx:xx/video
Writing SDP to 'video.sdp'
*RTSP/1.0 401 Unauthorized*
CSeq: 2
Date: Wed, Sep 11 2013 00:39:00 GMT
WWW-Authenticate: Digest realm="LIVE555 Streaming Media",
nonce="f6fa1373e10b42bd31c957a3354913be"

Adding the standard auth settings (which work for http requests) (or having
username / password in the URI) does not seem to help.

Other implementations (libav / ffmpeg / live555) seem to be fine with the
auth, so is my own php RTSP implementation - so not sure what's happening.
It's hanging there and does not progress any further. (using TCP transport
instead of the default UDP in the example).

What am I missing?

Thanks for your help in advance. Using version libcurl-7.32.0.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-09-11