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 2020/05/22 10:56:22 UTC
[openmeetings] branch master updated: [OPENMEETINGS-2369]
prioritize camera facing the user by default (#96)
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 3062d0b [OPENMEETINGS-2369] prioritize camera facing the user by default (#96)
3062d0b is described below
commit 3062d0b056fc48fc9c73fb894704d17fbccb9464
Author: Konstantin Kuzov <ma...@gmail.com>
AuthorDate: Fri May 22 13:56:11 2020 +0300
[OPENMEETINGS-2369] prioritize camera facing the user by default (#96)
---
.../src/main/java/org/apache/openmeetings/web/room/raw-settings.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-settings.js b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-settings.js
index 60f26c2..a3f1ef2 100644
--- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-settings.js
+++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-settings.js
@@ -259,6 +259,10 @@ var VideoSettings = (function() {
cnts.video.deviceId = {
ideal: s.video.camDevice
};
+ } else {
+ cnts.video.facingMode = {
+ ideal: "user"
+ }
}
} else {
cnts.video = false;