2020-05-07 22:26:37 +00:00
|
|
|
// XXX The function parseURLParams is exported by the feature base/util (as
|
2017-05-04 15:20:41 +00:00
|
|
|
// defined in the terminology of react/). However, this file is (very likely)
|
|
|
|
// bundled in external_api in addition to app.bundle and, consequently, it is
|
|
|
|
// best to import as little as possible here (rather than the whole feature
|
2020-05-07 22:26:37 +00:00
|
|
|
// base/util) in order to minimize the amount of source code bundled into
|
2017-05-04 15:20:41 +00:00
|
|
|
// multiple bundles.
|
2020-05-07 22:26:37 +00:00
|
|
|
import { parseURLParams } from '../../react/features/base/util/parseURLParams';
|
2017-04-17 15:52:31 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* JitsiMeetExternalAPI id - unique for a webpage.
|
|
|
|
*/
|
2020-03-20 11:51:26 +00:00
|
|
|
export const API_ID = parseURLParams(window.location).jitsi_meet_external_api_id;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The payload name for the datachannel/endpoint text message event
|
|
|
|
*/
|
|
|
|
export const ENDPOINT_TEXT_MESSAGE_NAME = 'endpoint-text-message';
|