Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat: Adds TURN indication.
George Politis62613ff02ebf
diff --git a/lang/main.json b/lang/main.jsonindex aefe8a5675..2d70dd1329 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.jsindex adec290772..ccc1c842db 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+ ? <span>{ t('connectionindicator.turn') }</span>+ : <span>{ t('connectionindicator.peer_to_peer') }</span>;+ }// First show remote statistics, then local, and then transport type.const tableRowConfigurations = [{- additionalData: isP2P- ? <span>{ t('connectionindicator.peer_to_peer') }</span>- : null,+ additionalData,data: data.remoteIP,key: 'remoteaddress',label: t('connectionindicator.remoteaddress',