@epicgames-ps/lib-pixelstreamingsignalling-ue5.5 / MatchmakerConnection / MatchmakerConnection
MatchmakerConnection.MatchmakerConnection
This class handles connecting and reconnecting to a matchmaker service and will notify the matchmaker of streamer and player added/removed events that are emitted from the respective registries.
• new MatchmakerConnection(config, streamerRegistry, playerRegistry): MatchmakerConnection
Initializes the matchmaker connection and attempts a connection to the given address and port immediately. Will automatically try to reconnect on connection loss.
| Name | Type | Description |
|---|---|---|
config |
IMatchmakerConfig |
The matchmaker configuration. |
streamerRegistry |
StreamerRegistry |
The signalling server streamer registry. This is used to notify the matchmaker of streamers being added/removed. |
playerRegistry |
PlayerRegistry |
The signalling server player registry. This is used to notify the matchmaker of players being added/removed. |
• config: IMatchmakerConfig