Group calling enhancements
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
// Copyright 2020 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { ColorType } from './Colors';
|
||||
|
||||
export enum CallMode {
|
||||
None,
|
||||
Direct,
|
||||
Group,
|
||||
None = 'None',
|
||||
Direct = 'Direct',
|
||||
Group = 'Group',
|
||||
}
|
||||
|
||||
// Ideally, we would import many of these directly from RingRTC. But because Storybook
|
||||
@@ -56,6 +58,17 @@ export enum GroupCallJoinState {
|
||||
Joined = 2,
|
||||
}
|
||||
|
||||
export interface GroupCallRemoteParticipantType {
|
||||
avatarPath?: string;
|
||||
color?: ColorType;
|
||||
firstName?: string;
|
||||
hasRemoteAudio: boolean;
|
||||
hasRemoteVideo: boolean;
|
||||
isSelf: boolean;
|
||||
profileName?: string;
|
||||
title: string;
|
||||
}
|
||||
|
||||
// Should match RingRTC's CanvasVideoRenderer
|
||||
interface Ref<T> {
|
||||
readonly current: T | null;
|
||||
|
Reference in New Issue
Block a user