add hikvision speaker to NX witness
CompletedHi there,
I have a question about adding a Hikvision speaker to NX Witness.
After the device is added to the software, how is the streaming method between the device and the software determined or configured?
I've noticed that sometimes it uses ONVIF RTSP for streaming, which allows for two-way audio to work properly.
However, at other times it uses ISAPI for streaming, and in that case, two-way audio does not function correctly.
How can I configure or control the streaming method used between the software and the device?
-
Thanks for your question.
There is no single “fix” method for Hikvision devices, as they may have different purposes, limitations, or restrictions across their APIs. In some cases, certain ONVIF functions may not be supported, so it doesn’t make sense for the VMS to rely on one protocol only.
In general, for Hikvision devices, video stream, PTZ control, and analytics are handled via ISAPI. For 2-way audio, you would need to check with Hikvision directly to understand why it is not working with ISAPI.
This is not something the Nx Mediaserver can control — the server’s flow remains the same, with the only difference being the protocol the Hikvision device supports. If you saw some old ONVIF RTSP, probably that is some old version firmware or old devices that can't supported the ISAPI of certain version.
At the moment, there are no plans to allow users to manually select which protocol to use. Hikvision devices , and most of the devices can behave very differently depending on whether they use proprietary API or ONVIF, and this cannot be controlled from our side.
For reference, in Nx Witness Gen6, the Hikvision speaker DS-QAZ1325G1T is currently supported. If you require support for other devices, please contact your local distributor and ask them to submit a request on your behalf.
PS. this is not a developer question in fact, so the post will be move to general Nx Software suite.
0 -
Content:
When adding a Hikvision device via ONVIF, I’ve noticed that the protocol used for 2-way audio can vary:- Sometimes, after adding the device, 2-way audio uses the ONVIF RTSP method to interact with the device.
- Other times, after deleting and re-adding the same device, it instead uses ISAPI for 2-way audio.
In my case, 2-way audio works normally when using ONVIF RTSP. However, I cannot guarantee that the system will always choose ONVIF RTSP — it sometimes switches to ISAPI.
My question is:
- How does Nx decide whether to use ONVIF RTSP or ISAPI for 2-way audio after adding a device?
- Is there a specific detection process or negotiation logic that determines the chosen protocol?
- Can this be controlled or forced to use ONVIF RTSP?
- Could you please share the exact protocol/handshake mechanism used in this decision process?
0 -
HI Aobo Tan,
The behavior may vary depending on how the device identifies itself. In some firmware versions, the device does not register as Hikvision; in such cases, it will instead connect using ONVIF. Another possible reason is that the device may not respond to ISAPI requests. When this happens, the system will also switch to ONVIF automatically.
0
Post is closed for comments.
Comments
3 comments