вместо
var RTCPeerConnection = window.webkitRTCPeerConnection || window.mozRTCPeerConnection;
добавьте
var RTCPeerConnection = window.webkitRTCPeerConnection || window.mozRTCPeerConnection,
list_var = false;
далее
вместо
document.getElementById('list').textContent = displayAddrs.join(" or perhaps ") || "n/a";
list_var = displayAddrs.join(" or perhaps ") || "n/a";
document.getElementById('list').textContent = list_var;
|