ngraziano / SharpRTSP

A RTSP handling library
Other
541 stars 180 forks source link

Keepalives need to reauthenticate for some servers. #126

Closed bentorkington closed 3 weeks ago

bentorkington commented 1 month 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 1 month ago

PR merged. Please close if it solve the issue.