[Live-devel] RTSPClient::describeURL authentication problems
Igor Bukanov
igor at mir2.org
Mon Feb 19 09:13:16 PST 2007
On 19/02/07, Ross Finlayson <finlayson at live555.com> wrote:
> > > 2. If authenticator is not null, then the code does not repeat
> > > sending the command.
>
> The original idea here was that if "authenticator" is not NULL, then
> it would contain a (username,password) pair that should supercede any
> "username:password@" string in the URL. However, the VLC code now
> passes a (non-NULL) "authenticator", even if the user does not enter
> a (username,password) in a dialog box. So that's why the code is no
> longer working for you.
Here is more clarifications: the problem is that describeWithPassword
resends the command on authentication failure while describeUrl does
not. Since VLC does not have own repetition code it fails. Since
writing such restart code is very inconvenient on the client as there
is no simple way to check for that, the patch changes the code to
repeat DESCRIBE command in describeUrl while avoiding incorrect error
reporting.
Regards, Igor
More information about the live-devel
mailing list