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.2KB

1234567891011121314151617181920212223242526272829
  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 e-mail 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');