I am integrating a plugin for Xprotect corporate and I am trying the recording functionality. Whenever I start the recording, I get the recording started event, but I don’t get manual recording started event. I want manual recording event as well.
How do you start recording?
What is your XProtect server’s product and version?
How do you start recording?
By sending a message to the environment manager with message id (MessageId.Control.StartRecordingCommand)
What is your XProtect server’s product and version?
XProtect Corporate 2018 R1
Sending a message to the environment manager with message id (MessageId.Control.StartRecordingCommand) is not regarded as being a “Manual Recording Event”, and therefore “Manual Recording Event” is not triggered when the message is used. (MessageId.Control.StartRecordingCommand is an API function rather than a user interface function.)
Instead you can on the NewEventsIndication listen for the External Event “RequestStartRecording” and “RequestStopRecording”.
TIP: Run the Alarm and Event Viewer sample in “Event” mode and see the event that happens.
Ok, Thanks for the answer.
Is there any way or sample in SDK with whose help I can generate each and every event?
No, you cannot generate the events, the events are triggered from the functionality when used.
I hope you can make it work in your integration like this:
If you want to detect that the user start recording in Smart Client listen for “Manual Recording Event”
If you want to detect that the user start recording using the MIP function listen for “RequestStartRecording”
You can listen for both for completeness.
Ok, thanks for the answer.