Refactor user and room management logic in WebRTC server

- Updated user management to use socketId as the key, allowing multiple socket connections for the same guestId.
- Enhanced room participant handling to ensure correct socketId usage and prevent duplicate joins.
- Improved session end timer logic with clearer conditions for session status checks.
- Refactored functions for finding users and socketIds to streamline user retrieval and enhance readability.
- Removed deprecated session-server.rar file.
This commit is contained in:
2026-02-20 13:40:57 +05:00
parent 0243284da0
commit 02af1d0923
2 changed files with 103 additions and 79 deletions
Binary file not shown.