Learn the roles and responsibilities of host and joining players in Relay sessions.
読み終わるまでの所要時間 1 分最終更新 2日前
A player is an end-user who is using a game client and wants to play in a session. Because players can only communicate with other players within the same session, there are no globally unique player identifiers.There are two types of players:
Host players are players who create a session and then generate a join code to share with other players. There's only one host player per session. A host player receives its connection data after making an allocation request.
Joining players
Joining players are players who receive the join code from the host player and then use the join code to join the game match. Joining players receive their own connection data, and the host's connection data, after making a join request using the join code. These connection data are used to request a connection to the host through the Relay server.
Maximum connections
The maximum number of players that can join and connect to the host in a session depends on the maximum number of connections configured by the host when they make the allocation request.Additional players can join the Relay server and connect to the host, as long as the number of connected players remains under the maximum allowed connections. Lobby and Relay both allow for a maximum player value of 150.