diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index 5ff3924..d9598f2 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -197,7 +197,6 @@ export function InCallView({ key={item.id} item={item} getAvatar={renderAvatar} - showName={items.length > 2 || item.focused} audioOutputDevice={audioOutput} audioContext={audioContext} audioDestination={audioDestination} diff --git a/src/video-grid/VideoTile.jsx b/src/video-grid/VideoTile.jsx index 0d58a7b..7001d76 100644 --- a/src/video-grid/VideoTile.jsx +++ b/src/video-grid/VideoTile.jsx @@ -29,12 +29,10 @@ export const VideoTile = forwardRef( isLocal, speaking, audioMuted, - noVideo, videoMuted, screenshare, avatar, name, - showName, mediaRef, onOptionsPress, showOptions, @@ -75,7 +73,7 @@ export const VideoTile = forwardRef( )} )} - {(videoMuted || noVideo) && ( + {videoMuted && ( <>
{avatar} @@ -86,15 +84,12 @@ export const VideoTile = forwardRef( {`${name} is presenting`}
) : ( - (showName || audioMuted || (videoMuted && !noVideo)) && ( -
- {audioMuted && !(videoMuted && !noVideo) && } - {videoMuted && !noVideo && } - {showName && {name}} -
- ) +
+ {audioMuted && !videoMuted && } + {videoMuted && } + {name} +
)} -