-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppSettings.php
51 lines (41 loc) · 2.52 KB
/
AppSettings.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
<?php
// IMPORTANT NOTE: in a production application, the partner ID and Kaltura Admin Secret should never
// be exposed on the client side of an application. It is done here for simplicity only.
// https://kmc.kaltura.com/index.php/kmcng/settings/integrationSettings
define('PARTNER_ID', <INSERT_PROPER_VALUE>);
// https://kmc.kaltura.com/index.php/kmcng/settings/integrationSettings
define('API_ADMIN_SECRET', '<INSERT_PROPER_VALUE>');
// Make sure this is set to real user IDs so that Analytics and Entitlements will really be tracked according to business needs
define('ADMIN_USER_ID', 'admin@webcaster.com');
define('PRESENTER_USER_ID', 'presenter@webcaster.com');
define('VIEWER_USER_ID', 'viewer@webcaster.com');
// Get these values from Kwebcast module in KMS config (Kaltura to provide these values)
define('WIN_UI_CONF_ID', <INSERT_PROPER_VALUE>); // winUiconfId
define('MAC_UI_CONF_ID', <INSERT_PROPER_VALUE>); // macUiconfId
// V7 Player UI Conf ID
define('V7_UI_CONF_ID', <INSERT_PROPER_VALUE>);
// Metadata profile settings
define('METADATA_PROFILE_SYS_NAME_KWEBCAST', 'KMS_KWEBCAST2'); // metadataProfileSysNameKWebcast
define('METADATA_PROFILE_SYS_NAME_EVENTS', 'KMS_EVENTS3'); // metadataProfileSysNameEvents
// Set KS expiry to one day
define('KS_EXPIRY', 60*60*24);
// Simulive Settings
define('WEBCASTING_ACP', <INSERT_PROPER_VALUE>); // Access Control Profile used for Simulive
define('VOD_SOURCE_ENTRY_ID', '<INSERT_PROPER_VALUE>');
define('TIMEZONE_UTC_OFFSET', '<INSERT_PROPER_VALUE>'); // offset from UTC in hours with leading zero and negative/positive sign, e.g. '-0400'
define('SIMULIVE_SESSION_START', '<INSERT_PROPER_VALUE>'); // e.g. '28-Oct-20 9:00:00 AM'
define('SIMULIVE_SESSION_END', '<INSERT_PROPER_VALUE>'); // e.g. '28-Oct-20 10:00:00 AM'
define('SIMULIVE_PRE_START_TIME', 30); // Number of seconds prior to session start time to begin streaming the VOD entry
// Assign these values appropriately
define('APP_NAME', 'Kaltura Webcaster'); // Alpha-numeric string that represents the hosting application name (the app that launches the webcast)
define('APP_ID', "myCustomWebcastApp");
define('APP_DOMAIN', "my.customwebcast.com");
define('QNA_ENABLED', true);
define('POLLS_ENABLED', false);
define('PRESENTER_NAME', 'John Simulove');
define('PRESENTER_TITLE', 'Solutions Engineer');
define('PRESENTER_BIO', 'I love webcasts!');
define('PRESENTER_LINK', 'https://developer.kaltura.com/');
define('WEBCAST_NAME', 'Kaltura Sample Simulive Webcast');
define('WEBCAST_DESCRIPTION', 'This is an awesome simulive webcast!.');
?>