> ## 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 Game Streaming 遊玩的遊戲。

遊戲串流會在使用者與執行您遊戲的 XBOX 主機之間增加延遲。Microsoft 藉由在全球各地的 Azure 資料中心部署伺服器，並將使用者配對到距離最近的伺服器，以將網路延遲降至最低。

不過，對於從另一個房間的 XBOX 主機進行串流的使用者而言，延遲可能會明顯較高。您可以使用一組 API，改善網路延遲較高的使用者在串流時體驗您遊戲的方式。

許多 XBOX 多人遊戲已經包含延遲補償技術。這些技術包括旨在讓遊戲即使在有延遲的情況下也感覺公平的調整。XBOX Game Streaming API 可為單人和 XBOX 多人遊戲啟用類似的延遲補償技術。

如需延遲補償的詳細資訊，請參閱[遊戲串流延遲補償深入探討](/zh-TW/build/core-features/common/game-streaming/game-streaming-latency-compensation-deep-dive)。

## 參考 API 文件

* [XGameStreaming (API 內容)](/zh-TW/reference/system/xgamestreaming/xgamestreaming_members)

## 另請參閱

[遊戲串流延遲測量](/zh-TW/build/core-features/common/game-streaming/game-streaming-latency-measurement)
[在測試遊戲時模擬延遲](/zh-TW/build/core-features/common/game-streaming/game-streaming-simulate-latency-while-testing)
[XGameStreaming (API 內容)](/zh-TW/reference/system/xgamestreaming/xgamestreaming_members#Latency)


## Related topics

- [游戏串流延迟测量](/zh-CN/build/core-features/common/game-streaming/game-streaming-latency-measurement.md)
- [游戏串流延迟补偿深入探讨](/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-compensation-overview.md)
- [XBOX 主機遊戲的認證測試 XBOX 需求](/zh-TW/publishing/certification/console-cert-tested-requirements.md)
- [游戏串流自定义分辨率最佳实践](/zh-CN/build/core-features/common/game-streaming/game-streaming-custom-resolution-best-practices.md)
