Hello,
I hope this message finds you well. I am reaching out to you regarding an issue I have encountered while trying to create a server that communicates with the Milestone server using an API and another party. Currently, I am facing a problem.
I couldn’t find how to access the videos of the alarms that we receive that are genertade because of the rule . I am developing in JavaScript for your information.
the data that i recive when geting an alarme are this :
Retrieved alarm with id=4ead3afd-e1bf-4de3-97c6: {
id: ‘4ead3afd-e1bf-4de3-97c6-’,
localId: null,
source: ‘cameras/xxxxxxx’,
time: ‘2024-01-26T15:18:22.947Z’,
lastUpdatedTime: ‘2024-01-26T15:18:22.947Z’,
assignedTo: null,
name: ‘detection mouvement’,
message: ‘TamperingStart’,
category: null,
priority: {
id: ‘8188ff24-b5da-4c19-9ebf-c1d8fc2caa75’,
level: 1,
name: ‘High’
},
state: { id: ‘60ab3977-090a-4381-a644-8bb51af2fdaa’, level: 1, name: ‘New’ },
data: {
description: ‘’,
startTime: ‘0001-01-01T00:00:00’,
endTime: ‘0001-01-01T00:00:00’,
location: null,
count: 0,
rules: [ [Object] ],
objects: null,
references: null,
vendor: null
}
}
i belive the data of the video are in the Object of rules but i dont know how to acces it .
I would appreciate it if you could guide me through the steps to resolve this problem or provide additional directions for diagnosing and fixing this error.
I am available for any further information you may require.
Best regards,