Click grid raised hand participant to open queue
This commit is contained in:
parent
9a08070262
commit
96d5e97318
5 changed files with 82 additions and 33 deletions
|
@ -67,6 +67,7 @@ type PropsType = {
|
|||
speakerHeight: number
|
||||
) => void;
|
||||
remoteAudioLevels: Map<number, number>;
|
||||
onClickRaisedHand?: () => void;
|
||||
};
|
||||
|
||||
enum VideoRequestMode {
|
||||
|
@ -114,6 +115,7 @@ export function GroupCallRemoteParticipants({
|
|||
remoteParticipants,
|
||||
setGroupCallVideoRequest,
|
||||
remoteAudioLevels,
|
||||
onClickRaisedHand,
|
||||
}: PropsType): JSX.Element {
|
||||
const [gridDimensions, setGridDimensions] = useState<Dimensions>({
|
||||
width: 0,
|
||||
|
@ -342,6 +344,7 @@ export function GroupCallRemoteParticipants({
|
|||
key={tile.demuxId}
|
||||
getFrameBuffer={getFrameBuffer}
|
||||
getGroupCallVideoFrameSource={getGroupCallVideoFrameSource}
|
||||
onClickRaisedHand={onClickRaisedHand}
|
||||
height={gridParticipantHeight}
|
||||
i18n={i18n}
|
||||
audioLevel={remoteAudioLevels.get(tile.demuxId) ?? 0}
|
||||
|
@ -509,6 +512,7 @@ export function GroupCallRemoteParticipants({
|
|||
getGroupCallVideoFrameSource={getGroupCallVideoFrameSource}
|
||||
i18n={i18n}
|
||||
isCallReconnecting={isCallReconnecting}
|
||||
onClickRaisedHand={onClickRaisedHand}
|
||||
onParticipantVisibilityChanged={onParticipantVisibilityChanged}
|
||||
overflowedParticipants={overflowedParticipants}
|
||||
remoteAudioLevels={remoteAudioLevels}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue