Skip to content

Commit

Permalink
fix: video shaking when voice activity trigger green border
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohan Totting committed Apr 25, 2024
1 parent 036f91f commit a9238a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/_features/room/components/conference-screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,13 @@ function VideoScreen({
stream.videoElement.style.borderColor = 'green';
stream.videoElement.style.borderWidth = '5px';
stream.videoElement.style.borderStyle = 'solid';
stream.videoElement.style.margin = '-5px';
stream.videoElement.style.boxSizing = 'content-box';
} else {
stream.videoElement.style.borderColor = 'transparent';
stream.videoElement.style.borderWidth = '0';
stream.videoElement.style.borderStyle = 'none';
stream.videoElement.style.margin = '0';
}
};

Expand Down

0 comments on commit a9238a3

Please sign in to comment.