forked from elan-ev/studip-opencast-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.php
89 lines (86 loc) · 2.64 KB
/
constants.php
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
<?php
namespace Opencast;
class Constants {
static $SERVICES = [
'acl-manager', // alles admin-node
'archive',
'apievents',
'apiseries',
'apiworkflows',
'capture-admin',
'ingest',
'recordings',
'search', // ausser hier: engage-node
'series',
'services',
'workflow',
'admin-ngevent'
];
static $GLOBAL_CONFIG_OPTIONS = [
'OPENCAST_SHOW_TOS',
'OPENCAST_ALLOW_ALTERNATE_SCHEDULE' ,
'OPENCAST_ALLOW_MEDIADOWNLOAD' ,
'OPENCAST_ALLOW_STUDIO',
'OPENCAST_HIDE_EPISODES',
'OPENCAST_TUTOR_EPISODE_PERM',
'OPENCAST_ALLOW_STUDYGROUP_CONF',
'OPENCAST_MANAGE_ALL_OC_EVENTS',
'OPENCAST_RESOURCE_PROPERTY_ID',
'OPENCAST_SUPPORT_EMAIL'
];
static $DEFAULT_CONFIG = [
[
'name' => 'service_url',
'description' => 'Basis URL zur Opencast Installation',
'value' => '',
'type' => 'string',
'required' => true
],
[
'name' => 'service_user',
'description' => 'Nutzerkennung',
'value' => '',
'type' => 'string',
'required' => true
],
[
'name' => 'service_password',
'description' => 'Passwort',
'value' => '',
'type' => 'password',
'required' => true
],
[
'name' => 'lti_consumerkey',
'description' => 'LTI Consumerkey',
'value' => 'CONSUMERKEY',
'type' => 'string',
'required' => true
],
[
'name' => 'lti_consumersecret',
'description' => 'LTI Consumersecret',
'value' => 'CONSUMERSECRET',
'type' => 'password',
'required' => true
],
[
'name' => 'livestream',
'description' => 'Soll das Live-Streaming aktiviert werden?',
'value' => 0,
'type' => 'boolean'
],
[
'name' => 'paella',
'description' => 'Soll der Paella Player verwendet werden statt Theodul?',
'value' => 1,
'type' => 'boolean'
],
[
'name' => 'time_buffer_overlap',
'description' => 'Zeitpuffer (in Sekunden) um Überlappungen zu verhindern',
'value' => 60,
'type' => 'integer'
]
];
}