|
|
@@ -16,6 +16,7 @@ import GumPermissionsOverlay
|
|
16
|
16
|
from './gum_overlay/UserMediaPermissionsGuidanceOverlay';
|
|
17
|
17
|
|
|
18
|
18
|
import PageReloadOverlay from './reload_overlay/PageReloadOverlay';
|
|
|
19
|
+import SuspendedOverlay from './suspended_overlay/SuspendedOverlay';
|
|
19
|
20
|
import VideoLayout from "./videolayout/VideoLayout";
|
|
20
|
21
|
import FilmStrip from "./videolayout/FilmStrip";
|
|
21
|
22
|
import SettingsMenu from "./side_pannels/settings/SettingsMenu";
|
|
|
@@ -1399,12 +1400,14 @@ UI.hideRingOverLay = function () {
|
|
1399
|
1400
|
|
|
1400
|
1401
|
/**
|
|
1401
|
1402
|
* Indicates if any the "top" overlays are currently visible. The check includes
|
|
1402
|
|
- * the call overlay, GUM permissions overlay and a page reload overlay.
|
|
|
1403
|
+ * the call overlay, suspended overlay, GUM permissions overlay
|
|
|
1404
|
+ * and a page reload overlay.
|
|
1403
|
1405
|
*
|
|
1404
|
1406
|
* @returns {*|boolean} {true} if the overlay is visible, {false} otherwise
|
|
1405
|
1407
|
*/
|
|
1406
|
1408
|
UI.isOverlayVisible = function () {
|
|
1407
|
1409
|
return RingOverlay.isVisible()
|
|
|
1410
|
+ || SuspendedOverlay.isVisible()
|
|
1408
|
1411
|
|| PageReloadOverlay.isVisible()
|
|
1409
|
1412
|
|| GumPermissionsOverlay.isVisible();
|
|
1410
|
1413
|
};
|
|
|
@@ -1427,6 +1430,13 @@ UI.showUserMediaPermissionsGuidanceOverlay = function (browser) {
|
|
1427
|
1430
|
GumPermissionsOverlay.show(browser);
|
|
1428
|
1431
|
};
|
|
1429
|
1432
|
|
|
|
1433
|
+/**
|
|
|
1434
|
+ * Shows suspended overlay with a button to rejoin conference.
|
|
|
1435
|
+ */
|
|
|
1436
|
+UI.showSuspendedOverlay = function () {
|
|
|
1437
|
+ SuspendedOverlay.show();
|
|
|
1438
|
+};
|
|
|
1439
|
+
|
|
1430
|
1440
|
/**
|
|
1431
|
1441
|
* Hides browser-specific overlay with guidance how to proceed with gUM prompt.
|
|
1432
|
1442
|
*/
|