Home
last modified time | relevance | path

Searched refs:pcConfig (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/tools/loopback_test/
Dadapter.js28 function maybeFixConfiguration(pcConfig) { argument
29 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) { argument
51 maybeFixConfiguration(pcConfig);
52 return new mozRTCPeerConnection(pcConfig, pcConstraints);
180 var RTCPeerConnection = function(pcConfig, pcConstraints) {
[all …]
Dloopback_test.js95 var pcConfig = forceTurn ? { iceServers: [turnServer] } : null;
96 console.log(pcConfig);
97 var pc1 = new RTCPeerConnection(pcConfig, pcConstraints);
110 var pc2 = new RTCPeerConnection(pcConfig, pcConstraints);
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DRoomParametersFetcher.java201 String pcConfig) throws JSONException { in iceServersFromPCConfigJSON() argument
202 JSONObject json = new JSONObject(pcConfig); in iceServersFromPCConfigJSON()