2
2
* The events for the conference.
3
3
*/
4
4
export enum JitsiConferenceEvents {
5
- /**
6
- * An event(library-private) fired when the conference switches the currently active media session.
7
- * @type {string }
8
- * @private
9
- */
10
- _MEDIA_SESSION_ACTIVE_CHANGED = 'conference.media_session.active_changed' ,
11
-
12
- /**
13
- * An event(library-private) fired when a new media session is added to the conference.
14
- * @type {string }
15
- * @private
16
- */
17
- _MEDIA_SESSION_STARTED = 'conference.media_session.started' ,
18
5
19
6
/**
20
7
* Event indicates that the current conference audio input switched between audio
@@ -23,8 +10,8 @@ export enum JitsiConferenceEvents {
23
10
AUDIO_INPUT_STATE_CHANGE = 'conference.audio_input_state_changed' ,
24
11
25
12
/**
26
- * Event indicates that the permission for unmuting audio has changed based on the number of audio senders in the call
27
- * and the audio sender limit configured in Jicofo.
13
+ * Event indicates that the permission for unmuting audio has changed based on the number of audio senders in the
14
+ * call and the audio sender limit configured in Jicofo.
28
15
*/
29
16
AUDIO_UNMUTE_PERMISSIONS_CHANGED = 'conference.audio_unmute_permissions_changed' ,
30
17
@@ -115,17 +102,17 @@ export enum JitsiConferenceEvents {
115
102
*/
116
103
CONFERENCE_FAILED = 'conference.failed' ,
117
104
118
- /**
119
- * Indicates that conference is in progress of joining.
120
- */
121
- CONFERENCE_JOIN_IN_PROGRESS = 'conference.join_in_progress' ,
122
-
123
105
/**
124
106
* Indicates that conference has been joined. The event does NOT provide any
125
107
* parameters to its listeners.
126
108
*/
127
109
CONFERENCE_JOINED = 'conference.joined' ,
128
110
111
+ /**
112
+ * Indicates that conference is in progress of joining.
113
+ */
114
+ CONFERENCE_JOIN_IN_PROGRESS = 'conference.join_in_progress' ,
115
+
129
116
/**
130
117
* Indicates that conference has been left.
131
118
*/
@@ -163,7 +150,7 @@ export enum JitsiConferenceEvents {
163
150
164
151
/**
165
152
* A connection to the video bridge's data channel has been closed.
166
- * This event is only emitted in
153
+ * This event is only emitted in
167
154
*/
168
155
DATA_CHANNEL_CLOSED = 'conference.dataChannelClosed' ,
169
156
@@ -284,21 +271,11 @@ export enum JitsiConferenceEvents {
284
271
*/
285
272
MESSAGE_RECEIVED = 'conference.messageReceived' ,
286
273
287
- /**
288
- * New reaction was received.
289
- */
290
- REACTION_RECEIVED = 'conference.reactionReceived' ,
291
-
292
274
/**
293
275
* Event fired when the conference metadata is updated.
294
276
*/
295
277
METADATA_UPDATED = 'conference.metadata.updated' ,
296
278
297
- /**
298
- * Event indicates that the current selected input device has no signal
299
- */
300
- NO_AUDIO_INPUT = 'conference.no_audio_input' ,
301
-
302
279
/**
303
280
* Event indicates that the current microphone used by the conference is noisy.
304
281
*/
@@ -310,6 +287,11 @@ export enum JitsiConferenceEvents {
310
287
*/
311
288
NON_PARTICIPANT_MESSAGE_RECEIVED = 'conference.non_participant_message_received' ,
312
289
290
+ /**
291
+ * Event indicates that the current selected input device has no signal
292
+ */
293
+ NO_AUDIO_INPUT = 'conference.no_audio_input' ,
294
+
313
295
/**
314
296
* Indicates that the conference has switched between JVB and P2P connections.
315
297
* The first argument of this event is a <tt>boolean</tt> which when set to
@@ -350,12 +332,18 @@ export enum JitsiConferenceEvents {
350
332
* New private text message was received.
351
333
*/
352
334
PRIVATE_MESSAGE_RECEIVED = 'conference.privateMessageReceived' ,
335
+
353
336
/**
354
337
* The conference properties changed.
355
338
* @type {string }
356
339
*/
357
340
PROPERTIES_CHANGED = 'conference.propertiesChanged' ,
358
341
342
+ /**
343
+ * New reaction was received.
344
+ */
345
+ REACTION_RECEIVED = 'conference.reactionReceived' ,
346
+
359
347
/**
360
348
* Indicates that recording state changed.
361
349
*/
@@ -374,14 +362,14 @@ export enum JitsiConferenceEvents {
374
362
SILENT_STATUS_CHANGED = 'conference.silentStatusChanged' ,
375
363
376
364
/**
377
- * Indicates that start muted settings changed .
365
+ * Indicates that the local user has started muted .
378
366
*/
379
- START_MUTED_POLICY_CHANGED = 'conference.start_muted_policy_changed ' ,
367
+ STARTED_MUTED = 'conference.started_muted ' ,
380
368
381
369
/**
382
- * Indicates that the local user has started muted .
370
+ * Indicates that start muted settings changed .
383
371
*/
384
- STARTED_MUTED = 'conference.started_muted ' ,
372
+ START_MUTED_POLICY_CHANGED = 'conference.start_muted_policy_changed ' ,
385
373
386
374
/**
387
375
* Indicates that subject of the conference has changed.
@@ -478,25 +466,39 @@ export enum JitsiConferenceEvents {
478
466
VIDEO_SIP_GW_SESSION_STATE_CHANGED = 'conference.videoSIPGWSessionStateChanged' ,
479
467
480
468
/**
481
- * Event indicates that the permission for unmuting video has changed based on the number of video senders in the call
482
- * and the video sender limit configured in Jicofo.
469
+ * Event indicates that the permission for unmuting video has changed based on the number of video senders in the
470
+ * call and the video sender limit configured in Jicofo.
483
471
*/
484
472
VIDEO_UNMUTE_PERMISSIONS_CHANGED = 'conference.video_unmute_permissions_changed' ,
485
473
474
+ /**
475
+ * Event indicating we have received a message from the visitors component.
476
+ */
477
+ VISITORS_MESSAGE = 'conference.visitors_message' ,
478
+
479
+ /**
480
+ * Event indicating that our request for promotion was rejected.
481
+ */
482
+ VISITORS_REJECTION = 'conference.visitors_rejection' ,
483
+
486
484
/**
487
485
* Indicates that the conference has support for visitors.
488
486
*/
489
487
VISITORS_SUPPORTED_CHANGED = 'conference.visitorsSupported' ,
490
488
491
489
/**
492
- * Event indicating we have received a message from the visitors component.
490
+ * An event(library-private) fired when the conference switches the currently active media session.
491
+ * @type {string }
492
+ * @private
493
493
*/
494
- VISITORS_MESSAGE = 'conference.visitors_message ' ,
494
+ _MEDIA_SESSION_ACTIVE_CHANGED = 'conference.media_session.active_changed ' ,
495
495
496
496
/**
497
- * Event indicating that our request for promotion was rejected.
497
+ * An event(library-private) fired when a new media session is added to the conference.
498
+ * @type {string }
499
+ * @private
498
500
*/
499
- VISITORS_REJECTION = 'conference.visitors_rejection '
501
+ _MEDIA_SESSION_STARTED = 'conference.media_session.started '
500
502
}
501
503
502
504
// exported for backward compatibility
0 commit comments