Configure CometChat Calls SDK v5 idle timeout on iOS to handle inactive participants and call session cleanup.
Configure automatic session termination when a user is alone in a call. Idle timeout helps manage resources by ending sessions that have no active participants.
When a user is the only participant in a call session, the idle timeout countdown begins. If no other participant joins before the timeout expires, the session automatically ends and the onSessionTimedOut callback is triggered.The timer also restarts when other participants leave and only one user remains in the call.This is useful for:
Preventing abandoned call sessions from running indefinitely
Managing server resources efficiently
Providing a better user experience when the other party doesn’t join