2022-11-08 12:24:32 +02:00
|
|
|
import { IconPhoneRinging, IconWhiteboard } from '../icons/svg';
|
2019-08-30 18:39:06 +02:00
|
|
|
|
2017-08-16 16:28:39 -05: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 01:35:19 -05:00
|
|
|
* {@code const} early enough for {@code require} to succeed at runtime.
|
2017-08-16 16:28:39 -05: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';
|
|
|
|
|
|
2020-11-13 22:09:25 -06:00
|
|
|
/**
|
|
|
|
|
* The value for the "var" attribute of feature tag in disco-info packets.
|
|
|
|
|
*/
|
|
|
|
|
export const DISCO_REMOTE_CONTROL_FEATURE = 'http://jitsi.org/meet/remotecontrol';
|
|
|
|
|
|
2019-07-16 11:23:01 +01:00
|
|
|
/**
|
|
|
|
|
* Icon URL for jigasi participants.
|
|
|
|
|
*
|
|
|
|
|
* @type {string}
|
|
|
|
|
*/
|
2022-11-08 12:24:32 +02:00
|
|
|
export const JIGASI_PARTICIPANT_ICON = IconPhoneRinging;
|
2019-07-16 11:23:01 +01:00
|
|
|
|
2016-10-05 09:36:59 -05:00
|
|
|
/**
|
2017-10-13 14:31:05 -05:00
|
|
|
* The local participant might not have real ID until she joins a conference,
|
|
|
|
|
* so use 'local' as her default ID.
|
2016-10-05 09:36:59 -05:00
|
|
|
*
|
|
|
|
|
* @type {string}
|
|
|
|
|
*/
|
|
|
|
|
export const LOCAL_PARTICIPANT_DEFAULT_ID = 'local';
|
|
|
|
|
|
2017-06-28 20:35:43 -07:00
|
|
|
/**
|
|
|
|
|
* Max length of the display names.
|
|
|
|
|
*
|
|
|
|
|
* @type {string}
|
|
|
|
|
*/
|
|
|
|
|
export const MAX_DISPLAY_NAME_LENGTH = 50;
|
|
|
|
|
|
2018-02-26 13:37:12 -06:00
|
|
|
/**
|
|
|
|
|
* The identifier of the sound to be played when new remote participant joins
|
|
|
|
|
* the room.
|
2021-11-04 22:10:43 +01:00
|
|
|
*
|
2018-02-26 13:37:12 -06:00
|
|
|
* @type {string}
|
|
|
|
|
*/
|
|
|
|
|
export const PARTICIPANT_JOINED_SOUND_ID = 'PARTICIPANT_JOINED_SOUND';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The identifier of the sound to be played when remote participant leaves
|
|
|
|
|
* the room.
|
2021-11-04 22:10:43 +01:00
|
|
|
*
|
2018-02-26 13:37:12 -06:00
|
|
|
* @type {string}
|
|
|
|
|
*/
|
|
|
|
|
export const PARTICIPANT_LEFT_SOUND_ID = 'PARTICIPANT_LEFT_SOUND';
|
|
|
|
|
|
2016-10-05 09:36:59 -05:00
|
|
|
/**
|
|
|
|
|
* The set of possible XMPP MUC roles for conference participants.
|
|
|
|
|
*
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
export const PARTICIPANT_ROLE = {
|
|
|
|
|
MODERATOR: 'moderator',
|
|
|
|
|
NONE: 'none',
|
|
|
|
|
PARTICIPANT: 'participant'
|
|
|
|
|
};
|
2022-01-21 10:07:55 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The audio level at which the hand will be lowered if raised.
|
|
|
|
|
*
|
|
|
|
|
* @type {string}
|
|
|
|
|
*/
|
|
|
|
|
export const LOWER_HAND_AUDIO_LEVEL = 0.2;
|
2022-09-30 17:50:45 +03:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Icon URL for the whiteboard participant.
|
|
|
|
|
*/
|
2022-11-08 12:24:32 +02:00
|
|
|
export const WHITEBOARD_PARTICIPANT_ICON = IconWhiteboard;
|
2025-12-02 09:47:22 -06:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The ID used for non-participant (system) messages coming from a transcriber.
|
|
|
|
|
*/
|
|
|
|
|
export const TRANSCRIBER_ID = 'transcriber';
|