forked from jitsi/lib-jitsi-meet
-
Notifications
You must be signed in to change notification settings - Fork 2
/
JitsiConferenceErrors.js
68 lines (67 loc) · 1.96 KB
/
JitsiConferenceErrors.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
/**
* Enumeration with the errors for the conference.
* @type {{string: string}}
*/
var JitsiConferenceErrors = {
/**
* Indicates that a password is required in order to join the conference.
*/
PASSWORD_REQUIRED: "conference.passwordRequired",
/**
* Indicates that client must be authenticated to create the conference.
*/
AUTHENTICATION_REQUIRED: "conference.authenticationRequired",
/**
* Indicates that password cannot be set for this conference.
*/
PASSWORD_NOT_SUPPORTED: "conference.passwordNotSupported",
/**
* Indicates that a connection error occurred when trying to join a
* conference.
*/
CONNECTION_ERROR: "conference.connectionError",
/**
* Indicates that the conference setup failed.
*/
SETUP_FAILED: "conference.setup_failed",
/**
* Indicates that there is no available videobridge.
*/
VIDEOBRIDGE_NOT_AVAILABLE: "conference.videobridgeNotAvailable",
/**
* Indicates that reservation system returned error.
*/
RESERVATION_ERROR: "conference.reservationError",
/**
* Indicates that graceful shutdown happened.
*/
GRACEFUL_SHUTDOWN: "conference.gracefulShutdown",
/**
* Indicates that jingle fatal error happened.
*/
JINGLE_FATAL_ERROR: "conference.jingleFatalError",
/**
* Indicates that conference has been destroyed.
*/
CONFERENCE_DESTROYED: "conference.destroyed",
/**
* Indicates that chat error occurred.
*/
CHAT_ERROR: "conference.chatError",
/**
* Indicates that focus error happened.
*/
FOCUS_DISCONNECTED: "conference.focusDisconnected",
/**
* Indicates that focus left the conference.
*/
FOCUS_LEFT: "conference.focusLeft",
/**
* Indicates that max users limit has been reached.
*/
CONFERENCE_MAX_USERS: "conference.max_users"
/**
* Many more errors TBD here.
*/
};
module.exports = JitsiConferenceErrors;