@Shrey
There could be several other reasons for the "Room was deleted" error during your calls:
1. Automatic Cleanup: Some systems automatically delete rooms after a certain period of inactivity or after the call ends to free up resources.
2. Configuration Issues: There might be a configuration setting that specifies a maximum duration for rooms, causing them to be deleted after this time elapses.
3. System Errors: Unforeseen system errors or glitches could inadvertently delete active rooms.
4. Concurrent Session Limits: If there's a limit on the number of concurrent sessions and that limit is reached, the system might terminate the least active rooms.
5. Policy Changes: Changes in the service policy or terms of use might lead to rooms being deleted if they don't comply with the new policies.
6. Manual Intervention: An administrator or another user with sufficient privileges might have deleted the room, either accidentally or deliberately.
7. Resource Constraints: If the system is under heavy load or facing resource constraints, it might terminate some sessions to stabilize.
8. Update or Maintenance: During updates or maintenance, active rooms might be disrupted and deleted as part of the process.
To prevent this from happening in the future, it's important to review the service's documentation, check for any recent changes in the system, and contact support if the issue persists.