v0.4: Multi-IP NAT1To1 support #20
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implemented in commits
57542a3/b045b26/841335d/ 6ec0328.\n\nChanges:\n-core/webrtc/Config: addedNAT1To1IPs []stringalongside the existingPublicIPfield\n-core/webrtc/BuildICEConfig: prefersNAT1To1IPswhen non-empty; falls back to[]string{PublicIP}for backward compat (legacy configs with onlyPublicIPcontinue to work unchanged)\n-app/webrtc/subsystem.New: builds the merged list —PublicIPfirst, then any additional entries fromNAT1To1IPs, deduplicating — and assigns it tocoreCfg.NAT1To1IPs; removes the old single-IP workaround\n- 4 new tests incore/webrtc/ice_test.gocovering the multi-IP path, the PublicIP fallback, both-set, and neither-set cases