Introduction
It is possible to configure the server details and encoder account your EVVR Container using a configuration file - either using environment variables when creating the container, or within a seed configuration file.
You have multiple options for configuring your container using a config file - including 'burning in these settings using environment variables, or using a seed config file to provide initial settings for your users.
Available Settings
You should set all these configuration options, or none at all!
All of these settings are required to get your container online - if you don't supply valid settings for each setting below, your container can be left in an inconsistent state and unable to connect to the server.
To connect your encoder to a server, using a specific encoder account, you should add all of the following settings to your config file:
Setting | Description |
EV_SERVER_ADDR | The EdgeVis Server’s hostname or IP |
EV_ENCODER_NAME | The name of the encoder account on the EdgeVis Server |
EV_ENCODER_PASSWORD | The plaintext password of this encoder account |
EV_SERVER_ID_VERSION | Always set to “V4”. The version of encryption we are using. |
EV_SERVER_ID | The server encryption ID. |
EV_SERVER_FINGERPRINT | The server encryption fingerprint. Follow the steps above and copy the 3rd parameter from the V4 line. |
Example
You should add all six settings to your configuration file:
EV_SERVER_ADDR=
EV_ENCODER_NAME=
EV_ENCODER_PASSWORD=
EV_SERVER_ID_VERSION=V4
EV_SERVER_ID=
EV_SERVER_FINGERPRINT=
And then add:
the first setting to the IP Address / domain name of your server.
the second/third setting to the encoder account you have created for your container.
the fifth/sixth lines to the appropriate sections of your server's encryption pack. Make sure you copy all of the server fingerprint across, and that it is all on the same line in your config file.
It should look something like:
EV_SERVER_ADDR=video.my-server.com
EV_ENCODER_NAME=container
EV_ENCODER_PASSWORD=containerpassword
EV_SERVER_ID_VERSION=V4
EV_SERVER_ID=vUW8cjZwQPOIwdVl8law==
EV_SERVER_FINGERPRINT=AQIAAAC+PBTEr1B0Nf8H/ZmSMYR8U5AmKzh3us3Yj/647/MbTFXTezWAT1JA0Qs518IEXkG+LwQk7HtnIuSBtQdgQfxOzono63eK/B1+6ccpJi6V1UKzdh1mgUsb63QYHiu3BDLjPeZ6LZEk3/PWdNt3VnRQNemSpv6zb4YKn85n0Ovx9a06Ev8DdDtLnfSQjy7k7OaSaZeQYiTxAKEzv4oOaQ9Upeu9naajV4MaA6nklRExMbdkrT5N3m+chGyb97p1VIddMBnsiXtjADVY8wAzOw/JxQoGvJD4fIJJTYP1TG3RADjUSZGKAoiyw1bvxazGt+O06qhn96Z1NhLzBqkQCX5YIe2DHAO9yj24uLDddGqGIv1+AS2MzBv3n4Cecs6jUFI1vZtaioAKu31oCo9GnOT9+u9rrXsqV55x/+lTXiolflXNQETzV4QTvWupOz9y23tDBGBUjhgwvzjZHL/i6RVPCAPGWG3fpRJBnbK6ycizDqOZNLBCmzm0KuOTh3BZRJCFWF/e29Se8wPF46p6a97B2Q82YPXGmIlpkEOfgR2soZvWnlKPhjT+HuOytDoAMLXW9XnZWRmfuEa6KsrQmqjVpuRpB1qGUNFe2ynJ6WlrrBWjSrB18sadEhuOmScpfXsp5irvs2WVWd+8DildTaPeLtDNtT1HVMWG2mfmJQMAAAABAAE=
