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
-
In the sidebar, click Configuration.
-
Find the ONVIF card in the Output column. Without a key it reads ONVIF is not configured.
Figure 1. The ONVIF card before the set-up -
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 levelAUTHORIZED, 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. -
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.
Figure 2. The credentials for the VMS on the ONVIF card
-
Connect the VMS
-
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.
-
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.
Figure 3. A VMS is connected: event subscription and video stream are active
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.