Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat: add iceConnected to connection-stats response

Hugo Lavernheda1b2a3c510f
diff --git a/modules/API/API.js b/modules/API/API.js
index 048cf51da5..4c2b9bbb45 100755
--- a/modules/API/API.js
+++ b/modules/API/API.js
@@ -1049,7 +1049,10 @@ function initCommands() {
break;
}
case 'connection-stats': {
- callback(APP.conference.getStats());
+ callback({
+ ...APP.conference.getStats(),
+ iceConnected: APP.conference.getConnectionState() === 'connected'
+ });
break;
}
case 'deployment-info':