-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Bug: enableSFU: true default in v1.2.20 causes immediate disconnection loop
Problem
Upgrading from v1.2.11 to v1.2.20 breaks all connections. The client connects then immediately disconnects in a loop.
Reproduction
const client = new SimliClient();
client.Initialize({
faceID: 'my-face-id',
handleSilence: true,
maxSessionLength: 3600,
maxIdleTime: 600,
enableConsoleLogs: false,
videoRef: videoElement,
audioRef: audioElement,
session_token: 'valid-token',
});
await client.start(iceServers);
// Immediately disconnects after "connected" eventConsole Output
SIMLI: [email protected] initialized
START
connected
disconnected ← Immediate disconnect
START
connected
disconnected ← Loops forever
Root Cause
v1.2.20 defaults enableSFU: true which is incompatible/broken.
Workaround
client.Initialize({
// ... other config
enableSFU: false // Forces old MCU mode - works perfectly
});Expected
- SFU mode should work without disconnections, OR
- Document breaking change in release notes, OR
- Default to
enableSFU: falsefor backward compatibility
Environment
- Package:
[email protected] - Browsers: Chrome, Safari, Firefox (all affected)
- Works fine with: v1.2.11 or v1.2.20 +
enableSFU: false
Metadata
Metadata
Assignees
Labels
No labels