Skip to content

Commit d6da628

Browse files
committed
docs: refresh Arbitrium env var names (ARBITRIUM_PORT_GAME_EXTERNAL)
1 parent 48834f3 commit d6da628

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

core/network_settings.gd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ enum TransportType {
5151
## ICE candidate (port-preserving NAT means the srflx candidate
5252
## advertises the container port, not the host port the client
5353
## must dial). Defaults to 0; set from the deploy env at boot
54-
## (Edgegap exposes this as ARBITRARIUM_PORT_4433_UDP_EXTERNAL,
55-
## GameLift exposed it as gamePort etc).
54+
## (Edgegap: ARBITRIUM_PORT_GAME_EXTERNAL; GameLift: gamePort).
5655
@export var host_udp_port: int = 0
5756

5857
## TLS options for the WebSocket server. When set, the

core/webrtc_signaling_server.gd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func _handle_offer(
230230
#
231231
# Preferred: Netcode.settings.host_udp_port set
232232
# from the deploy env at boot (Edgegap exposes
233-
# this as ARBITRARIUM_PORT_4433_UDP_EXTERNAL).
233+
# this as ARBITRIUM_PORT_GAME_EXTERNAL).
234234
# Direct env-driven path is correct on platforms
235235
# like Edgegap where the signaling and game
236236
# ports are not contiguous.
@@ -471,8 +471,8 @@ func _on_server_ice_candidate(
471471
# host port. The ICE agent binds to the container
472472
# port (4433); clients must connect to the host
473473
# port the deploy platform forwarded that container
474-
# port to (e.g., Edgegap's ARBITRARIUM_PORT_4433_
475-
# UDP_EXTERNAL → 32574).
474+
# port to (e.g., Edgegap's
475+
# ARBITRIUM_PORT_GAME_EXTERNAL → 32574).
476476
var rewritten := candidate_name
477477
if (_host_udp_port > 0
478478
and "typ srflx" in candidate_name):

0 commit comments

Comments
 (0)