DEV Community

Discussion on: Video Chatting and Screen Sharing with React, Node, WebRTC(peerjs)

Collapse
 
gorayaa66 profile image
gorayaa66 • Edited

Hey i have just cloned you both repo's, but i am getting peer id error.
My peer is running on port 5002.
Can you please help me sort out this.
this is your deployed request: wss://vichat-peerjs.herokuapp.com/peerjs?key=peerjs&id=a6bb940c-bf96-4251-a8a3-55b358f91a69&token=1ga5gbsgsn7
but in my case it is different even if peer is running
undefined/peerjs/id?ts=16191558869..., this is what i am receiving

Collapse
 
gorayaa66 profile image
gorayaa66

here is the error screenshot.

Collapse
 
arjhun777 profile image
Arjhun777

Try to use the endpoint directly when initializing peer connection

Collapse
 
arjhun777 profile image
Arjhun777

Try to use endpoint directly when initializing the peers connection