You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2021/03/05 03:15:42 UTC

[openmeetings] branch master updated: [OPENMEETINGS-2586] screen-sharing turned off for iOS

This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 0d0ac1a  [OPENMEETINGS-2586] screen-sharing turned off for iOS
0d0ac1a is described below

commit 0d0ac1a84c0d602e472aaa5986a62cc7954e1d8c
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Fri Mar 5 10:15:31 2021 +0700

    [OPENMEETINGS-2586] screen-sharing turned off for iOS
---
 openmeetings-web/src/main/front/settings/src/video-util.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/openmeetings-web/src/main/front/settings/src/video-util.js b/openmeetings-web/src/main/front/settings/src/video-util.js
index d07d8d4..3f06aa6 100644
--- a/openmeetings-web/src/main/front/settings/src/video-util.js
+++ b/openmeetings-web/src/main/front/settings/src/video-util.js
@@ -268,10 +268,10 @@ function _disconnect(node) {
 function _sharingSupported() {
 	const b = OmUtil.browser;
 	return (b.name === 'Edge' && b.major > 16)
-		|| (b.name === 'Firefox')
-		|| (b.name === 'Opera')
-		|| (b.name === 'Yandex')
-		|| OmUtil.isSafari()
+		|| b.name === 'Firefox'
+		|| b.name === 'Opera'
+		|| b.name === 'Yandex'
+		|| (OmUtil.isSafari() && typeof(navigator.mediaDevices.getDisplayMedia) === 'function')
 		|| OmUtil.isChrome()
 		|| OmUtil.isEdgeChromium()
 		|| (b.name === 'Mozilla' && b.major > 4);