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

1234567891011121314151617
  1. // XXX The function parseURLParams is exported by the feature base/config (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/config) in order to minimize the amount of source code bundled into
  6. // multiple bundles.
  7. import parseURLParams from '../../react/features/base/config/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';