mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-26 07:28:53 -07:00
[match] tachyon sandbox switch
This commit is contained in:
@@ -216,9 +216,9 @@ export const ConnectionExperiments = z.object({
|
||||
* and `photonRoomId`, the Photon room of the instance their presence says they're in
|
||||
* — the same name every other player in that instance is handed. The voice fields name
|
||||
* the Tachyon server that instance was assigned out of the `TACHYON_HOST_PORT` pool —
|
||||
* likewise the same for everyone in the session, except that a caller holding the
|
||||
* DEVELOPER role is sent to that host's port 7778 as `dev` — and are empty when the pool
|
||||
* is unset or the caller is in no instance. `photonRegion` matches the one stamped
|
||||
* likewise the same for everyone in the session, except that a SANDBOX account is
|
||||
* picked out of the sandbox pool instead — and are empty when the pool is unset or the
|
||||
* caller is in no instance. `photonRegion` matches the one stamped
|
||||
* on every room instance, so the two can't disagree.
|
||||
*/
|
||||
export const ConnectionInfo = z.object({
|
||||
@@ -231,12 +231,12 @@ export const ConnectionInfo = z.object({
|
||||
voiceConnectionInfo: z
|
||||
.string()
|
||||
.describe(
|
||||
'The instance’s Tachyon server, `host:port` (port 7778 for a developer); empty when none is configured'
|
||||
'The instance’s Tachyon server, `host:port` (out of the sandbox pool for a sandbox account); empty when none is configured'
|
||||
),
|
||||
voiceServerId: z
|
||||
.string()
|
||||
.describe(
|
||||
'That server’s generated id (`tachyon-1`, …; `dev` for a developer); cosmetic, empty when there is none'
|
||||
'That server’s generated id (`tachyon-1`, …; `dev-1`, … for a sandbox account); cosmetic, empty when there is none'
|
||||
),
|
||||
experiments: ConnectionExperiments,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user