Add ChileCentral server

This commit is contained in:
redphx
2025-07-24 06:36:55 +07:00
parent 59e72582c3
commit 6246661e25
3 changed files with 5 additions and 3 deletions

View File

@@ -2103,7 +2103,7 @@ class BaseCanvasPlayer extends BaseStreamPlayer {
if ("requestVideoFrameCallback" in HTMLVideoElement.prototype) {
let $video2 = this.$video;
frameCallback = $video2.requestVideoFrameCallback.bind($video2);
} else frameCallback = requestAnimationFrame;
} else frameCallback = window.requestAnimationFrame.bind(window);
this.frameCallback = frameCallback, this.boundDrawFrame = this.drawFrame.bind(this);
}
async init() {
@@ -9050,6 +9050,7 @@ class XcloudInterceptor {
WestUS2: ["🇺🇸", "america-north"],
MexicoCentral: ["🇲🇽", "america-north"],
BrazilSouth: ["🇧🇷", "america-south"],
ChileCentral: ["🇨🇱", "america-south"],
JapanEast: ["🇯🇵", "asia"],
KoreaCentral: ["🇰🇷", "asia"],
AustraliaEast: ["🇦🇺", "australia"],

File diff suppressed because one or more lines are too long

View File

@@ -27,6 +27,7 @@ export class XcloudInterceptor {
// South America
BrazilSouth: ['🇧🇷', 'america-south'],
ChileCentral: ['🇨🇱', 'america-south'],
// Asia
JapanEast: ['🇯🇵', 'asia'],