Add screensharing behind a feature flag
This commit is contained in:

committed by
Scott Nonnenberg

parent
7c7f7ee5a0
commit
ceffc2380c
@@ -10,16 +10,31 @@ export enum CallMode {
|
||||
Group = 'Group',
|
||||
}
|
||||
|
||||
export type PresentableSource = {
|
||||
appIcon?: string;
|
||||
id: string;
|
||||
name: string;
|
||||
thumbnail: string;
|
||||
};
|
||||
|
||||
export type PresentedSource = {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
|
||||
type ActiveCallBaseType = {
|
||||
conversation: ConversationType;
|
||||
hasLocalAudio: boolean;
|
||||
hasLocalVideo: boolean;
|
||||
isInSpeakerView: boolean;
|
||||
isSharingScreen?: boolean;
|
||||
joinedAt?: number;
|
||||
pip: boolean;
|
||||
presentingSource?: PresentedSource;
|
||||
presentingSourcesAvailable?: Array<PresentableSource>;
|
||||
settingsDialogOpen: boolean;
|
||||
showNeedsScreenRecordingPermissionsWarning?: boolean;
|
||||
showParticipantsList: boolean;
|
||||
showSafetyNumberDialog?: boolean;
|
||||
};
|
||||
|
||||
type ActiveDirectCallType = ActiveCallBaseType & {
|
||||
@@ -30,6 +45,9 @@ type ActiveDirectCallType = ActiveCallBaseType & {
|
||||
remoteParticipants: [
|
||||
{
|
||||
hasRemoteVideo: boolean;
|
||||
presenting: boolean;
|
||||
title: string;
|
||||
uuid?: string;
|
||||
}
|
||||
];
|
||||
};
|
||||
@@ -100,6 +118,8 @@ export type GroupCallRemoteParticipantType = ConversationType & {
|
||||
demuxId: number;
|
||||
hasRemoteAudio: boolean;
|
||||
hasRemoteVideo: boolean;
|
||||
presenting: boolean;
|
||||
sharingScreen: boolean;
|
||||
speakerTime?: number;
|
||||
videoAspectRatio: number;
|
||||
};
|
||||
|
Reference in New Issue
Block a user