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 2018/09/18 13:48:48 UTC

[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1932] First camera/mic autoselected it it wasn't explicitly denied

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

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


The following commit(s) were added to refs/heads/4.0.x by this push:
     new 0a747f0  [OPENMEETINGS-1932] First camera/mic autoselected it it wasn't explicitly denied
0a747f0 is described below

commit 0a747f0a28af084bccda5eba6a016c7733c1f83d
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Tue Sep 18 20:48:30 2018 +0700

    [OPENMEETINGS-1932] First camera/mic autoselected it it wasn't explicitly denied
---
 .../src/main/java/org/apache/openmeetings/web/room/raw-settings.js | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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 92d0638..881ea89 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
@@ -19,7 +19,12 @@ var VideoSettings = (function() {
 	function _load() {
 		s = Settings.load();
 		if (!s.video) {
-			s.video = {};
+			s.video = {
+				cam: 0
+				, mic: 0
+				, width: 120
+				, height: 90
+			};
 		}
 		return s;
 	}