forked from jitsi/lib-jitsi-meet
-
Notifications
You must be signed in to change notification settings - Fork 2
/
JitsiConferenceEvents.js
130 lines (129 loc) · 3.71 KB
/
JitsiConferenceEvents.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/**
* Enumeration with the events for the conference.
* @type {{string: string}}
*/
var JitsiConferenceEvents = {
/**
* A new media track was added to the conference.
*/
TRACK_ADDED: "conference.trackAdded",
/**
* The media track was removed from the conference.
*/
TRACK_REMOVED: "conference.trackRemoved",
/**
* The dominant speaker was changed.
*/
DOMINANT_SPEAKER_CHANGED: "conference.dominantSpeaker",
/**
* A new user joinned the conference.
*/
USER_JOINED: "conference.userJoined",
/**
* A user has left the conference.
*/
USER_LEFT: "conference.userLeft",
/**
* User role changed.
*/
USER_ROLE_CHANGED: "conference.roleChanged",
/**
* User status changed.
*/
USER_STATUS_CHANGED: "conference.statusChanged",
/**
* New text message was received.
*/
MESSAGE_RECEIVED: "conference.messageReceived",
/**
* A user has changed it display name
*/
DISPLAY_NAME_CHANGED: "conference.displayNameChanged",
/**
* Indicates that subject of the conference has changed.
*/
SUBJECT_CHANGED: "conference.subjectChanged",
/**
* A participant avatar has changed.
*/
AVATAR_CHANGED: "conference.avatarChanged",
/**
* New local connection statistics are received.
*/
CONNECTION_STATS: "conference.connectionStats",
/**
* The Last N set is changed.
*/
LAST_N_ENDPOINTS_CHANGED: "conference.lastNEndpointsChanged",
/**
* You are included / excluded in somebody's last N set
*/
IN_LAST_N_CHANGED: "conference.inLastNChanged",
/**
* A media track ( attached to the conference) mute status was changed.
*/
TRACK_MUTE_CHANGED: "conference.trackMuteChanged",
/**
* Audio levels of a media track ( attached to the conference) was changed.
*/
TRACK_AUDIO_LEVEL_CHANGED: "conference.audioLevelsChanged",
/**
* Indicates that the connection to the conference has been interrupted
* for some reason.
*/
CONNECTION_INTERRUPTED: "conference.connectionInterrupted",
/**
* Indicates that the connection to the conference has been restored.
*/
CONNECTION_RESTORED: "conference.connectionRestored",
/**
* Indicates that conference failed.
*/
CONFERENCE_FAILED: "conference.failed",
/**
* Indicates that an error occured.
*/
CONFERENCE_ERROR: "conference.error",
/**
* Indicates that conference has been joined. The event does NOT provide any
* parameters to its listeners.
*/
CONFERENCE_JOINED: "conference.joined",
/**
* Indicates that conference has been left.
*/
CONFERENCE_LEFT: "conference.left",
/**
* You are kicked from the conference.
*/
KICKED: "conferenece.kicked",
/**
* Indicates that start muted settings changed.
*/
START_MUTED_POLICY_CHANGED: "conference.start_muted_policy_changed",
/**
* Indicates that the local user has started muted.
*/
STARTED_MUTED: "conference.started_muted",
/**
* Indicates that DTMF support changed.
*/
DTMF_SUPPORT_CHANGED: "conference.dtmfSupportChanged",
/**
* Indicates that recording state changed.
*/
RECORDER_STATE_CHANGED: "conference.recorderStateChanged",
/**
* Indicates that phone number changed.
*/
PHONE_NUMBER_CHANGED: "conference.phoneNumberChanged",
/**
* Indicates that available devices changed.
*/
AVAILABLE_DEVICES_CHANGED: "conference.availableDevicesChanged",
/**
* Indicates that authentication status changed.
*/
AUTH_STATUS_CHANGED: "conference.auth_status_changed"
};
module.exports = JitsiConferenceEvents;