MediaSFU Shared
    Preparing search index...

    Function getPresenceCheck

    • Whether the server is currently asking if you are still there.

      This matters more headlessly than it looks. On an idle room the server emits meetingStillThere, and the SDK opens a modal that counts down and then emits disconnectUser. With returnUI={false} that modal is still mounted — inside a root collapsed to 0×0 — so the countdown runs invisibly and the session is dropped with nothing shown and nothing to click.

      Poll this (from onMediaChanged, or a timer) and call confirmStillHere to stay in the room.

      Parameters

      Returns PresenceCheck