Skip to content

Rejoin a call without duplication #1067

@qu0cquyen

Description

@qu0cquyen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions