Handle ICE state failed
- Handle sending call end on ICE state failed
- Minor fix for startcall function
GitLab: 189
Change-Id: Iae4353614d22b3b6856b58babee7d8feea8c8f82
diff --git a/client/src/components/ConversationView.tsx b/client/src/components/ConversationView.tsx
index 146f049..064efcf 100644
--- a/client/src/components/ConversationView.tsx
+++ b/client/src/components/ConversationView.tsx
@@ -83,10 +83,10 @@
</Typography>
</Stack>
<Stack direction="row" spacing="20px">
- <StartAudioCallButton onClick={() => startCall(conversationId, 'caller')} />
+ <StartAudioCallButton onClick={() => startCall(conversationId)} />
<StartVideoCallButton
onClick={() =>
- startCall(conversationId, 'caller', {
+ startCall(conversationId, {
isVideoOn: true,
})
}