Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(external-api) add policy to support the Compute Pressure API

Saúl Ibarra Corretgé8b209b3c6e63
diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.js
index 283dc6508e..84070d886c 100644
--- a/modules/API/external/external_api.js
+++ b/modules/API/external/external_api.js
@@ -403,7 +403,16 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
const frameName = `jitsiConferenceFrame${id}`;
this._frame = document.createElement('iframe');
- this._frame.allow = 'camera; microphone; display-capture; autoplay; clipboard-write; hid; screen-wake-lock';
+ this._frame.allow = [
+ 'autoplay',
+ 'camera',
+ 'clipboard-write',
+ 'compute-pressure',
+ 'display-capture',
+ 'hid',
+ 'microphone',
+ 'screen-wake-lock'
+ ].join('; ');
this._frame.name = frameName;
this._frame.id = frameName;
this._setSize(height, width);