WebRTCMultiplayer.addPeer

Add a new peer to the mesh with the given peer_id. The WebRTCPeerConnection must be in state constant WebRTCPeerConnection.STATE_NEW. Three channels will be created for reliable, unreliable, and ordered transport. The value of unreliable_lifetime will be passed to the maxPacketLifetime option when creating unreliable and ordered channels (see WebRTCPeerConnection.createDataChannel).

struct WebRTCMultiplayer
@nogc nothrow
GodotError
addPeer

Meta