mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-16 22:57:47 +00:00
* feat(display-name): convert to React - Create a new React Component for displaying and updating display names on small videos - The updating of the Component is defined in the parent class SmallVideo, which children will get access to through prototype copying - Create a new actionType and middleware so name changes that occur in DisplayName can be propogated to outside redux - Update the local video's DisplayName when a conference is joined or else the component may keep an undefined user id * squash: query for the container, not the el owned by react
26 lines
512 B
JavaScript
26 lines
512 B
JavaScript
/**
|
|
* 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';
|
|
|
|
/**
|
|
* Max length of the display names.
|
|
*
|
|
* @type {string}
|
|
*/
|
|
export const MAX_DISPLAY_NAME_LENGTH = 50;
|
|
|
|
/**
|
|
* The set of possible XMPP MUC roles for conference participants.
|
|
*
|
|
* @enum {string}
|
|
*/
|
|
export const PARTICIPANT_ROLE = {
|
|
MODERATOR: 'moderator',
|
|
NONE: 'none',
|
|
PARTICIPANT: 'participant'
|
|
};
|