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 2017/11/20 04:41:18 UTC

openmeetings git commit: [OPENMEETINGS-1764] nettest for RTMPS is fixed

Repository: openmeetings
Updated Branches:
  refs/heads/4.0.x ad4859841 -> b50a07bf4


[OPENMEETINGS-1764] nettest for RTMPS is fixed


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

Branch: refs/heads/4.0.x
Commit: b50a07bf46a6110fd899924916081064dfb25a22
Parents: ad48598
Author: Maxim Solodovnik <so...@gmail.com>
Authored: Mon Nov 20 11:41:09 2017 +0700
Committer: Maxim Solodovnik <so...@gmail.com>
Committed: Mon Nov 20 11:41:09 2017 +0700

----------------------------------------------------------------------
 .../org/apache/openmeetings/nettest/PortAvailabilityTest.mxml    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/openmeetings/blob/b50a07bf/openmeetings-flash/src/main/flex/org/apache/openmeetings/nettest/PortAvailabilityTest.mxml
----------------------------------------------------------------------
diff --git a/openmeetings-flash/src/main/flex/org/apache/openmeetings/nettest/PortAvailabilityTest.mxml b/openmeetings-flash/src/main/flex/org/apache/openmeetings/nettest/PortAvailabilityTest.mxml
index 9a300c6..fa1615f 100644
--- a/openmeetings-flash/src/main/flex/org/apache/openmeetings/nettest/PortAvailabilityTest.mxml
+++ b/openmeetings-flash/src/main/flex/org/apache/openmeetings/nettest/PortAvailabilityTest.mxml
@@ -63,10 +63,12 @@
 				}
 			};
 			this.log(": " + lbl('report.start') + " " + url);
+			var nativeSsl:Boolean = 'best' === app.params.proxy;
+			nc.proxyType = nativeSsl ? 'best' : 'none';
 			nc.connect(url, {
 				sid: "noclient"
 				, roomClient: true
-				, nativeSsl: 'best' === app.params.proxy
+				, nativeSsl: nativeSsl
 			});
 		}