Configure settings.json
This page is about the settings in settings.json, which contains few basic settings for a web client.
All ROAD clients application settings contain one parameter: The link to DPE
Other application settings are specific to different clients. You find them in paragraphs below.
Configuration file creation
Copy the settings_template.json
file to settings.json
in the root application folder.
Edit the newly created settings.json
and change the settings according to your needs. This should look like this (e.g. for ROAD Scheduling):
Common Configuration Options
Admin, Scheduling, InstaRecorder: dpeUrl
This mandatory option is the url of the DPE host InstaRecorder will be connecting to. The corresponding option for Admin and Scheduling is similar, named 'digaDpeHost' and described above.
This connection is necessary for storing recordings in one of the DPE database table.
digaDpeHost: example
"dpeUrl": "https://my-dpe-server.com"
In ROAD Admin v1.0 and ROAD Scheduling v1.0, this configuration option was called digasDpeHost
. This option was renamed dpeUrl
in v1.1 for consistency, but digasDpeHost
is still supported for backward compatibility.
ROAD Scheduling Client: Configuration file creation
Parameter 'formats'
This mandatory option will contain the list of formats that can be used when making a recording in ROAD.
Each entry of the list must contain the following fields:
- name: string - display name when shown in the UI
- sampleRate: sample rate in Hz, e.g.
- resolution: resolution in bits (not needed when createMpeg is specified), e.g. 16 or 24
- createMpeg: create file in MP2 format (optional)
- bitrate: bitrate for MP2 format (needed when createMpeg is specified)
- jointStereo: can be optionally specified for createMpeg, default: false
formats: example
"formats": [
{ "name": "format 1", "sampleRate": 48000, "resolution": 16 },
{ "name": "format 2", "sampleRate": 44100, "resolution": 24 },
{ "name": "format 3", "sampleRate": 48000, "createMpeg": { "bitRate": 256, "jointStereo": false } },
{ "name": "format 4", "sampleRate": 44100, "createMpeg": { "bitRate": 256, "jointStereo": false } }
]
Optionally, audio formats can be specified in DigaSystem parameters
Each format is described in a Config parameter under ROAD_Scheduling|AudioFormats|<FolderName>|Config. The value is the JSON string described above.
Example: