Add paginated calling grid for group calls

This commit is contained in:
trevor-signal 2023-11-13 09:56:48 -05:00 committed by GitHub
parent 9c3d404c82
commit cf5b3f78b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 1237 additions and 476 deletions

View file

@ -11,10 +11,12 @@ export enum CallMode {
Group = 'Group',
}
// Speaker and Presentation has the same UI, but Presentation mode will switch
// to Grid mode when the presentation is over.
// Speaker and Presentation mode have the same UI, but Presentation is only set
// automatically when someone starts to present, and will revert to the previous view mode
// once presentation is complete
export enum CallViewMode {
Grid = 'Grid',
Paginated = 'Paginated',
Overflow = 'Overflow',
Speaker = 'Speaker',
Presentation = 'Presentation',
}
@ -38,6 +40,7 @@ export type ActiveCallBaseType = {
hasLocalVideo: boolean;
localAudioLevel: number;
viewMode: CallViewMode;
viewModeBeforePresentation?: CallViewMode;
isSharingScreen?: boolean;
joinedAt: number | null;
outgoingRing: boolean;