Fix missing tile names

This commit is contained in:
Daniel Abramov 2023-06-02 20:07:15 +02:00
parent b1d7631994
commit 786c584ae2

View file

@ -70,16 +70,9 @@ export const VideoTile = forwardRef<HTMLDivElement, Props>(
</div> </div>
) : ( ) : (
<div className={classNames(styles.infoBubble, styles.memberName)}> <div className={classNames(styles.infoBubble, styles.memberName)}>
{ {microphoneMuted && <MicMutedIcon />}
/* If the user is speaking, it's safe to say they're unmuted.
Mute state is currently sent over to-device messages, which
aren't quite real-time, so this is an important kludge to make
sure no one appears muted when they've clearly begun talking. */
microphoneMuted &&
sfuParticipant.isCameraEnabled &&
!sfuParticipant.isSpeaking && <MicMutedIcon />
}
{!sfuParticipant.isCameraEnabled && <VideoMutedIcon />} {!sfuParticipant.isCameraEnabled && <VideoMutedIcon />}
<span title={name}>{name}</span>
</div> </div>
))} ))}
<VideoTrack participant={sfuParticipant} source={Track.Source.Camera} /> <VideoTrack participant={sfuParticipant} source={Track.Source.Camera} />