You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constants.js 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /**
  2. * The command type for updating a participant's avatar ID.
  3. *
  4. * @type {string}
  5. */
  6. export const AVATAR_ID_COMMAND = 'avatar-id';
  7. /**
  8. * The command type for updating a participant's avatar URL.
  9. *
  10. * @type {string}
  11. */
  12. export const AVATAR_URL_COMMAND = 'avatar-url';
  13. /**
  14. * The command type for updating a participant's e-mail address.
  15. *
  16. * @type {string}
  17. */
  18. export const EMAIL_COMMAND = 'email';
  19. /**
  20. * The name of the {@code JitsiConference} property which identifies the URL of
  21. * the conference represented by the {@code JitsiConference} instance.
  22. *
  23. * TODO It was introduced in a moment of desperation. Jitsi Meet SDK for Android
  24. * and iOS needs to deliver events from the JavaScript side where they originate
  25. * to the Java and Objective-C sides, respectively, where they are to be
  26. * handled. The URL of the {@code JitsiConference} was chosen as the identifier
  27. * because the Java and Objective-C sides join by URL through their respective
  28. * loadURL methods. But features/base/connection's {@code locationURL} is not
  29. * guaranteed at the time of this writing to match the {@code JitsiConference}
  30. * instance when the events are to be fired. Patching {@code JitsiConference}
  31. * from the outside is not cool but it should suffice for now.
  32. */
  33. export const JITSI_CONFERENCE_URL_KEY = Symbol('url');
  34. /**
  35. * The supported remote video resolutions. The values are currently based on
  36. * available simulcast layers.
  37. *
  38. * @type {object}
  39. */
  40. export const VIDEO_QUALITY_LEVELS = {
  41. HIGH: 720,
  42. STANDARD: 360,
  43. LOW: 180
  44. };