Skip to content

Fix multiplying users in room#4

Draft
Frenzyz wants to merge 1 commit into
mainfrom
cursor/fix-multiplying-users-in-room-e3ca
Draft

Fix multiplying users in room#4
Frenzyz wants to merge 1 commit into
mainfrom
cursor/fix-multiplying-users-in-room-e3ca

Conversation

@Frenzyz

@Frenzyz Frenzyz commented Jul 31, 2025

Copy link
Copy Markdown
Owner

Fixes user multiplication in WebRTC calls by ensuring single connections and proper user management.

The previous implementation allowed multiple socket connections per user, generated accumulating reconnection IDs, and lacked proper server-side cleanup of old user instances, leading to users appearing multiple times in a room. This PR addresses these by enforcing single socket connections, using clean base IDs for reconnections, implementing robust server-side user cleanup, adding reconnection guards, and ensuring the WebRTC service is a singleton.


Open in Cursor Open in Web

Learn more about Cursor Agents

…ections

Co-authored-by: aadister16 <aadister16@gmail.com>
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify

netlify Bot commented Jul 31, 2025

Copy link
Copy Markdown

Deploy Preview for mtcha ready!

Name Link
🔨 Latest commit c6a359a
🔍 Latest deploy log https://app.netlify.com/projects/mtcha/deploys/688ac73d8f983a0008a05114
😎 Deploy Preview https://deploy-preview-4--mtcha.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants