server-sdk-go
server-sdk-go copied to clipboard
Choosing incorrect IP to advertise on Mac
The Go SDK sometimes picks the wrong IP address to advertise itself on. This can happen when
- an iOS is attached via USB, it creates a new network with vendor
AppleUSBNCMand IP similar to169.254.93.26 - ZeroTier networks are in use
- likely others that create interfaces that may be preferred over the wifi/ethernet IP
When this IP is present, Go SDK will advertise ICE candidates with this IP address and unable to connect to livekit-server that's running on the same machine.
OK,thank you for your reply! but why do I always fail when I use IP address from another computer to connect to the livekit server deployed in MAC docker? To solve this problem, do I have to deploy the livekit server to a Linux server in my intranet, or do I deploy it to the docker of windows?