This commit is contained in:
Valere
2025-10-27 15:59:01 +01:00
parent 3ecffccd9e
commit 0309ceb6aa
2 changed files with 6 additions and 4 deletions

View File

@@ -111,7 +111,9 @@ export interface ActiveCallProps
extends Omit<InCallViewProps, "vm" | "livekitRoom" | "connState"> {
e2eeSystem: EncryptionSystem;
// TODO refactor those reasons into an enum
onLeft: (reason: "user" | "timeout" | "decline" | "allOthersLeft") => void;
onLeft: (
reason: "user" | "timeout" | "decline" | "allOthersLeft" | "error",
) => void;
}
export const ActiveCall: FC<ActiveCallProps> = (props) => {