Fix speaking indicators showing up when they shouldn't
This fixes two edge cases: - Screenshares should never have a speaking indicator - Speaking indicators should be hidden in 1:1 calls
This commit is contained in:
parent
86ab2b4287
commit
1b3539e873
2 changed files with 22 additions and 3 deletions
|
|
@ -289,6 +289,7 @@ export function InCallView({
|
|||
targetWidth={bounds.width}
|
||||
key={maximisedParticipant.id}
|
||||
data={maximisedParticipant.data}
|
||||
showSpeakingIndicator={false}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
@ -300,7 +301,11 @@ export function InCallView({
|
|||
disableAnimations={prefersReducedMotion || isSafari}
|
||||
>
|
||||
{(props) => (
|
||||
<VideoTile {...props} ref={props.ref as Ref<HTMLDivElement>} />
|
||||
<VideoTile
|
||||
showSpeakingIndicator={items.length > 2}
|
||||
{...props}
|
||||
ref={props.ref as Ref<HTMLDivElement>}
|
||||
/>
|
||||
)}
|
||||
</Grid>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue