-
Notifications
You must be signed in to change notification settings - Fork 46
Description
When the user changes microphone or camera permissions in system settings, the app restarts (expected behavior on iOS/Android). After the restart, I want the user to automatically rejoin the ongoing call.
The problem is: when rejoining, the SDK creates a new session instead of continuing the old one. This causes the same user to appear twice in the call — sometimes disappearing after a short time, but other times staying stuck in the call.
From looking at the source code, I see that the join method always creates a new SFU session with rejoin: false. Since I can’t control the SessionID or CallState, I’m wondering if there’s any way to set rejoin to true so that the SDK treats it as a proper rejoin.
Final goal: rejoin the existing call after app restart without creating duplicate participants.