server-sdk-go icon indicating copy to clipboard operation
server-sdk-go copied to clipboard

Choosing incorrect IP to advertise on Mac

Open davidzhao opened this issue 4 years ago • 1 comments

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 AppleUSBNCM and IP similar to 169.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.

davidzhao avatar Aug 30 '21 06:08 davidzhao

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?

dht-hedaihua avatar May 04 '22 02:05 dht-hedaihua