-
Notifications
You must be signed in to change notification settings - Fork 0
/
recorder.conf
37 lines (31 loc) · 908 Bytes
/
recorder.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Sample recorder config file
# Choose "us", "de" or "fr" depending on the desired language.
LANG="us"
# Device name
PREFIX="soundbox-test"
# RTSP parameters
URL_SERVER="https://server.domain.com"
RTSP_URL="rtsp://server.domain.com:1554/axis-media/media.amp"
RTSP_SAMPLE_RATE="32000"
RTSP_BITE_RATE="128"
RTSP_USER="<LOGIN>"
RTSP_PASSWORD="<PASSWORD>"
# Directory
DIR_WEB="/var/www/soundbox/web"
DIR_LOG="/var/www/soundbox/logs"
DIR_PID="/var/www/soundbox"
DIR_TEMPLATE="/var/www/soundbox/recorder_templates"
# Email parameters.
EMAIL_FROM="<EMAIL_FROM>"
EMAIL_TO="<EMAIL_TO>"
# Email for the error message.
EMAIL_TO_SUPPORT="<EMAIL_TO_SUPPORT>"
# Various parameters.
# Use "0" in INPUT_THRESHOLD to disable threshold.
INPUT_THRESHOLD="0.1"
DURATION="10"
SILENT_SOUND_DURATION="2"
DELETE_ORIGINAL=true
REMOVE_SILENCE=true
# Do not touch below if you don't know.
SOX_CMD="silence -l 1 0.3 1% -1 2.0 1%"