forked from teltek/Galicaster
-
Notifications
You must be signed in to change notification settings - Fork 1
/
conf-dist.ini
307 lines (271 loc) · 9.43 KB
/
conf-dist.ini
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
;; BASIC CONFIGURATION
;; -------------------
[basic]
admin = True
custom_flavors =
profile = Default
homepage = DIS
stopdialog = True
pausedialog_size =
quit = True
shutdown = False
swapvideos = True
repository =
export =
resolution = auto
legacy = False
tmp =
[logger]
path = logs/galicaster.log
level = DEBUG
rotate = False
use_syslog = False
; OVERLAPPING AND RECORDING OPTIONS
[allows]
manual = True
start = False
stop = False
pause = True
overlap = True
[audio]
min = -76
keep_closed = False
[recorder]
autorecover = False
pausetype = pipeline
[repository]
foldertemplate = gc_{hostname}_{year}-{month}-{day}T{hour}h{minute}m{second}
[sidebyside]
layout = sbs ;Side by side layout. Possible values: pip-screen, pip-camera
; OPENCAST COMMUNICATION
[ingest]
hostname =
active = False
visible_tracks = False
legacy = False ;For MH 1.2 and 1.3 compatibility
manual = none ;Possible values: none, immediately, nightly
scheduled = none ;Possible values: none, immediately, nightly
host = http://fakeadmin.opencast.com:80
username = opencast_system_account
password = CHANGE_ME
workflow = full
workflow-parameters = trimHold:true;videoPreview:true
multiple-ingest = False
; override ingest server provided by opencast
;ingest-server = http://fakeingest.opencast.com
connect_timeout = 30
timeout = 30
;Capture agent IP address, by default socket.gethostbyname(socket.gethostname())
address =
;Dict of parameters used as configuration
ca-parameters =
ignore_capture_devices = False
; delay for a random amount of seconds up to this value
; before uploading to opencast
delay_max =
;; OPENCAST SERIES
;; This section sets allows filtering series shown in the drop down list of the metadata editor.
;; It accepts most of the filter values that Opencast endpoint accepts, namely:
;; seriesId, seriesTitle, creator, contributor, publisher, rightsholder, createdfrom,
;; createdto, language, license, subject, abstract, description
;; According to Opencast documentation, the date-like filters (createdfrom and createdto) must
;; follow the format yyyy-MM-dd'T'HH:mm:ss'Z'
;; In addition to the previous filters, the 'default' keyword accepts a series ID that will appear
;; in the series list, no matter what.
;; The values to the parameters may include placeholders for certain environment variables.
;; The only one supported currently is '{user}', that is substituted with the current user name.
[series]
;default = XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
;contributor = {user}
; ... etc
[heartbeat]
short = 10
long = 60
night = 00:00
;; UI OPTIONS
;; ----------
[help]
main = Visit galicaster.teltek.es
text = ...or contact us on our community list.
;MEDIA MANAGER APPEARANCE
[color]
classic = false
none = #FFF0AA ;yellow
nightly = #AEFFAE ; light green
pending = #AEFFAE ; light green
processing = #FFAE00 ; orange
done = #88FF88 ; green
failed = #FFAEAE ;red
;; OPERATIONS OPTIONS
;; A space-separated list of operations that are to be hidden in the
;; corresponding pop up in the manager UI.
;; The possible values for both parameters are (unquoted):
;; 'ingest', 'exporttozip' and 'sidebyside'
;[operations]
;hide = ingest exporttozip sidebyside
;hide_nightly = ingest exporttozip sidebyside
[operations]
hide =
hide_nightly =
;; Metadata editor configuration
;; Two parameters are available:
;; - blocked: a blank-separated list of metadata fields that will be non-editable by the user
;; - mandatory: a blank-separated list of metadata fields that MUST NOT be blank in order to
;; apply the changes to the mediapackage
;;
;; Both parameters admit the following values (unquoted):
;; - 'title'
;; - 'presenter' or 'creator'
;; - 'description'
;; - 'language'
;; - 'series', 'ispartof' or 'isPartOf'
[metadata]
blocked =
mandatory =
;; enable graylog support
[graylog]
enable = False
server = graylog.server.org
port = 12201
; PLUGINS
[plugins]
appearance = False
checkrepo = False
checkspace = False
cleanstale = False
failovermic = False
lowaudio = False
forcedurationrec = False
hidetabs = False
keyboard = False
lockscreen = False
muteinputs = False
noaudiodialog = True
pushpic = False
rest = False
retryingest = False
screensaver = False
setuprecording = False
shortcuts = True
avertrack = False
[appearance]
hidecursor = False
settings = {"/org/compiz/profiles/unity/plugins/unityshell/reveal-trigger": "1", "/org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode" : "1", "/org/compiz/profiles/unity/plugins/core/hsize": "1", "/org/compiz/profiles/unity/plugins/core/vsize" : "1"}
defaultsettings = {"/org/compiz/profiles/unity/plugins/unityshell/reveal-trigger": "0", "/org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode" : "0", "/org/compiz/profiles/unity/plugins/core/hsize": "2", "/org/compiz/profiles/unity/plugins/core/vsize" : "2"}
[checkspace]
minfreespace = 10 ;In GB
[cleanstale]
maxarchivaldays = 30
checkoninit = False
; 'device' is the pulse audio device that will be used to record the failover audio track.
; 'failover_threshold' is the threshold rms amplitude at which the audio will be replaced.
; this number is between -100 and 0
; the galicaster vumeter gives a rough visual indication of this value.
; 'audio_device' if multiple audio sources are used, this number corresponds
; to the audio track to replace. 1 = the first audio track.
[failovermic]
device = default
failover_threshold = -50
audio_device = 1
; 'lowaudio_threshold' is the threshold rms amplitude at which the audio will be considered low
; 'timeout' time in seconds to launch the error message
[lowaudio]
lowaudio_threshold = -45
timeout = 120
; Duration in minutes
[forcedurationrec]
duration = 240
;; This is the configuration section for the plugin hidetabs.py
;; The currently available configuration keys are:
;; - hide: A space-separated list of tabs that will be hidden in the record UI
;; Possible values are: 'events', 'recording' and 'status' (unquoted)
;; - default: Name of the tab that will be initially displayed in the UI
;; Possible values are: 'events', 'recording' and 'status' (unquoted)
;[hidetabs]
[lockscreen]
password = 1234
authentication = basic
ldapserver = ldap://localhost
ldapserverport = 10389
ldapou = users system
ldapdc =
ldapusertype = cn
enable_quit_button = True
ldap_advanced_bind = False
search_dn = cn=admin,dc=example,dc=com
search_password = admin
base_dn = dc=example,dc=com
group = cn=Users,dc=example,dc=com
filter = (&(sAMAccountName={user})(memberof=cn=Users,dc=example,dc=com))
[muteinputs]
mute_on_startup = False
bins =
mute_type = input
[rest]
host = 127.0.0.1
port = 8080
;; check_after is the minimum number of seconds to wait between checking
;; to see that all recordings are successfully ingested.
;; check_published is whether to check that the mediapackage is already published
;; on the opencast server and if so, sets the ingest state to succeeded
;; without reingesting.
;; check_nightly will mark the mediapackage as 'nightly' and postpone the ingest.
[retryingest]
check_after = 300
check_published = True
nightly = False
[screensaver]
inactivity = 120
powersettings = {"/org/gnome/desktop/screensaver/lock-enabled":"false", "/org/gnome/desktop/screensaver/ubuntu-lock-on-suspend" : "false", "/org/gnome/desktop/screensaver/idle-activation-enabled":"false", "/org/gnome/settings-daemon/plugins/power/sleep-display-ac": "0", "/org/gnome/settings-daemon/plugins/power/sleep-display-battery" : "0", "/org/gnome/settings-daemon/plugins/power/active": "false", "/org/gnome/desktop/session/idle-delay": "0"}
defaultpowersettings = {"/org/gnome/desktop/screensaver/lock-enabled":"true", "/org/gnome/desktop/screensaver/ubuntu-lock-on-suspend" : "true", "/org/gnome/desktop/screensaver/idle-activation-enabled":"true", "/org/gnome/settings-daemon/plugins/power/sleep-display-ac": "0", "/org/gnome/settings-daemon/plugins/power/sleep-display-battery" : "0", "/org/gnome/settings-daemon/plugins/power/active": "false", "/org/gnome/desktop/session/idle-delay": "600"}
;; Configuration for the setuprecording plugin.
;; The following keys define the values that will be pre-filled in the metadata editor
;; when the "REC" button is pressed:
;; - title: Sets up the default value for the recording title
;; - presenter or creator: Sets up the default "Presenter" value
;; - description: Sets up the default "Description" value
;; - language: Sets up the default "Language" value
;; - series, ispartof or isPartOf: Sets up the default "Series" id. The ID must exist,
;; otherwise it will be ignored.
;; The following list of "placeholders" may be used in the previous values.
;; - {user}: This string will be substituted by the current Unix login name
;; For instance: "presenter = {user}" will set up the default presenter
;; value to the current user
;[setuprecording]
;; TEST PROFILE CONFIGURATION
;; --------------------------
[track1]
name = Bars
pattern = 0
caps = video/x-raw,format=YUY2,framerate=25/1,width=640,height=480
color1 = 4294967295
color2 = 4278190080
location = default_bars
file = CAMERA.avi
device = videotest
flavor = presenter
active = True
[track2]
name = Static
device = videotest
location = default_static
file = SCREEN.avi
flavor = presentation
caps = video/x-raw,format=YUY2,framerate=25/1,width=640,height=480
pattern = 1
color1 = 4294967295
color2 = 4278190080
active = True
[track3]
name = Noise
device = audiotest
location = default_noise
file = sound.mp3
flavor = presenter
pattern = pink-noise
frequency = 440
volume = 0.3
player = True
vumeter = True
amplification = 1.0
active = True