/// <summary> /// Creates a new network by using a JSON configuration string. This is used to configure the server connection for the signaling channel /// and to define webrtc specific configurations such as stun server used to connect through firewalls. /// /// /// </summary> /// <param name="config"></param> public BrowserWebRtcNetwork(string websocketUrl, IceServer[] lIceServers) { string conf = ConstructorParamToJson(websocketUrl, lIceServers); SLog.L("Creating BrowserWebRtcNetwork config: " + conf, this.GetType().Name); mReference = CAPI.Unity_WebRtcNetwork_Create(conf); }