Allocate video-worker to Camera Group

In distributed architectures, it is often necessary that video streams from a group of cameras be processed in situ, without being redistributed across remote video-worker instances by the main server. Among typical use cases are hotel chains, chain stores, several security checkpoints in the same building, etc. In this case, simply allocate the local video-worker to the camera group.

Do the following:

  1. Navigate to the Camera groups tab.

  2. Open the camera group settings.

  3. In the Labels, create or select one or several allocation labels. Save changes.

  4. Open the video-worker configuration file and specify the allocation labels in the following format: label_name=true (label terminal_1 in the example below).

    sudo vi /etc/video-worker.ini
    
    wrk-labels=terminal_1=true
    
  5. Restart video-worker.

    sudo systemctl restart video-worker.service