Key participants on stream id not user id

This commit is contained in:
Robert Long 2021-11-02 15:26:24 -07:00
parent 90f9cb9501
commit 55bc3df2fc

View File

@ -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,
});