Merge pull request #1114 from robintown/screenshare-tiles
Fix tiles having the wrong states during screensharing
This commit is contained in:
commit
89768de5e0
1 changed files with 2 additions and 2 deletions
|
@ -100,14 +100,14 @@ export const VideoTile = forwardRef<HTMLDivElement, Props>(
|
|||
ref={tileRef}
|
||||
data-testid="videoTile"
|
||||
>
|
||||
{!sfuParticipant.isCameraEnabled && (
|
||||
{content === TileContent.UserMedia && !sfuParticipant.isCameraEnabled && (
|
||||
<>
|
||||
<div className={styles.videoMutedOverlay} />
|
||||
{getAvatar(data.member, targetWidth, targetHeight)}
|
||||
</>
|
||||
)}
|
||||
{!false &&
|
||||
(sfuParticipant.isScreenShareEnabled ? (
|
||||
(content === TileContent.ScreenShare ? (
|
||||
<div className={styles.presenterLabel}>
|
||||
<span>{t("{{name}} is presenting", { name })}</span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue