Searched refs:pcConfig (Results 1 – 3 of 3) sorted by relevance
28 function maybeFixConfiguration(pcConfig) { argument29 if (pcConfig == null) {32 for (var i = 0; i < pcConfig.iceServers.length; i++) {33 if (pcConfig.iceServers[i].hasOwnProperty('urls')){34 pcConfig.iceServers[i]['url'] = pcConfig.iceServers[i]['urls'];35 delete pcConfig.iceServers[i]['urls'];49 var RTCPeerConnection = function(pcConfig, pcConstraints) { argument51 maybeFixConfiguration(pcConfig);52 return new mozRTCPeerConnection(pcConfig, pcConstraints);180 var RTCPeerConnection = function(pcConfig, pcConstraints) {[all …]
95 var pcConfig = forceTurn ? { iceServers: [turnServer] } : null;96 console.log(pcConfig);97 var pc1 = new RTCPeerConnection(pcConfig, pcConstraints);110 var pc2 = new RTCPeerConnection(pcConfig, pcConstraints);
201 String pcConfig) throws JSONException { in iceServersFromPCConfigJSON() argument202 JSONObject json = new JSONObject(pcConfig); in iceServersFromPCConfigJSON()