In the StatusViewer Sample and the AlarmEventViewer Sample we get the Live Feed Requested / Live Feed Terminated events.
I have been trying to see if I could use this event to track when anyone is viewing a live stream, but I need some client information on who and where the client connected from. In the User log in the management client this information is availible but not in realtime.
Is it posible to find this information in the raised event?
No, it is not in the event.
The audit log is not real-time. There is no way to get the information on user seeing live real-time.
Ok, if thats not possible is it then possible to view the camera status ie. is it currently streaming live? Using both rules and API I only a message if live stream starts and if it stops, but i cant see the current status? So not who, only if live stream is somehow active?
John
Yes.
The StatusViewer sample will signal the events as you outline. The sample uses at startup ProvideCurrentStateRequest / ProvideCurrentStateResponse, which could be used for an extra status update.
What would work better still is using the Status API directly (c-code XProtect server required), try to explore the Status Console sample.
http://doc.developer.milestonesys.com/html/index.html?base=samples/statusdemoconsole_sample.html&tree=tree_search.html?search=status+api