Nx Witness automatically discovers devices and configures the optimal streaming parameters to fetch data from devices. For this purpose, the ONVIF protocol is used.
The communication is configured according to the ONVIF Network Interface specification.
Nx Witness supports different ONVIF Network Interface specifications:
•Media – the older one (is supported by all ONVIF devices)
•Media2 – the newer one.
If the device reports that Media2 is supported, Nx Witness will try to use it.
The audio and video communication is configured through stream profiles.
A profile describes the set of parameters related to audio/video transport from a device to the Nx Witness Server:
•A/V Codec
•Bitrate
•Resolution
•Additional parameters.
Usually, cameras provide 2 independent stream profiles:
•Primary stream (Hi-Res)
•Secondary Stream (Lo-res) – used for motion detection, browsing archive etc (see "Dual Stream Processing" for details).
Cameras may provide additional stream profiles (more than 2) but Nx Witness uses only Primary and Secondary ones.
In some cases, the profiles can be fetched and identified incorrectly. In this case it may be necessary to configure stream profiles manually.
To access those settings, use the camera's context menu to open Camera Settings > Expert > Media Streaming:
•Primary and Secondary Stream Profiles – specify the stream profiles for Primary and Secondary streams.
The available profiles may vary depending on the vendor or model of the device used.
By default, Nx Witness configures the optimal parameters for the stream profiles but it can be turned off and the settings setup on Camera can be used unchanged (see "Preventing Nx Witness from Changing Device Settings").
•Use Media2 to fetch profiles – in some case Media2 can work incorrectly. In this case it is possible to select the following options:
•Never – always use Media to configure stream profiles
•Use if supported – use Media2 if the device indicates its support
•Auto – use the built-in method to discover if the device supports Media2.
See also:
•Disabling Recording of a Specific Stream