-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathglobal_config_sample.inc
79 lines (61 loc) · 2.76 KB
/
global_config_sample.inc
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
<?php
/* Global config file, you can change values here at will, but don't remove them
*/
require_once(__DIR__ . '/common_static.inc');
// Dev: Change this value everytime you add an option to this file, as well as the value in common.inc. When version in config and common.inc don't match, a warning is triggered.
$config_version = "2017041201";
/* ---------- GLOBAL SETTINGS ----------- */
$classroom = "Classroom name"; // classroom name
$ezrecorder_ip = "127.0.0.1"; // static ip used by EZcast remote server
$ezrecorder_username = "podclient"; // user name used to launch bash scripts
$ezrecorder_recorddir = "/Users/podclient/Movies/"; // basedir for the local video storage
$remote_recorder_ip = "";
//Optional override $remote_recorder_ip for requests from ezmanager. Use this is you need a different ip to connect to the same server from this recorder and from the manager.
$external_remote_recorder_ip = "";
$remote_recorder_username = "";
//list of supported timezones: http://php.net/manual/en/timezones.europe.php
$recorder_timezone = "Europe/Brussels";
// Project URI
$basedir = __DIR__ . '/';
$web_basedir = "/Library/WebServer/Documents/ezrecorder/"; // Web server URI
$ezrecorder_web_user = "_www"; // Apache's username
$ezcast_manager_url = "http://your.ezcast.server/ezmanager/";
$mailto_admins = "[email protected]"; // Email address aimed to receive EZrecorder alerts
$php_cli_cmd = "/usr/bin/php"; // PHP binary
$ffmpeg_cli_cmd = "/usr/local/bin/ffmpeg"; //FFMPEG binary
$title_max_length = 70; // Max. number of characters
/* ---------------- MODULES ---------------- */
// cam management (PTZ)
$cam_management_enabled = false;
$cam_management_module = "onvif_ptz";
$cam_management_lib = "$basedir/modules/onvif_cam_management/lib_cam.php";
$cam_management_views_dir = "ptzposdir/";
$cam_screen_scene = 'screen';
$cam_default_scene = 'default';
// cam recording
$cam_enabled = true;
$cam_module = "ffmpeg";
$cam_lib = "$basedir/modules/local_ffmpeg_hls/lib_capture.php";
// slide recording
$slide_enabled = false;
$slide_module = "remoteffmpeg";
$slide_lib = "$basedir/modules/remote_ffmpeg_hls/lib_capture.php";
// authentication
$auth_module = "file";
$auth_lib = "$basedir/modules/auth_file/lib_auth.php";
// sound detection
$enable_vu_meter = false;
$sound_detect_lib = "sound_detect_av";
// sound backup
$sound_backup_enabled = false;
$sound_backup_module = "sound_backup";
$sound_backup_lib = "$basedir/modules/sound_backup/lib_capture.php";
// debugging
$debug_mode = false; //debug mode print recorder events and php errors to console
$send_debug_logs_to_server = false; //by default, events of type debug are not sent to ezcast
$disable_logs_sync = false;
global $in_install;
//load static variables
if(!isset($in_install)) {
require_once(__DIR__ . '/common.inc');
}