Hide video overlays if there is a connection issue

This commit is contained in:
Adam Shiervani 2025-10-14 22:44:37 +02:00
parent 2112fe21f6
commit 2f51cba03a
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ export default function WebRTCVideo({ hasConnectionIssues }: { hasConnectionIssu
},
)}
/>
{peerConnection?.connectionState == "connected" && (
{peerConnection?.connectionState == "connected" && !hasConnectionIssues && (
<div
style={{ animationDuration: "500ms" }}
className="animate-slideUpFade pointer-events-none absolute inset-0 flex items-center justify-center"