Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Begin by first downloading Download the correct version of the ONVIF Uplink application, which you can find here.

Steps for running the application

...

How to run the application:

  1. Unzip the package and run ./docker_install.sh script

  2. Create the access tokens:

    1. Log in to the web client and go to the Cameras page

    2. Click Add camera > Uplink

    3. Enter the camera name, camera Onvif username, and password and click Apply

    4. Copy and save the access token to the file (see step 3).

  3. Configure your environment variable files:

    access_tokens.env

    Code Block
    ACCESS_TOKEN_1=eyJjYW1pZCI6IDEyMzQ1NiwgInVwbGluayI6ICJkZXYtYXBpLnByb3h5LmNsb3VkLXZtcy5jb20ifQo=
    ACCESS_TOKEN_2=eyJjYW1pZCI6IDEyMzQ1NiwgInVwbGluayI6ICJkZXYtYXBpLnByb3h5LmNsb3VkLXZtcy5jb20ifQo=
    ...

    This file contains access tokens for each camera. You can include up to 16 access tokens. Each token should be in a separate line.

    cameras.env

    Code Block
    CAMERA_IP_ADDRESS_1=1192.168.2.3.414
    CAMERA_RTSP_PORT_1=8154554
    CAMERA_HTTP_PORT_1=818080
    CAMERA_IP_ADDRESS_2=10192.20168.302.4016
    CAMERA_RTSP_PORT_2=888554
    CAMERA_HTTP_PORT_3=854
    CAMERA_IP_ADDRESS_3=11.21.31.412=80
    ...

    This file contains IP addresses, RTSP and rtsp and http HTTP ports for cameras , there can be (up to 16 cameras). Each parameter should be in on a separate line. rtsp RTSP and http HTTP ports are optional . If you don't need them, you can leave them empty and it that case each camera will use default ports (rtsp: 554, httpand if you skip them then the default ports will be used (RTSP: 554, HTTP: 80).

  4. Now that your access_tokens.env and cameras.env files have been configured, you can now run the application using the following commands.

    Code Blockcd path/to/package/source ./start.sh

    Run ./start.sh script - the cameras should start streaming and you should see the live video in the web client.