Commit Graph

1 Commits

Author SHA1 Message Date
Alex Vanderveen 005c1f56c2 netplay: host relay over ICE (relay_via ice) for online rooms
Port recomp-net's host-as-relay-over-ICE wiring into psxrecomp's forked lobby
client: waiting-room RNetHostIce proof (one agent per guest), relay_via "ice"
in published caps (pref default on, launcher toggle), launch handling for
transport_ice_hub (no bind, no dial; ice_not_connected refuses the launch),
and adoption of the connected agents into the session (hub on the host, 1:1 on
a guest). Lobby seat -> session slot goes through the launch's port_of_slot
table (host_spectates, moved seats); transport choice never sends an ICE-hub
launch to the single-agent ICE path or the SFU. Legacy advertised-port relay
and SFU paths are unchanged. ROM-free test: netplay_ice_hub_test.

lib/recomp-net is pointed at the local recomp-net feat/ice-hub (748f053);
that pin is real only once recomp-net is pushed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-03 03:32:00 -04:00