How It Works
- When all other participants leave, a countdown timer starts
- After the initial timeout period, a prompt is shown to the user
- 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:| Property | Type | Default | Description |
|---|---|---|---|
idleTimeoutPeriodBeforePrompt | Number | 60000 | Time in milliseconds before showing the timeout prompt |
idleTimeoutPeriodAfterPrompt | Number | 120000 | Time in milliseconds after the prompt before ending the 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).