[Live-devel] RTSPClient::describeURL authentication problems

Igor Bukanov igor at mir2.org
Mon Feb 19 03:45:47 PST 2007


Hi!

I think the current implementation of

char* RTSPClient::describeURL(char const* url, Authenticator* authenticator,
			      Boolean allowKasennaProtocol)

has the following problems:

1. If authenticator is null and the url contains username:password@
prefix before the host, then code calls describeWithPassword and
ignores allowKasennaProtocol parameter.

2.  If authenticator is not null, then the code does not repeat
sending the command. This is very inconvenient and forces various
workarounds in the client to repeat the command after the checking one
more time that the last failure was due to the access denied problem.

The attaches patch fixes both this problems as with it I can play
through unpatched vlc 0.8.6 rtsp source requiring authorization.

Regards, Igor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compile
Type: application/octet-stream
Size: 373 bytes
Desc: not available
Url : http://lists.live555.com/pipermail/live-devel/attachments/20070219/b2e1a532/attachment.obj 


More information about the live-devel mailing list