Skip to content
Snippets Groups Projects
Commit fcfb1d5b authored by Richard Alam's avatar Richard Alam
Browse files

- remove default ports for RTMP and RTMPT

- log the uri correctly when failing to connect on port test

git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@1485 af16638f-c34d-0410-8cfa-b39d5352b314
parent d48a25ec
No related branches found
No related tags found
No related merge requests found
......@@ -35,8 +35,8 @@ package org.bigbluebutton.main.model
}
private function connectionListener(status:String, protocol:String, hostname:String, port:String, application:String):void {
if (status == "SUCCESS") {
uri = protocol + "://" + hostname + "/" + application;
uri = protocol + "://" + hostname + "/" + application;
if (status == "SUCCESS") {
LogUtil.debug("Successfully connected to " + uri);
facade.sendNotification(MainApplicationConstants.PORT_TEST_SUCCESS,
{protocol:protocol, hostname:hostname, port:port, application:application});
......
......@@ -168,14 +168,14 @@ package org.bigbluebutton.main.view
var app:String = modulesProxy.getPortTestApplication();
shell.statusInfo.text = "Please wait while we test your connection to the server.";
shell.statusProgress.text = "Connecting to RTMP://" + host + ":1935/" + app + ".";
portTestProxy.connect("RTMP", host, "1935", app);
portTestProxy.connect("RTMP", host, "", app);
}
private function testRTMPTConnection():void {
var host:String = modulesProxy.getPortTestHost();
var app:String = modulesProxy.getPortTestApplication();
shell.statusProgress.text = "Connecting to RTMPT://" + host + ":80/" + app + ".";
portTestProxy.connect("RTMPT", host, "80", "bigbluebutton");
portTestProxy.connect("RTMPT", host, "", "bigbluebutton");
}
private function handleUserLoggedOut():void {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment