-
Notifications
You must be signed in to change notification settings - Fork 396
Expand file tree
/
Copy pathconfig.js
More file actions
82 lines (74 loc) · 1.95 KB
/
config.js
File metadata and controls
82 lines (74 loc) · 1.95 KB
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
import {inBrowser, deviceType} from '@webex/common';
export default {
device: {
/**
* The duration to wait for the catalog to populate in seconds.
*
* @type {number}
*/
canRegisterWaitDuration: 10,
/**
* The default configuration group when sending registration requests.
*
* @type {Object}
*/
defaults: {
/**
* The default body configuration of registration requests.
*
* @type {Object}
*/
body: {
name:
(typeof process.title === 'string' ? process.title.trim() : undefined) ||
(inBrowser && 'browser') ||
'javascript',
deviceType: deviceType.WEB,
model: 'web-js-sdk',
localizedModel: 'webex-js-sdk',
systemName: 'WEBEX_JS_SDK',
systemVersion: '1.0.0',
},
},
/**
* When true, the **wdm** service will enforce an inactivity duration.
*
* @type {boolean}
*/
enableInactivityEnforcement: false,
/**
* When true, the device registration will include a ttl value of
* {@link config.device.ephemeralDeviceTTL} and refresh on an interval of
* {@link config.device.ephemeralDeviceTTL} / 2 + 60 seconds.
*
* @type {boolean}
*/
ephemeral: false,
/**
* The ttl value to include in device registration if
* {@link config.device.ephemeral} is true. Measured in seconds.
*
* @type {boolean}
*/
ephemeralDeviceTTL: 30 * 60,
/**
* energyForcast
* @type {boolean}
*/
energyForecast: false,
/**
* debugFeatureTogglesKey
* The session storage key for debug feature toggles
* @type {string}
*/
debugFeatureTogglesKey: undefined,
/**
* installationId is used exclusively as web client for fraud prevention,
* and is aliased to as machineId by CA.
*
* @alias device.machineId
* @type {string}
*/
installationId: undefined,
},
};