
function callUser(userID) { peerRef.current = createPeer(userID); console.log(peerRef.current); userStream.current.getTracks().forEach(track => peerRef.current.addTrack(track, userStream.current)); }
getting this error also on console log the function addTrack() is not present in peerRef.current
plesae help!