Fix InCallView
This commit is contained in:
parent
dec47d21c0
commit
be45c0319e
1 changed files with 3 additions and 3 deletions
|
@ -62,7 +62,7 @@ export function InCallView({
|
|||
}
|
||||
|
||||
for (const callFeed of screenshareFeeds) {
|
||||
const userMediaItem = items.find(
|
||||
const userMediaItem = participants.find(
|
||||
(item) => item.callFeed.userId === callFeed.userId
|
||||
);
|
||||
|
||||
|
@ -70,7 +70,7 @@ export function InCallView({
|
|||
userMediaItem.presenter = true;
|
||||
}
|
||||
|
||||
items.push({
|
||||
participants.push({
|
||||
id: callFeed.stream.id,
|
||||
callFeed,
|
||||
focused: true,
|
||||
|
@ -147,7 +147,7 @@ export function InCallView({
|
|||
{({ item, ...rest }) => (
|
||||
<VideoTileContainer
|
||||
key={item.id}
|
||||
callFeed={item.callFeed}
|
||||
item={item}
|
||||
getAvatar={renderAvatar}
|
||||
{...rest}
|
||||
/>
|
||||
|
|
Loading…
Add table
Reference in a new issue