Repository: openmeetings
Updated Branches:
  refs/heads/master 6cdc9b5b1 -> 38d9999a2


[OPENMEETINGS-551] video broadcast is fixed


Project: http://git-wip-us.apache.org/repos/asf/openmeetings/repo
Commit: http://git-wip-us.apache.org/repos/asf/openmeetings/commit/38d9999a
Tree: http://git-wip-us.apache.org/repos/asf/openmeetings/tree/38d9999a
Diff: http://git-wip-us.apache.org/repos/asf/openmeetings/diff/38d9999a

Branch: refs/heads/master
Commit: 38d9999a22d319593b0b171ef8c6e2c52cf40087
Parents: 6cdc9b5
Author: Maxim Solodovnik <[email protected]>
Authored: Thu Jun 22 22:40:37 2017 +0700
Committer: Maxim Solodovnik <[email protected]>
Committed: Thu Jun 22 22:40:37 2017 +0700

----------------------------------------------------------------------
 openmeetings-flash/src/main/flex/main.mxml                        | 2 +-
 .../src/main/flex/org/apache/openmeetings/OmVideo.as              | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/openmeetings/blob/38d9999a/openmeetings-flash/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/openmeetings-flash/src/main/flex/main.mxml 
b/openmeetings-flash/src/main/flex/main.mxml
index de24955..b91e726 100644
--- a/openmeetings-flash/src/main/flex/main.mxml
+++ b/openmeetings-flash/src/main/flex/main.mxml
@@ -196,7 +196,7 @@
                        }
                        debug("Camera selected:: " + selectedCam);
                        var cam:Camera = getCam();
-                       debug("Camera selected:: " + cam);
+                       debug("Camera selected:: " + cam, cam.muted);
                        if (cam != null) {
                                if (cam.muted) {
                                        debug("Camera Muted");

http://git-wip-us.apache.org/repos/asf/openmeetings/blob/38d9999a/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as
----------------------------------------------------------------------
diff --git 
a/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as 
b/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as
index fbf540d..b2a743e 100644
--- a/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as
+++ b/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as
@@ -84,6 +84,9 @@ public class OmVideo {
        }
 
        private function clear():void {
+               if (!vid) {
+                       return;
+               }
                vid.attachNetStream(null);
                vid.attachCamera(null);
                vid.clear();

Reply via email to