2017-08-16 21:28:39 +00:00
|
|
|
/**
|
|
|
|
* The relative path to the default/stock avatar (image) file used on both
|
|
|
|
* Web/React and mobile/React Native (for the purposes of consistency).
|
|
|
|
*
|
|
|
|
* XXX (1) Web/React utilizes relativity on the Jitsi Meet deployment.
|
|
|
|
* (2) Mobile/React Native utilizes relativity on the local file system at build
|
|
|
|
* time. Unfortunately, the packager of React Native cannot deal with the
|
2017-10-01 06:35:19 +00:00
|
|
|
* {@code const} early enough for {@code require} to succeed at runtime.
|
2017-08-16 21:28:39 +00:00
|
|
|
* Anyway, be sure to synchronize the relative path on Web and mobile for the
|
|
|
|
* purposes of consistency.
|
|
|
|
*
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
export const DEFAULT_AVATAR_RELATIVE_PATH = 'images/avatar.png';
|
|
|
|
|
2016-10-05 14:36:59 +00:00
|
|
|
/**
|
2017-10-13 19:31:05 +00:00
|
|
|
* The local participant might not have real ID until she joins a conference,
|
|
|
|
* so use 'local' as her default ID.
|
2016-10-05 14:36:59 +00:00
|
|
|
*
|
|
|
|
* @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'
|
|
|
|
};
|