[Live-devel] Possible authentication bug opening several RTSPClient from the same event loop

Francisco Feijoo francisco at eyelynx.com
Wed Nov 12 10:40:05 PST 2014


Hi Ross,

Looking at the code fAllowBasicAuthentication is never initialized.

2014-11-12 19:01 GMT+01:00 Francisco Feijoo <francisco at eyelynx.com>:

> Hi Ross,
>
> Thanks for your support.
>
> Looks like I can reproduce the problem with the unmodified openRTSP
> command. It works on VLC.
>
> ./openRTSP rtsp://admin:12345@192.168.1.222:554/h.264/ch7/main/av_stream
> Opening connection to 192.168.1.222, port 554...
> ...remote connection opened
> Sending request: OPTIONS rtsp://
> admin:12345 at 192.168.1.222:554/h.264/ch7/main/av_stream RTSP/1.0
> CSeq: 2
> User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.11.07)
>
>
> Received 100 new bytes of response data.
> Received a complete OPTIONS response:
> RTSP/1.0 200 OK
> CSeq: 2
> Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, SET_PARAMETER
>
>
> Sending request: DESCRIBE rtsp://
> admin:12345 at 192.168.1.222:554/h.264/ch7/main/av_stream RTSP/1.0
> CSeq: 3
> User-Agent: ./openRTSP (LIVE555 Streaming Media v2014.11.07)
> Accept: application/sdp
>
>
> Received 73 new bytes of response data.
> Received a complete DESCRIBE response:
> RTSP/1.0 401 Unauthorized
> CSeq: 3
> WWW-Authenticate: Basic realm="/"
>
>
> Failed to get a SDP description for the URL "rtsp://
> admin:12345 at 192.168.1.222:554/h.264/ch7/main/av_stream": 401 Unauthorized
>
>
>
> 2014-11-12 13:14 GMT+01:00 Ross Finlayson <finlayson at live555.com>:
>
>> Can you reproduce the problem using the *unmodified* “openRTSP” command -
>> or does the problem occur only with your custom RTSP client application
>> (that is opening multiple RTSP streams)?
>>
>> If it’s the latter, then I suspect that your problem may be that you are
>> using the same “Authenticator” object for more than one RTSP stream.  You
>> can’t do this (especially not with the latest LIVE555 version); you have to
>> use a different “Authenticator” object for each “RTSPClient”.
>>
>> But if you can reproduce the problem with “openRTSP” (i.e., on a single
>> RTSP stream), then please post the *complete* RTSP protocol exchange.
>>
>>
>> Ross Finlayson
>> Live Networks, Inc.
>> http://www.live555.com/
>>
>>
>> _______________________________________________
>> live-devel mailing list
>> live-devel at lists.live555.com
>> http://lists.live555.com/mailman/listinfo/live-devel
>>
>>
>
>
> --
>
> *Francisco Feijoo *
>



-- 
*Francisco Feijoo - MSc (Eng)*
Chief Technical Officer
EyeLynx a subsidiary of Zaun Limited

+44 020 8133 9388 | www.eyelynx.com | @EyeLynxLtd
<https://twitter.com/EyeLynxLtd> | Youtube
<https://www.youtube.com/user/EyeLynxCCTV>


EyeLynx Limited, the creators of SharpView are defining Video Intelligence,
full HD and
Megapixel CCTV to provide state-of-the-art electronic security solutions
for critical needs.
EyeLynx, develops and manufactures total perimeter protection solutions
using RADAR,
Video Analytics, PIDs, Thermal Imaging and PIRs which fully integrate into
fencing and
barrier systems using SharpView. For more information, contact us via
sales at eyelynx.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20141112/6bfbf251/attachment.html>


More information about the live-devel mailing list