Partager via


XblMultiplayerPeerToHostRequirements

Represents requirements for each connection between a host candidate and session members.

Syntax

typedef struct XblMultiplayerPeerToHostRequirements {  
    uint64_t LatencyMaximum;  
    uint64_t BandwidthDownMinimumInKbps;  
    uint64_t BandwidthUpMinimumInKbps;  
    XblMultiplayerMetrics HostSelectionMetric;  
} XblMultiplayerPeerToHostRequirements  

Members

LatencyMaximum
Type: uint64_t

The maximum latency, in milliseconds, of the upstream (peer-to-host) connection.

BandwidthDownMinimumInKbps
Type: uint64_t

The minimum bandwidth, in kilobits per second, of the downstream (host-to-peer) connection.

BandwidthUpMinimumInKbps
Type: uint64_t

The minimum bandwidth, in kilobits per second, of the upstream (peer-to-host) connection.

HostSelectionMetric
Type: XblMultiplayerMetrics

The metric used to select the host.

Remarks

For more information, see Target session initialization and QoS.

Member of

XblMultiplayerSessionConstants

Argument of

XblMultiplayerSessionConstantsSetPeerToHostRequirements

Requirements

Header: multiplayer_c.h

See also

multiplayer_c