Fix leaving call with screenshare active

This commit is contained in:
Robert Long
2021-12-16 10:10:55 -08:00
parent 3157cf65ef
commit 4debc9e3f5

View File

@@ -400,8 +400,11 @@ function InRoomView({
const participant = participants.find(
(p) => p.usermediaCallFeed.userId === callFeed.userId
);
if (participant) {
participant.screenshareCallFeed = callFeed;
}
}
return participants;
}, [userMediaFeeds, activeSpeaker, screenshareFeeds]);