Hi Adrian,
Apologies for the late reply, I missed the notification of your last message. The following output for a default config works for me.
{
"_comments": [
"'configurations' is an array of recorder configurations. 'name' is what appears in the application's 'Type' dropdown list.",
"In order to start recorder on multiple devices simultaneously, add 'record-group' to the settings.",
"For example:",
"\"record-group\": {",
" \"name\": \"default-peer\"",
" \"master\": false",
"}",
"If the peer is a master, it needs to pass slaves the JSON configuration files needed.",
"It is done by the `peer-info` array in `record-group` object as the following:",
"\"record-group\": {",
" \"name\": \"default-peer\"",
" \"master\": true",
" \"peer-info\": [",
" {",
" \"name\": \"slave-peer-a\",",
" \"configurations\": [",
" {\"name\": \"default\", \"path\":\"${CONFIG_FILE_DIR}/slave-a-recorder-config.json\"}",
" ]",
" },",
" {",
" \"name\": \"slave-peer-b\",",
" \"configurations\": [",
" {\"name\": \"default\", \"path\":\"${CONFIG_FILE_DIR}/slave-b-recorder-config.json\"}",
" ]",
" }",
" ]",
"}",
"By default it creates multicast network transporter, but you can override by defining broadcast object.",
"For example:",
"\"record-group\": {",
" \"name\": \"default-peer\"",
" \"master\": false",
" \"broadcast\": {",
" \"preferred-ip\": \"192.168.1.1\" // Optional",
" }",
"}",
"In example above, \"// Optional\" means this field is optional.",
"You can also specify group address and preferred IP for multicast transporter",
"For example:",
"\"record-group\": {",
" \"name\": \"default-peer\"",
" \"master\": false",
" \"multicast\": {",
" \"preferred-ip\": \"192.168.1.1\", // Optional",
" \"group-address\": \"239.127.12.15\" // Optional",
" }",
"}",
"Again, \"// Optional\" means fields are optional.",
"",
"Log levels are 'verbose', 'debug', 'info', 'warning', 'error', 'fatal'. 'verbose' is the default level.",
"For example:",
" \"log-level\": \"verbose\"",
"",
"To execute some script as a recording pre-req (ex. MODS), you need to set 'pre-requisite-script'. For example:",
"\"pre-requisite-script\": \"${APP_DIR}/scripts/bash/default-pre-requisite-script.sh\",",
"",
"By default, pre-requisite failure won't be failure. Change this value to false, if that is desired",
"\"pre-requisite-override\": true,",
"",
"To execute some script right before recording starts, you need to set 'pre-record-script'. For example:",
"\"pre-record-script\": \"${APP_DIR}/scripts/bash/default-pre-record-script.sh\",",
"",
"To execute some script right after record stopped, you need to set 'post-record-script'. For example:",
"\"post-record-script\": \"${APP_DIR}/scripts/bash/default-post-record-script.sh\",",
"",
"Macro definitions in path:",
"${APP_DIR}: application executable directory",
"${CONFIG_FILE_DIR}: directory contains this config file"
],
"vin": "150322",
"configurations": [
{"name":"default", "path":"${CONFIG_FILE_DIR}/recorder-config.json"}
]
}