RTSPClient - unable to authenticate after redirection.
RENOU Jean-Baptiste
jean-baptiste.renou at thalesgroup.com
Wed Nov 4 09:23:21 PST 2026
Classified as: {THALES GROUP LIMITED DISTRIBUTION}
Hello,
We have a use case where RTSPClient is connecting to a load balancer. This load balancer replies with 302/FOUND with location pointing to a RTSPServer that is expecting a digest authentication.
We use RTSPClient::sendDescribeCommand with an Authenticator instance. This was working with previous version of live555.
With the latest version, it's now failing because RTSPClient resets the authenticator when receiving the RTSP 302 response just before calling the actual RTSPServer.
The method Authenticator::reset() clears the realm and nonce which seems ok as the actual server should provide different values, but it also clears the username and password making authentication impossible.
I see in the change log this was done on purpose on 2026.09.23 but I don't know the rationale behind it.
Is there a way to send credentials to the server after redirection ?
Jean-Baptiste Renou
{THALES GROUP LIMITED DISTRIBUTION}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20261104/fde4ffa1/attachment.htm>
More information about the live-devel
mailing list