[Live-devel] authentication problem

K3 Naa k3naaa at gmail.com
Thu Oct 14 09:09:07 PDT 2010


I am trying to open a password-protected rtsp stream.  After no success with
mplayer, I tried opening it directly with openRTSP, and get the following
output, with "RTSP/1.0 401 Unauthorized" at the very end:

-----
system~$ openRTSP -u FA*** PASS*****
rtsp://128.XXX.XXX.XXX:554/AY1011/Fall-2/B8HST/081008201011.rm
Sending request: OPTIONS
rtsp://128.XXX.XXX.XXX:554/AY1011/Fall-2/B8HST/081008201011.rm RTSP/1.0
CSeq: 1
User-Agent: openRTSP (LIVE555 Streaming Media v2010.01.11)


Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 1
Date: Thu, 14 Oct 2010 16:02:52 GMT
Server: Helix Mobile Server Version 14.0.0.348 (sunos-5.10-sparc-server)
(RealServer compatible)
Public: OPTIONS, DESCRIBE, PLAY, PAUSE, SETUP, GET_PARAMETER, SET_PARAMETER,
TEARDOWN
TurboPlay: 1
RealChallenge1: 8492caf7e0c56053f9d3b918cb0d9970
StatsMask: 8


Sending request: DESCRIBE
rtsp://128.XXX.XXX.XXX:554/AY1011/Fall-2/B8HST/081008201011.rm RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: openRTSP (LIVE555 Streaming Media v2010.01.11)


Received DESCRIBE response: RTSP/1.0 401 Unauthorized
CSeq: 2
Date: Thu, 14 Oct 2010 16:02:52 GMT
WWW-Authenticate: RN5 realm="vorena.ContentRealm", nonce="128707217270229"


Failed to get a SDP description from URL
"rtsp://128.XXX.XXX.XXX:554/AY1011/Fall-2/B8HST/081008201011.rm": cannot
handle DESCRIBE response: RTSP/1.0 401 Unauthorized
------

I get the same output if a use rtsp://USERNAME:PASSWORD@HOSTNAME:PORT
instead of the command line options for authentication.  I also get the same
output if I don't specify any login information at all.  Is this a syntax
issue, or does the server use some sort of unsupported authentication?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20101014/2c44b990/attachment.html>


More information about the live-devel mailing list