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}
|
ref={tileRef}
|
||||||
data-testid="videoTile"
|
data-testid="videoTile"
|
||||||
>
|
>
|
||||||
{!sfuParticipant.isCameraEnabled && (
|
{content === TileContent.UserMedia && !sfuParticipant.isCameraEnabled && (
|
||||||
<>
|
<>
|
||||||
<div className={styles.videoMutedOverlay} />
|
<div className={styles.videoMutedOverlay} />
|
||||||
{getAvatar(data.member, targetWidth, targetHeight)}
|
{getAvatar(data.member, targetWidth, targetHeight)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{!false &&
|
{!false &&
|
||||||
(sfuParticipant.isScreenShareEnabled ? (
|
(content === TileContent.ScreenShare ? (
|
||||||
<div className={styles.presenterLabel}>
|
<div className={styles.presenterLabel}>
|
||||||
<span>{t("{{name}} is presenting", { name })}</span>
|
<span>{t("{{name}} is presenting", { name })}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue