Skip to main content
  • Default idle timeout: 180 seconds (3 minutes) alone in a session
  • Warning dialog appears at 120 seconds with stay/leave options
  • Auto-terminates after 60 more seconds if no action taken
  • Listen for onSessionTimeout event to handle auto-termination
  • Customize timeout with setIdleTimeoutPeriod(seconds) in CallSettings (v4.1.0+)
Available since v4.1.0

Overview

The Calls SDK automatically handles idle session timeouts to prevent abandoned calls from consuming resources. Default behavior (participant alone in session for 180 seconds):
  1. At 120 seconds: Warning dialog appears with “Stay” or “Leave” options
  2. At 180 seconds: Call auto-terminates if no action taken
Customize the timeout period using setIdleTimeoutPeriod(seconds) in CallSettingsBuilder.

Session Timeout Flow

The onSessionTimeout event fires when the call auto-terminates due to inactivity.

Next Steps

Default Calling

Implement ringing call flows with accept/reject functionality

Standalone Calling

Implement calling without the Chat SDK