Files
reflector/server/tests/test_joining_endpoint.py
Igor Loskutov 0c4c1387c1 fix: prevent presence race condition during WebRTC handshake
Add /joining and /joined endpoints to track user join intent before
WebRTC handshake completes. This prevents meetings from being
deactivated while users are still connecting.

- Add pending_joins Redis module with 30s TTL
- Add /joining endpoint (called before WebRTC handshake)
- Add /joined endpoint (called after connection established)
- Check for pending joins before deactivating meetings in worker
- Frontend integration with connectionId per browser tab
2026-02-05 20:58:34 -05:00

11 KiB