Use new socket in webRTC client
- Replace fake socket in WebRCT context in client
- Add ice candidate to websocket
- Add accountID and contactID dependency to webRTC context
GitLab: #28
Change-Id: I01bf41086dc7bd847a74b5670a732d3a6fb95bf9
diff --git a/client/src/pages/CallInterface.tsx b/client/src/pages/CallInterface.tsx
index 14feb43..43d6211 100644
--- a/client/src/pages/CallInterface.tsx
+++ b/client/src/pages/CallInterface.tsx
@@ -42,7 +42,8 @@
queryParams: { video },
} = useUrlParams<CallRouteParams>();
return (
- <WebRTCProvider isVideoOn={video === 'true'}>
+ //TODO: set contactID
+ <WebRTCProvider isVideoOn={video === 'true'} contactId={'contactIdToBeAdded'}>
<CallInterface />
</WebRTCProvider>
);