From 55bc3df2fce2cc9a7923b37ddb625169c46f6f23 Mon Sep 17 00:00:00 2001 From: Robert Long Date: Tue, 2 Nov 2021 15:26:24 -0700 Subject: [PATCH] Key participants on stream id not user id --- src/Room.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Room.jsx b/src/Room.jsx index 63cb19ce..4b33f18b 100644 --- a/src/Room.jsx +++ b/src/Room.jsx @@ -365,7 +365,7 @@ function InRoomView({ for (const callFeed of userMediaFeeds) { participants.push({ - id: callFeed.userId, + id: callFeed.stream.id, callFeed, isActiveSpeaker: screenshareFeeds.length === 0 @@ -376,7 +376,7 @@ function InRoomView({ for (const callFeed of screenshareFeeds) { participants.push({ - id: callFeed.userId + "-screenshare", + id: callFeed.stream.id, callFeed, isActiveSpeaker: true, });