Specify Time in soap_wsse_add_Timestamp which all examples do

pull/3825/merge
Isaac Connor 2024-11-05 13:18:46 -05:00
parent 06e1eb68b6
commit d26bfab74a
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ void Monitor::ONVIF::WaitForMessage() {
//ONVIF Set Credentials
void Monitor::ONVIF::set_credentials(struct soap *soap) {
soap_wsse_delete_Security(soap);
soap_wsse_add_Timestamp(soap, nullptr, 10);
soap_wsse_add_Timestamp(soap, "Time", 10);
soap_wsse_add_UsernameTokenDigest(soap, "Auth", parent->onvif_username.c_str(), parent->onvif_password.c_str());
}