[Live-devel] authentication problem

K3 Naa k3naaa at gmail.com
Sun Oct 17 17:43:48 PDT 2010


On Thu, Oct 14, 2010 at 11:22 PM, Ross Finlayson <finlayson at live555.com>wrote:

> 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)
>>
>
> This is an old version of "openRTSP".  No support is given for old versions
> of the code.  Our RTSP client implementation has changed significantly since
> then.  Please upgrade to the latest version fo the code, and try again.
>
> Running the latest version from October 15 gives me a very similar
response:
----
$ ./openRTSP -u "FA***" "PASS*****"
rtsp://128.XXX.XXX.XXX:554/AY1011/Fall-2/B8HST/081008201011.rm
Opening connection to 128.XXX.XXX.XXX, port 554...
...remote connection opened
Sending request: OPTIONS
rtsp://128.XXX.XXX.XXX:554/AY1011/Fall-2/B8HST/081008201011.rm RTSP/1.0
CSeq: 2
User-Agent: ./openRTSP (LIVE555 Streaming Media v2010.10.15)


Received 328 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Mon, 18 Oct 2010 00:51:54 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: 05197b5d9a09eefde351d6a72a00a27b
StatsMask: 8


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


Received 152 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
CSeq: 3
Date: Mon, 18 Oct 2010 00:51:54 GMT
WWW-Authenticate: RN5 realm="vorena.ContentRealm", nonce="1287363114800031"


Failed to get a SDP description from URL
"rtsp://128.XXX.XXX.XXX:554/AY1011/Fall-2/B8HST/081008201011.rm": 401
Unauthorized
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20101017/d83bc312/attachment.html>


More information about the live-devel mailing list