Adding right click actions on objects or events
AnsweredHello,
Currently, all the events I create using the server API either has no right click actions, or I can only open the related device(s) if the event is linked to a device.

I saw that This integration (suprema q-face) has added right click actions on the objects they added.

- Is it possible to do it using the serverAPI ?
- If it is only possible using the SDK, have you got the documentation reference on how to do this ? I didn't find it.
Thank you very much !
-
The behavior already exists.

However, from your screenshot it seems no metadata is included in the Generic Event, so the VMS doesn't know which device to Open / Open in a New Tab.
So, the body of the POST request could look like something like this:
{ "source": "CreditCardUsed" "caption": "POS terminal 5", "metadata": { "cameraRefs": [ "<add_applicable_cameraId>" ] } }With kind regards.
0 -
Hello Norman,
Thanks for your answer. I already managed to link my event to a device to enable open and open in in new tab button.
What I would like to do is add other actions like show on the quoted integration. They added custom actions like “manual enroll”, etc on their objects, see below :

Is it possible through API or do I need to use the Server SDK ?
Best regards
0 -
Hi Julien Polycarpe ,
To create such features, some custom plugin development would be required. You can find all the necessary documentation to help you get started right HERE.
Best regards
0 -
Hello Norman ,
Ok thank you very much.
Also, do you know if it is possible to create devices that could appear as available despite them not sending any video stream ?
I want to abstract external systems (example : an alarm) in Nx, so that a plugin could be enabled on them. This plugin would ignore the video stream (which wouldnt exist anyway) and create events or objects based on the logic of the plugin. It seems not possible but I would like to be sure.
0 -
Hello Norman !
Happy new year. If you could take a look at this when you have a moment, thank you very much
0 -
Hi Julien Polycarpe,
At the moment, we are not very sure what your exact use case is regarding populating events or object-based logic. As mentioned in the other post, it would be helpful for us to first understand in which scenarios and how you intend to use these devices.
In general, we do support IP audio/speaker devices and I/O modules. These devices typically do not provide video streams and are audio-only. They can be managed via ONVIF Profile S, or alternatively, by developing a custom plugin using the Device SDK (Video Source SDK).
From a technical perspective, this is feasible as long as the device can be managed by Nx Mediaserver—in other words, the device must be addable to the server.
If your device supports ONVIF Profile S, it is likely already compatible, and only a plugin implementation via metaSDK for events or objects may be required.
However, if the device relies on a proprietary API or protocol, there is no direct support option.
In this case, you may still use the Video Source SDK to develop your own plugin so the device can be added and managed by Nx Mediaserver. Once integrated, you can then use the Meta SDK to populate or trigger events as needed.For your reference, please find the relevant documentation on our developer portal below:
https://meta.nxvms.com/docs/developers/knowledgebase/196-vmsname-server-plugin-sdk-c

You can find the sample of device plugins and analytics plugin by download the SDK sample.
0
Please sign in to leave a comment.
Comments
6 comments