diff --git a/lang/main.json b/lang/main.json
index aefe8a567..2d70dd132 100644
--- a/lang/main.json
+++ b/lang/main.json
@@ -199,7 +199,8 @@
"transport_plural": "Transports:",
"bandwidth": "Estimated bandwidth:",
"na": "Come back here for connection information once the conference starts",
- "peer_to_peer": " (p2p)"
+ "peer_to_peer": " (p2p)",
+ "turn": " (turn)"
},
"notify": {
"disconnected": "disconnected",
diff --git a/react/features/connection-stats/components/ConnectionStatsTable.js b/react/features/connection-stats/components/ConnectionStatsTable.js
index adec29077..ccc1c842d 100644
--- a/react/features/connection-stats/components/ConnectionStatsTable.js
+++ b/react/features/connection-stats/components/ConnectionStatsTable.js
@@ -380,14 +380,26 @@ class ConnectionStatsTable extends Component {
}
// All of the transports should be either P2P or JVB
- const isP2P = transport.length ? transport[0].p2p : false;
+ let isP2P = false, isTURN = false;
+
+ if (transport.length) {
+ isP2P = transport[0].p2p;
+ isTURN = transport[0].localCandidateType === 'relay'
+ || transport[0].remoteCandidateType === 'relay';
+ }
+
+ let additionalData = null;
+
+ if (isP2P) {
+ additionalData = isTURN
+ ? { t('connectionindicator.turn') }
+ : { t('connectionindicator.peer_to_peer') };
+ }
// First show remote statistics, then local, and then transport type.
const tableRowConfigurations = [
{
- additionalData: isP2P
- ? { t('connectionindicator.peer_to_peer') }
- : null,
+ additionalData,
data: data.remoteIP,
key: 'remoteaddress',
label: t('connectionindicator.remoteaddress',