ngraziano / SharpRTSP

A RTSP handling library
Other
557 stars 182 forks source link

Keepalives need to reauthenticate for some servers. #126

Closed bentorkington closed 2 months ago

bentorkington commented 3 months ago

An RTSPServer may require reauthentication after a time. The Axis M5525 camera in particular has been found to reject GET_PARAMETER keepalives after 150 seconds, by responding with a 401 Unauthorized and a new nonce value.

Rather than stop at this point, the RTSPClient should send another authentication using the new nonce.

PR #125

ngraziano commented 3 months ago

PR merged. Please close if it solve the issue.