Fix leaving call with screenshare active
This commit is contained in:
parent
3157cf65ef
commit
4debc9e3f5
1 changed files with 4 additions and 1 deletions
|
|
@ -400,7 +400,10 @@ function InRoomView({
|
|||
const participant = participants.find(
|
||||
(p) => p.usermediaCallFeed.userId === callFeed.userId
|
||||
);
|
||||
participant.screenshareCallFeed = callFeed;
|
||||
|
||||
if (participant) {
|
||||
participant.screenshareCallFeed = callFeed;
|
||||
}
|
||||
}
|
||||
|
||||
return participants;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue