![]() |
SOUND4 BIGVOICE.CL Library [1.1.6]
|
The following environment variables are used by software library:
SETUP_USER
: The setup user nameSETUP_SECRET
: The setup user passwordADMIN_USER
: The admin user nameADMIN_SECRET
: The admin user passwordSETUP_USER
(and optionally SETUP_SECRET
) to select Setup modeADMIN_USER
(and optionally ADMIN_SECRET
) to select Admin modexxx_SECRET
, then the setuppassword will be randomly generated and print in logs (at info severity). SSL_CERTIFICATE_PATH
: path to the SSL public certificateSSL_PRIVATE_PATH
: path to the SSL private certificateLICENSE_SERVER
: the SOUND4 license server's URLLICENSE_SERVER_PROXY
: proxy server to use for licenses [user:pass@]host:portLICENSE_CERT_DIR
: optional certificates dirs for HTTPS verificationLICENSE_CERT_BUNDLE
: optional certificates bundle for HTTPS verificationLICENSE_CERT_CHECK
: if "false", do not check HTTPS certificatesThe following parameters can be set before creating instance, but are never taken from environment.
FILE_MODE=seconds
: force file mode, settings the maximum estimated audio duration (non realtime, wait license ok to process)STATE_FILENAME=filename
: force this instance to store its state in file named filename.json
(instead of state.json
)STATE_ONAIR=filename
: force this instance to store its on air preset name in file named filename.onair
(instead of none). Used for sharing between instances.STORAGE_RO=boolvalue
: force the storage in read-only modeSTATE_RO=boolvalue
: force the state in read-only mode (but can save presets/auth)WAIT_LICENSE=boolvalue
: force to wait the license load before starting (always in file mode)FAST_START=boolvalue
: do not to try loading the license before starting (never in file mode)LOG_HEADER=string
: use string as header for logs in instance as much as possibleCOOKIE_DOMAIN=domain
: Force login cookie's domainCOOKIE_PATH=path
: Force login cookie's pathCOOKIE_SECURE=mode
: Force login cookie's secure mode [true|false]COOKIE_SAMESITE=mode
: Force login cookie's secure mode [default|strict|lax|none]You can use the same folder for multiple instances so they share their presets.
In this case, you should use a different STATE_FILENAME
per instance so they keep their settings and on air presets separated. If not, each time settings or onair preset are changed, the changes will be reflected to the other intances using same STATE_FILENAME
.
You may use the same STATE_ONAIR
for multiple instances sharing the folder, so that changing the on air preset on one immediatly changes the on air preset on other instances using the same STATE_ONAIR
. If the instance has pending unsaved changes in the on air preset, it will not be updated automatically to avoid loosing changes.