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 901B

12345678910111213141516171819202122
  1. // XXX The function parseURLParams is exported by the feature base/util (as
  2. // defined in the terminology of react/). However, this file is (very likely)
  3. // bundled in external_api in addition to app.bundle and, consequently, it is
  4. // best to import as little as possible here (rather than the whole feature
  5. // base/util) in order to minimize the amount of source code bundled into
  6. // multiple bundles.
  7. import { parseURLParams } from '../../react/features/base/util/parseURLParams';
  8. /**
  9. * JitsiMeetExternalAPI id - unique for a webpage.
  10. */
  11. export const API_ID = parseURLParams(window.location).jitsi_meet_external_api_id;
  12. /**
  13. * The payload name for the datachannel/endpoint text message event
  14. */
  15. export const ENDPOINT_TEXT_MESSAGE_NAME = 'endpoint-text-message';
  16. /**
  17. * The payload name for the datachannel/endpoint reaction event
  18. */
  19. export const ENDPOINT_REACTION_NAME = 'endpoint-reaction';