Raise Hand in Group Calls
This commit is contained in:
parent
45aeaeefd4
commit
d6db3f7943
33 changed files with 1050 additions and 51 deletions
|
@ -38,10 +38,12 @@ const createProps = (
|
|||
isBlocked = false,
|
||||
hasRemoteAudio = false,
|
||||
presenting = false,
|
||||
isHandRaised = false,
|
||||
}: {
|
||||
isBlocked?: boolean;
|
||||
hasRemoteAudio?: boolean;
|
||||
presenting?: boolean;
|
||||
isHandRaised?: boolean;
|
||||
} = {}
|
||||
): PropsType => ({
|
||||
getFrameBuffer,
|
||||
|
@ -55,6 +57,7 @@ const createProps = (
|
|||
demuxId: 123,
|
||||
hasRemoteAudio,
|
||||
hasRemoteVideo: true,
|
||||
isHandRaised,
|
||||
presenting,
|
||||
sharingScreen: false,
|
||||
videoAspectRatio: 1.3,
|
||||
|
@ -119,6 +122,23 @@ export function Speaking(): JSX.Element {
|
|||
);
|
||||
}
|
||||
|
||||
export function HandRaised(): JSX.Element {
|
||||
return (
|
||||
<GroupCallRemoteParticipant
|
||||
{...createProps(
|
||||
{
|
||||
isInPip: false,
|
||||
height: 120,
|
||||
left: 0,
|
||||
top: 0,
|
||||
width: 120,
|
||||
},
|
||||
{ isHandRaised: true }
|
||||
)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
export function IsInPip(): JSX.Element {
|
||||
return (
|
||||
<GroupCallRemoteParticipant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue