Open fakhripraya opened 1 year ago
it seems like the browser i used was the problem, i used google chrome v107
i tested this on mozilla and it worked, i saw your video using chrome, maybe its because the current version of the chrome don't support the current webRTC API yet
some said we need SSL in order for it to work, haven't tested it but ill test it later and update here
hi chaim
i followed your tutorial and the video chat seems to not appearing for the other end i suspect it happened because the e.candidate on handleICECandidateEvent always null
function handleICECandidateEvent(e) { console.log(e) if (e.candidate) { console.log(e) const payload = { target: otherUser.current, candidate: e.candidate, } socketRef.current.emit("ice-candidate", payload); } }
i keep getting null on e.candidate property whenever the onicecandidate event fired, the code is exactly simillar to what is in the tutorial, what am i missing?