-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.js
108 lines (98 loc) · 2.4 KB
/
constants.js
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
const recordingState = {
STOPPED: 0,
RECORDING: 1,
PAUSED: 2,
};
const status = {
UNKNOWN: 0,
OFFLINE: 1,
WARNING: 2,
ONLINE: 3,
};
const roomRole = {
IDLE: 'idle',
HUDDLE_SPACE: 'huddle_space',
BYOD: 'byod',
COLLABORATION: 'collaboration',
COLL_BREAKOUT: 'coll_breakout',
OVERFLOW_MASTER: 'overflow_master',
OVERFLOW_SLAVE: 'overflow_slave',
VIRTUAL: 'virtual',
EMERGENCY_ALERT: 'emergency_alert',
SERVICE: 'service',
INTERACTIVE: 'interactive',
};
const moderationPolicy = {
ALLOW_NONE: 0,
ALLOW_HOSTS: 1,
ALLOW_AUTHENTICATED: 2,
ALLOW_ALL: 3,
};
const audioSinkRole = {
IDLE: 'idle',
MAIN_MIX: 'main_mix',
LOCAL_MIX: 'local_mix',
REMOTE_MIX: 'remote_mix',
AEC_REF_MIX: 'aec_ref_mix',
};
const audioSourceRole = {
IDLE: 'idle',
AUX_IN: 'aux_in',
AEC_MIC_IN: 'aec_mic_in',
};
const cameraRole = {
IDLE: 'idle',
ROOM: 'room',
PRESENTER: 'presenter',
CONTENT: 'content',
};
const usbCameraSettingType = {
MENU: 'menu',
INT: 'int',
BOOL: 'bool',
};
const deviceRole = {
IDLE: 'idle',
MASTER: 'master',
COLLABORATION_MASTER: 'collaboration_master',
COLLABORATION_POD: 'collaboration_pod',
OVERFLOW_MASTER: 'overflow_master',
OVERFLOW_SLAVE: 'overflow_slave',
VIRTUAL_MASTER: 'virtual_master',
VIRTUAL_TILE: 'virtual_tile',
FAR_END: 'far_end',
CONFIDENCE_OVERFLOW_MASTER: 'confidence_overflow_master',
CONFIDENCE_OVERFLOW_SLAVE: 'confidence_overflow_slave',
};
const displayRole = {
IDLE: 'idle',
MAIN_OUT: 'main_out',
LOCAL_CLONE: 'local_clone',
REMOTE_CLONE: 'remote_clone',
SELF_VIEW_SLAVE: 'self_view_slave',
SELF_VIEW_MASTER_COMBINED: 'self_view_master_combined',
SELF_VIEW_MASTER_CONTENT: 'self_view_master_content',
SELF_VIEW_MASTER_TEACHER: 'self_view_master_teacher',
SLAVE_COMBINED_FROM_MASTER: 'slave_combined_from_master',
SLAVE_CONTENT_FROM_MASTER: 'slave_content_from_master',
SLAVE_TEACHER_FROM_MASTER: 'slave_teacher_from_master',
COLLABORATION_MASTER_MAIN_OUT: 'collaboration_master_main_out',
COLLABORATION_POD_MAIN_OUT: 'collaboration_pod_main_out',
OVERFLOW_REMOTE: 'overflow_remote',
HTML_TILE_OUT: 'html_tile_out',
HTML_CAMERA_MANAGER: 'html_camera_manager',
HTML_GUI_OUT: 'html_gui_out',
AUXILIARY: 'auxiliary',
};
module.exports = {
recordingState,
status,
audioSinkRole,
audioSourceRole,
usbCameraSettingType,
cameraRole,
moderationPolicy,
deviceRole,
roomRole,
displayRole,
}