Using ONVIF clients to hear audio streams

ONVIF clients can be many different things, ranging from advanced custom surveillance systems to basic media players.

This provides examples of how to connect to Milestone Open Network Bridge to stream audio.

There are two options for streaming audio:

  • You can stream audio as a separate RTSP stream, that contains only audio.

    It uses the same pattern as for the video streams: rtsp://[rtsp_server]:554/live/[mic_id], where <mic_id> is the unique microphone identifier in the XProtect VMS.

  • You can stream audio as a complementary stream to the video stream of the camera that the microphone is related to.

    In this case you use the camera address: rtsp://[rtsp_server]:554/live/[camera_id], and select the required streams via RTSP protocol (SETUP command). This works only when Enable related microphones is enabled in the Milestone Open Network Bridge settings in Management Client.

Similar to video streams, when detecting audio streams, the Milestone Open Network Bridge attempts to detect the codec type from the device driver settings. If that fails, it attempts the audio codec as a part of the microphone name. Lastly, it uses the default setting in Management Client (directly following Enable related microphones).