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

Marcin marcin at speed666.info
Wed Nov 12 10:47:14 PST 2014


Hello Ross,
To be honest, i sometimes observe this kind of situation in VLC that 
even with good User:Pass combination - VLC was giving me 401 auth 
problem. But i never fired the bug here as you manytimes statded that 
VLC is not your software. Looks like it is not realted to VLC directly.
Marcin

W dniu 2014-11-12 19:01, Francisco Feijoo pisze:
> 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 
> <http://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@192.168.1.222:554/h.264/ch7/main/av_stream 
> <http://admin:12345@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@192.168.1.222:554/h.264/ch7/main/av_stream 
> <http://admin:12345@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@192.168.1.222:554/h.264/ch7/main/av_stream 
> <http://admin:12345@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 
> <mailto: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 <mailto:live-devel at lists.live555.com>
>     http://lists.live555.com/mailman/listinfo/live-devel
>
>
>
>
> -- 
> *Francisco Feijoo
> *
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20141112/713d292b/attachment.html>


More information about the live-devel mailing list