I am using the Onvif.Core library in a .NET 6 application to communicate with an ONVIF-compatible camera (AXIS M5525-E). Initially, everything works fine, but after some time, all requests fail with the following SOAP response:
The action requested requires authorization and the sender is not authorized.
Could this be due to the fact that the library uses WS-Security with PasswordDigest authentication and that after a certain period, the timestamp for authentication is no longer valid?
Can a keep-alive mechanism be added to the library, or would I need to manually renew the camera object?
I am using the Onvif.Core library in a .NET 6 application to communicate with an ONVIF-compatible camera (AXIS M5525-E). Initially, everything works fine, but after some time, all requests fail with the following SOAP response:
The action requested requires authorization and the sender is not authorized.Could this be due to the fact that the library uses WS-Security with PasswordDigest authentication and that after a certain period, the timestamp for authentication is no longer valid?
Can a keep-alive mechanism be added to the library, or would I need to manually renew the camera object?