Any ideas, why the Peer 2 peer is not working, it was working OK earlier; is the Scirra server down?
Is it allowed to have multiple players inside same WIFI or does it cause issues?
Logged in as 'anonymous', joining room 'XXX'... c3runtime.js:1660 joining c3runtime.js:1660 Joined the chat room as the host main.js:214 Peer 'NV71' datachannel 'o' error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …} m.onerror @ main.js:214 main.js:283 [Multiplayer] Peer 'anonymous2' (NV71) error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …} _OnPeerError @ main.js:283 m.onerror @ main.js:214 main.js:214 Peer 'NV71' datachannel 'r' error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …} m.onerror @ main.js:214 main.js:283 [Multiplayer] Peer 'anonymous2' (NV71) error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …} _OnPeerError @ main.js:283 m.onerror @ main.js:214 main.js:214 Peer 'NV71' datachannel 'u' error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …} m.onerror @ main.js:214 main.js:283 [Multiplayer] Peer 'anonymous2' (NV71) error: RTCErrorEvent {isTrusted: true, error: RTCError: Transport channel closed, type: "error", target: RTCDataChannel, currentTarget: RTCDataChannel, …} _OnPeerError @ main.js:283 m.onerror @ main.js:214
Develop games in your browser. Powerful, performant & highly capable.
Peers connect directly to each other - the signalling server is not involved when peers are connecting to one another, it acts only as a meeting place. Peers cannot always directly connect if the network configuration is too restrictive. This is explained in more detail in the multiplayer tutorial series.