Skip to content

Fix multiplying users in call#2

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

Fix multiplying users in call#2
Frenzyz wants to merge 1 commit into
mainfrom
cursor/fix-multiplying-users-in-call-d58a

Conversation

@Frenzyz

@Frenzyz Frenzyz commented Jul 31, 2025

Copy link
Copy Markdown
Owner

Refactor WebRTC participant tracking to ensure each user appears only once.

Previously, multiple event handlers (room-participants, user-joined, onStreamAdded) independently added participants to the UI, causing users to multiply, especially during reconnections. This fix establishes onStreamAdded as the single source of truth for UI updates and adds deduplication.


Open in Cursor Open in Web

Learn more about Cursor Agents

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 218d5f3
🔍 Latest deploy log https://app.netlify.com/projects/mtcha/deploys/688ac709fee85300084bb4d9
😎 Deploy Preview https://deploy-preview-2--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