added proxyType to best on some connections preparing the client to use rtmps
This commit is contained in:
parent
3a309f9119
commit
b17719e8cf
@ -69,6 +69,7 @@ package org.bigbluebutton.core.services
|
|||||||
_lastServerToClientCheck = null;
|
_lastServerToClientCheck = null;
|
||||||
|
|
||||||
_nc = new NetConnection();
|
_nc = new NetConnection();
|
||||||
|
_nc.proxyType = "best";
|
||||||
_nc.objectEncoding = flash.net.ObjectEncoding.AMF0;
|
_nc.objectEncoding = flash.net.ObjectEncoding.AMF0;
|
||||||
_nc.client = this;
|
_nc.client = this;
|
||||||
_nc.addEventListener(NetStatusEvent.NET_STATUS, onStatus);
|
_nc.addEventListener(NetStatusEvent.NET_STATUS, onStatus);
|
||||||
|
@ -219,6 +219,7 @@ package org.bigbluebutton.modules.videoconf.business
|
|||||||
if(!playConnectionDict[newUrl]){
|
if(!playConnectionDict[newUrl]){
|
||||||
// Create new NetConnection and store it
|
// Create new NetConnection and store it
|
||||||
var connection:NetConnection = new NetConnection();
|
var connection:NetConnection = new NetConnection();
|
||||||
|
connection.proxyType = "best";
|
||||||
connection.client = this;
|
connection.client = this;
|
||||||
connection.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
|
connection.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
|
||||||
connection.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
|
connection.addEventListener(IOErrorEvent.IO_ERROR, onIOError);
|
||||||
|
Loading…
Reference in New Issue
Block a user