feat(external_api) drop support for noSSL option
Bwrosers have not allowerd WebRTC on non-secure origins for a very long time now.
This commit is contained in:
parent
e271ec2e13
commit
ad496ac245
|
@ -124,16 +124,13 @@ function changeParticipantNumber(APIInstance, number) {
|
|||
* configuration options defined in interface_config.js to be overridden.
|
||||
* @param {string} [options.jwt] - The JWT token if needed by jitsi-meet for
|
||||
* authentication.
|
||||
* @param {boolean} [options.noSSL] - If the value is true https won't be used.
|
||||
* @param {string} [options.roomName] - The name of the room to join.
|
||||
* @returns {string} The URL.
|
||||
*/
|
||||
function generateURL(domain, options = {}) {
|
||||
return urlObjectToString({
|
||||
...options,
|
||||
url:
|
||||
`${options.noSSL ? 'http' : 'https'}://${
|
||||
domain}/#jitsi_meet_external_api_id=${id}`
|
||||
url: `https://${domain}/#jitsi_meet_external_api_id=${id}`
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -164,7 +161,6 @@ function parseArguments(args) {
|
|||
parentNode,
|
||||
configOverwrite,
|
||||
interfaceConfigOverwrite,
|
||||
noSSL,
|
||||
jwt,
|
||||
onload
|
||||
] = args;
|
||||
|
@ -176,7 +172,6 @@ function parseArguments(args) {
|
|||
parentNode,
|
||||
configOverwrite,
|
||||
interfaceConfigOverwrite,
|
||||
noSSL,
|
||||
jwt,
|
||||
onload
|
||||
};
|
||||
|
@ -237,8 +232,6 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
|||
* configuration options defined in config.js to be overridden.
|
||||
* @param {Object} [options.interfaceConfigOverwrite] - Object containing
|
||||
* configuration options defined in interface_config.js to be overridden.
|
||||
* @param {boolean} [options.noSSL] - If the value is true https won't be
|
||||
* used.
|
||||
* @param {string} [options.jwt] - The JWT token if needed by jitsi-meet for
|
||||
* authentication.
|
||||
* @param {string} [options.onload] - The onload function that will listen
|
||||
|
@ -261,7 +254,6 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
|||
parentNode = document.body,
|
||||
configOverwrite = {},
|
||||
interfaceConfigOverwrite = {},
|
||||
noSSL = false,
|
||||
jwt = undefined,
|
||||
onload = undefined,
|
||||
invitees,
|
||||
|
@ -276,7 +268,6 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
|||
configOverwrite,
|
||||
interfaceConfigOverwrite,
|
||||
jwt,
|
||||
noSSL,
|
||||
roomName,
|
||||
devices,
|
||||
userInfo,
|
||||
|
|
Loading…
Reference in New Issue