2016-10-05 14:36:59 +00:00
|
|
|
/**
|
|
|
|
* Local participant might not have real ID until he joins a conference,
|
|
|
|
* so use 'local' as its default ID.
|
|
|
|
*
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
export const LOCAL_PARTICIPANT_DEFAULT_ID = 'local';
|
|
|
|
|
2017-06-29 03:35:43 +00:00
|
|
|
/**
|
|
|
|
* Max length of the display names.
|
|
|
|
*
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
export const MAX_DISPLAY_NAME_LENGTH = 50;
|
|
|
|
|
2016-10-05 14:36:59 +00:00
|
|
|
/**
|
|
|
|
* The set of possible XMPP MUC roles for conference participants.
|
|
|
|
*
|
|
|
|
* @enum {string}
|
|
|
|
*/
|
|
|
|
export const PARTICIPANT_ROLE = {
|
|
|
|
MODERATOR: 'moderator',
|
|
|
|
NONE: 'none',
|
|
|
|
PARTICIPANT: 'participant'
|
|
|
|
};
|