Filter out local streams
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
0720005c93
commit
b57ef84e66
1 changed files with 5 additions and 3 deletions
|
@ -87,9 +87,11 @@ export function AudioContainer({
|
|||
}: AudioContainerProps): JSX.Element {
|
||||
return (
|
||||
<>
|
||||
{items.map((item) => (
|
||||
<AudioForParticipant key={item.id} item={item} {...rest} />
|
||||
))}
|
||||
{items
|
||||
.filter((item) => !item.isLocal)
|
||||
.map((item) => (
|
||||
<AudioForParticipant key={item.id} item={item} {...rest} />
|
||||
))}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue