Files
jitsi-meet/react/features/base/participants/constants.js
virtuacoplenny 928181cd7a feat(display-name): convert to React (#1672)
* 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
2017-06-28 22:35:43 -05:00

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'
};