Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

constants.ts 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. * The command type for updating a participant's avatar URL.
  3. *
  4. * @type {string}
  5. */
  6. export const AVATAR_URL_COMMAND = 'avatar-url';
  7. /**
  8. * The command type for updating a participant's email address.
  9. *
  10. * @type {string}
  11. */
  12. export const EMAIL_COMMAND = 'email';
  13. /**
  14. * The name of the {@code JitsiConference} property which identifies the URL of
  15. * the conference represented by the {@code JitsiConference} instance.
  16. *
  17. * TODO It was introduced in a moment of desperation. Jitsi Meet SDK for Android
  18. * and iOS needs to deliver events from the JavaScript side where they originate
  19. * to the Java and Objective-C sides, respectively, where they are to be
  20. * handled. The URL of the {@code JitsiConference} was chosen as the identifier
  21. * because the Java and Objective-C sides join by URL through their respective
  22. * loadURL methods. But features/base/connection's {@code locationURL} is not
  23. * guaranteed at the time of this writing to match the {@code JitsiConference}
  24. * instance when the events are to be fired. Patching {@code JitsiConference}
  25. * from the outside is not cool but it should suffice for now.
  26. */
  27. export const JITSI_CONFERENCE_URL_KEY = Symbol('url');
  28. export const TRIGGER_READY_TO_CLOSE_REASONS = [
  29. 'The meeting has been terminated'
  30. ];
  31. /**
  32. * Conference leave reasons.
  33. */
  34. export const CONFERENCE_LEAVE_REASONS = {
  35. SWITCH_ROOM: 'switch_room',
  36. UNRECOVERABLE_ERROR: 'unrecoverable_error'
  37. };