Open Tejas-r281 opened 3 years ago
same error plz
It doesn't cause any problem.
It doesn't cause any problem.
my local host is not showing dual window when I open link in two windows. can you help?
Same problem. No solution?
not showing dual window
socket.on('user-connected',(user_id) => { console.log("Hey someone just Joined" + user_id); setTimeout(connectToNewUser,1000,user_id,stream); //connectToNewUser(user_id,stream); });
wrap connectToNewUser function with a setTimeOut function as stream object is null if we don't use it. Navigator promise takes time to create a stream object and we are calling connectToNewUser function before stream has been created!
index.js:83 WebSocket connection to 'ws://localhost:3030/socket.io/?EIO=3&transport=websocket&sid=gOQKcg43CIzgEjI6AAAE' failed: Invalid frame header