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): Pass Feature-Policy display-capture to the iframe

Arzar011b7f9d00be
diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.js
index aadf4ca74d..4960d952d9 100644
--- a/modules/API/external/external_api.js
+++ b/modules/API/external/external_api.js
@@ -300,7 +300,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
const frameName = `jitsiConferenceFrame${id}`;
this._frame = document.createElement('iframe');
- this._frame.allow = 'camera; microphone';
+ this._frame.allow = 'camera; microphone; display-capture';
this._frame.src = this._url;
this._frame.name = frameName;
this._frame.id = frameName;