Skip to content

Commit a5b1bb5

Browse files
committed
fix
1 parent 53531d1 commit a5b1bb5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/room/VideoPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const VideoPreview: FC<Props> = ({
8080
playsInline
8181
// There's no reason for this to be focusable
8282
tabIndex={-1}
83-
disablePictureInPicture={allowPip}
83+
disablePictureInPicture={!allowPip}
8484
/>
8585
{(!videoEnabled || cameraIsStarting) && (
8686
<>

src/tile/MediaView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const MediaView: FC<Props> = ({
8686
}) => {
8787
const { t } = useTranslation();
8888
const [handRaiseTimerVisible] = useSetting(showHandRaisedTimer);
89-
const [showConnectioStats] = useSetting(showConnectionStats);
89+
const [showConnectionStats] = useSetting(showConnectionStats);
9090
const [allowPip] = useSetting(allowPipSetting);
9191

9292
const avatarSize = Math.round(Math.min(targetWidth, targetHeight) / 2);
@@ -141,7 +141,7 @@ export const MediaView: FC<Props> = ({
141141
{waitingForMedia && (
142142
<div className={styles.status}>
143143
{t("video_tile.waiting_for_media")}
144-
{showConnectioStats ? " " + rtcBackendIdentity : ""}
144+
{showConnectionStats ? " " + rtcBackendIdentity : ""}
145145
</div>
146146
)}
147147
{(audioStreamStats || videoStreamStats) && (

0 commit comments

Comments
 (0)