We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5e41ce commit fdce97aCopy full SHA for fdce97a
apps/frontend/src/components/VideoPanel/VideoPanel.tsx
@@ -43,7 +43,7 @@ const VideoPanel = () => {
43
audio: true,
44
})
45
.then((stream) => {
46
- if (peerInstance) {
+ if (peerInstance && partnerId) {
47
const call = peerInstance?.call(partnerId, stream);
48
setCallInstance(call);
49
setIsCalling(true); // Set isCalling as true since it is the initiator
0 commit comments