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

Francisco Feijoo francisco at eyelynx.com
Wed Nov 12 10:01:24 PST 2014


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 *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20141112/b135ec20/attachment-0001.html>


More information about the live-devel mailing list