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,7 +87,9 @@ export function AudioContainer({
|
||||||
}: AudioContainerProps): JSX.Element {
|
}: AudioContainerProps): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{items.map((item) => (
|
{items
|
||||||
|
.filter((item) => !item.isLocal)
|
||||||
|
.map((item) => (
|
||||||
<AudioForParticipant key={item.id} item={item} {...rest} />
|
<AudioForParticipant key={item.id} item={item} {...rest} />
|
||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Reference in a new issue