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 enableIceRestart config option (#17700)

bgrozev70e591dc6de4
diff --git a/config.js b/config.js
index 8714f6ff01..c9d4f815c3 100644
--- a/config.js
+++ b/config.js
@@ -693,6 +693,11 @@ var config = {
// the bridge going down.
// enableForcedReload: true,
+ // Enables in-place ICE restarts of the bridge connection (e.g. after a network change), instead of the
+ // legacy recovery flow which re-creates the whole media session. Requires support in jitsi-videobridge
+ // (default: disabled).
+ // enableIceRestart: false,
+
// Use TURN/UDP servers for the jitsi-videobridge connection (by default
// we filter out TURN/UDP because it is usually not needed since the
// bridge itself is reachable via UDP)
diff --git a/react/features/base/config/configType.ts b/react/features/base/config/configType.ts
index 2da0595808..d597266b1b 100644
--- a/react/features/base/config/configType.ts
+++ b/react/features/base/config/configType.ts
@@ -421,6 +421,7 @@ export interface IConfig {
enableEmailInStats?: boolean;
enableEncodedTransformSupport?: boolean;
enableForcedReload?: boolean;
+ enableIceRestart?: boolean;
enableInsecureRoomNameWarning?: boolean;
/**
* @deprecated Use `lobby.enableChat` instead.
diff --git a/react/features/base/config/configWhitelist.ts b/react/features/base/config/configWhitelist.ts
index 34e85d56a9..340dacd1fe 100644
--- a/react/features/base/config/configWhitelist.ts
+++ b/react/features/base/config/configWhitelist.ts
@@ -142,6 +142,7 @@ export default [
'enableDisplayNameInStats',
'enableEmailInStats',
'enableEncodedTransformSupport',
+ 'enableIceRestart',
'enableInsecureRoomNameWarning',
'enableLobbyChat',
'enableOpusRed',