End call when connection is lost
- Automatically end call when WebRTC connection is lost
- Remove state when in call
GitLab: 182
Change-Id: I259eccda82db7304542bef863c429c9313b4145a
diff --git a/client/src/router.tsx b/client/src/router.tsx
index 714adde..7bbddd4 100644
--- a/client/src/router.tsx
+++ b/client/src/router.tsx
@@ -41,8 +41,9 @@
export type CallRouteParams = RouteParams<
{ conversationId?: string },
- { role?: CallRole },
+ Record<string, never>,
{
+ role: CallRole;
isVideoOn?: boolean;
callStatus: CallStatus;
}