diff --git a/lang/main.json b/lang/main.json index b93b873f1..a8988c784 100644 --- a/lang/main.json +++ b/lang/main.json @@ -189,6 +189,7 @@ "remoteaddress": "Remote address:", "remoteaddress_plural": "Remote addresses:", "transport": "Transport:", + "transport_plural": "Transports:", "bandwidth": "Estimated bandwidth:", "na": "Come back here for connection information once the conference starts" }, diff --git a/modules/UI/videolayout/ConnectionIndicator.js b/modules/UI/videolayout/ConnectionIndicator.js index ce8021ba8..771db813b 100644 --- a/modules/UI/videolayout/ConnectionIndicator.js +++ b/modules/UI/videolayout/ConnectionIndicator.js @@ -150,7 +150,12 @@ ConnectionIndicator.prototype.generateText = function () { "data-i18n='connectionindicator.address'>" + " N/A"; } else { - var data = {remoteIP: [], localIP:[], remotePort:[], localPort:[]}; + var data = { + remoteIP: [], + localIP:[], + remotePort:[], + localPort:[], + transportType:[]}; for(i = 0; i < this.transport.length; i++) { var ip = ConnectionIndicator.getIP(this.transport[i].ip); var port = ConnectionIndicator.getPort(this.transport[i].ip); @@ -173,6 +178,10 @@ ConnectionIndicator.prototype.generateText = function () { if(data.localPort.indexOf(localPort) == -1) { data.localPort.push(localPort); } + + if(data.transportType.indexOf(this.transport[i].type) == -1) { + data.transportType.push(this.transport[i].type); + } } var local_address_key = "connectionindicator.localaddress"; @@ -215,9 +224,13 @@ ConnectionIndicator.prototype.generateText = function () { transport += ""; transport += localTransport + ""; transport +="" + - "" + - "" + - "" + this.transport[0].type + ""; + "" + + "" + + ConnectionIndicator.getStringFromArray(data.transportType) + + ""; }