Set up ONVIF

The sensor answers a VMS only once a user account has an application key for ONVIF. The ONVIF card on the Configuration Dashboard creates that key for the account you are signed in with and shows the username and the password the VMS needs.

Sign in with the account whose name the VMS should use. The key belongs to that account, so ONVIF cannot be set up while you are signed in without a user account, see User management.

Create the credentials

  1. In the sidebar, click Configuration.

  2. Find the ONVIF card in the Output column. Without a key it reads ONVIF is not configured.

    The ONVIF card at the top of the Output column of the Configuration Dashboard, reading ONVIF is not configured, with the Setup button
    Figure 1. The ONVIF card before the set-up
  3. Click Setup.

    The sensor creates an application key with ONVIF / RTSP access for your account, with the purpose ONVIF / RTSP-Video Streaming. If the account already has its ONVIF key, that key is deleted and replaced by one with the same access level and the same Read only setting. ONVIF users that a VMS created on the account stay as they are. A first key gets the access level AUTHORIZED, so the VMS works as an Operator: it gets the video and the events, but does not set the time or the network of the sensor. See What a VMS may do.

  4. Copy the credentials under Use these following credentials: with the copy buttons next to them:

    • Username: the name of your account.

    • Password: the secret of the new application key.

      The card shows the password only until the VMS has connected or you leave the page. Keep it where the person who sets up the VMS can find it.

      ONVIF card right after Setup with the link to the VMS setup guides, Username admin and an example password with copy buttons, and the progress Waiting for VMS connection / Event subscription
      Figure 2. The credentials for the VMS on the ONVIF card

Connect the VMS

  1. Add the sensor to the VMS with these credentials, as the guide for your VMS describes.

    While it waits, the card shows Waiting for VMS connection / Event subscription and then Waiting for RTSP / Video connection.

  2. Check the card. Once the VMS has subscribed to the events and plays the video, both lines read Active:

    Line Active Not active, in red

    Event Subscription

    At least one VMS has subscribed to the events over a pull point. Subscriptions over WS-BaseNotification are not shown here.

    No VMS has subscribed to the events, for example while the VMS is disconnected or plays the video only.

    Video / RTSP Stream

    At least one VMS or video player plays the video.

    No client plays the video.

    ONVIF card showing Event Subscription Active and Video / RTSP Stream Active
    Figure 3. A VMS is connected: event subscription and video stream are active
    ONVIF card showing Event Subscription and Video / RTSP Stream as Not active in red, with the message ONVIF Event Subscription inactive
    Figure 4. ONVIF is set up, but no VMS is connected

Check the connections in the diagnostics

Under System > Diagnostics, click the box ONVIF events or RTSP video in the Integrations column of the graph. Clients under ONVIF events counts the event subscriptions of VMSs over pull points, not those over WS-BaseNotification. RTSP video shows the number of RTSP clients and the rates of the video pipeline. A box with a warning or a failure names its condition; Troubleshooting lists what to change.

Diagnostics graph with the boxes ONVIF events with 1 VMS client and RTSP video with 1 client under Integrations, RTSP video selected, and its details with Clients, Fetch rate, Render rate and Push rate
Figure 5. Diagnostics of the video stream with one connected client