added proxyType to best on some connections preparing the client to use rtmps

This commit is contained in:
Felipe Cecagno 2015-09-12 19:59:32 -03:00
parent 3a309f9119
commit b17719e8cf
2 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@ package org.bigbluebutton.core.services
_lastServerToClientCheck = null;
_nc = new NetConnection();
_nc.proxyType = "best";
_nc.objectEncoding = flash.net.ObjectEncoding.AMF0;
_nc.client = this;
_nc.addEventListener(NetStatusEvent.NET_STATUS, onStatus);

View File

@ -219,6 +219,7 @@ package org.bigbluebutton.modules.videoconf.business
if(!playConnectionDict[newUrl]){
// Create new NetConnection and store it
var connection:NetConnection = new NetConnection();
connection.proxyType = "best";
connection.client = this;
connection.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
connection.addEventListener(IOErrorEvent.IO_ERROR, onIOError);