> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 游戏串流延迟补偿概述

> 使用 XGameStreaming API 应用延迟补偿技术，让单人和多人游戏在较高网络延迟下仍能保持公平。

使用本主题为通过 XBOX 游戏串流游玩的游戏应用延迟补偿。

游戏串流在用户与运行您游戏的 XBOX 主机之间增加了延迟。Microsoft 通过在世界各地的 Azure 数据中心部署服务器并将用户匹配到最近的服务器来最大限度地减少网络延迟。

然而，对于从另一房间的 XBOX 主机进行串流的用户来说，延迟可能会显著更高。您可以使用一组 API 改善网络延迟较高的用户在串流时体验您游戏的方式。

许多 XBOX 多人游戏已经包含延迟补偿技术。这些技术包括旨在使游戏即使在存在延迟的情况下也感觉公平的调整。XBOX 游戏串流 API 为单人和 XBOX 多人游戏都提供了类似的延迟补偿技术。

有关延迟补偿的更多信息，请参阅[游戏串流延迟补偿深入探讨](/build/core-features/common/game-streaming/game-streaming-latency-compensation-deep-dive)。

## 参考 API 文档

* [XGameStreaming（API 内容）](/reference/system/xgamestreaming/xgamestreaming_members)

## 另请参阅

[游戏串流延迟测量](/build/core-features/common/game-streaming/game-streaming-latency-measurement)
[在测试游戏时模拟延迟](/build/core-features/common/game-streaming/game-streaming-simulate-latency-while-testing)
[XGameStreaming（API 内容）](/reference/system/xgamestreaming/xgamestreaming_members#Latency)


## Related topics

- [游戏串流延迟补偿深入探讨](/zh-CN/build/core-features/common/game-streaming/game-streaming-latency-compensation-deep-dive.md)
- [游戏串流延迟测量](/zh-CN/build/core-features/common/game-streaming/game-streaming-latency-measurement.md)
- [针对 XBOX 游戏串流优化您的游戏](/zh-CN/build/core-features/common/game-streaming/game-streaming-optimizing-your-game.md)
- [XBOX Cloud Gaming 触控与流式传输支持](/zh-CN/build/core-features/common/game-streaming/index.md)
- [XGameStreaming](/zh-CN/reference/system/xgamestreaming/xgamestreaming_members.md)
