Open jsf3rd opened 3 months ago
Hello. I am using your code well, thank you so much.
Recently, the new IP camera I purchased had an error with NotAuthorized.
Authentication error with "The action requested requires authorization and the sender is not authorized"
It works fine in ODM without any problems. As a result of checking, there was a problem with the GetONVIFPasswordDigest function.
Created := GetONVIFDateTime(Now);
For some IP cameras, we check the validity of the time, so we need to use UTC time for encryption.
Created := GetONVIFDateTime(TTimeZone.Local.ToUniversalTime(Now));
Unfortunately, I won't have access to any camera in the near future. I'll check it out when I get a chance.
Hello. I am using your code well, thank you so much.
Recently, the new IP camera I purchased had an error with NotAuthorized.
Authentication error with "The action requested requires authorization and the sender is not authorized"
It works fine in ODM without any problems. As a result of checking, there was a problem with the GetONVIFPasswordDigest function.
Created := GetONVIFDateTime(Now);
For some IP cameras, we check the validity of the time, so we need to use UTC time for encryption.
Created := GetONVIFDateTime(TTimeZone.Local.ToUniversalTime(Now));