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(large-video): do not try to show background on safari with webrtc (#2606)

virtuacoplennybfb45ed0e819
diff --git a/modules/UI/videolayout/VideoContainer.js b/modules/UI/videolayout/VideoContainer.js
index 1ec9578f16..0a3317862d 100644
--- a/modules/UI/videolayout/VideoContainer.js
+++ b/modules/UI/videolayout/VideoContainer.js
@@ -687,7 +687,11 @@ export class VideoContainer extends LargeContainer {
* @returns {void}
*/
_updateBackground() {
- if (browser.isFirefox() || browser.isTemasysPluginUsed()) {
+ // Do not the background display on browsers that might experience
+ // performance issues from the presence of the background.
+ if (browser.isFirefox()
+ || browser.isSafariWithWebrtc()
+ || browser.isTemasysPluginUsed()) {
return;
}