Skip to main content
The idle timeout feature automatically ends a call session when you’re the only participant remaining. This prevents sessions from running indefinitely and consuming resources.

How It Works

  1. When all other participants leave, a countdown timer starts
  2. After the initial timeout period, a prompt is shown to the user
  3. If the user doesn’t respond, the session ends after the second timeout period

Configure Timeout Periods

Set the timeout periods when joining a session:

Session Timeout Event

Listen for when the session times out:

Disable Idle Timeout

To effectively disable the idle timeout, set very long timeout periods:
The minimum value for idleTimeoutPeriodAfterPrompt is 60 seconds (60000 milliseconds).