when the code running :
socket.on("receiving returned signal", payload => {
...
item.peer.signal(payload.signal); // i think this line make error
i found error like this :
Uncaught RTCError: Transport channel closed
Uncaught Error: Connection failed.
at makeError
at Peer._onConnectionStateChange
at RTCPeerConnection.Peer._pc.onconnectionstatechange
Please help me.
Thank you