The origin of the server running the multiplayer connection service.
Optional
portSet to undefined
or false
to disable port scanning. Set to true
to enable port
scanning. Set to an options object to configure port scanning.
It is useful to enable this so that clients can find the port that your multiplayer server is
running on in case it must change. Note that port scanning will not be active if your
serviceOrigin
does not contain a port.
Optional
roomHow long to wait before fetching the list of rooms again.
Optional
stunOptional stun server URLs to help with routing WebRTC connections. This is entirely optional, but might help with clients attempting to establish connections to each other.
Multiplayer mode parameters for MultiplayerController.