Fix leaving call with screenshare active
This commit is contained in:
@@ -400,7 +400,10 @@ function InRoomView({
|
|||||||
const participant = participants.find(
|
const participant = participants.find(
|
||||||
(p) => p.usermediaCallFeed.userId === callFeed.userId
|
(p) => p.usermediaCallFeed.userId === callFeed.userId
|
||||||
);
|
);
|
||||||
participant.screenshareCallFeed = callFeed;
|
|
||||||
|
if (participant) {
|
||||||
|
participant.screenshareCallFeed = callFeed;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return participants;
|
return participants;
|
||||||
|
|||||||
Reference in New Issue
Block a user