Hide speaking border when presenting/1:1 in group

This commit is contained in:
Jamie Kyle 2023-03-22 10:53:13 -07:00 committed by GitHub
parent fc161a67df
commit f272433b7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 40 additions and 14 deletions

View file

@ -25,6 +25,7 @@ type PropsType = {
) => unknown;
overflowedParticipants: ReadonlyArray<GroupCallRemoteParticipantType>;
remoteAudioLevels: Map<number, number>;
remoteParticipantsCount: number;
};
export function GroupCallOverflowArea({
@ -34,6 +35,7 @@ export function GroupCallOverflowArea({
onParticipantVisibilityChanged,
overflowedParticipants,
remoteAudioLevels,
remoteParticipantsCount,
}: PropsType): JSX.Element | null {
const overflowRef = useRef<HTMLDivElement | null>(null);
const [overflowScrollTop, setOverflowScrollTop] = useState(0);
@ -123,6 +125,7 @@ export function GroupCallOverflowArea({
OVERFLOW_PARTICIPANT_WIDTH / remoteParticipant.videoAspectRatio
)}
remoteParticipant={remoteParticipant}
remoteParticipantsCount={remoteParticipantsCount}
/>
))}
</div>