livekit / server-sdk-go

Client and server SDK for Golang
Apache License 2.0
191 stars 83 forks source link

Choosing incorrect IP to advertise on Mac #14

Open davidzhao opened 3 years ago

davidzhao commented 3 years ago

The Go SDK sometimes picks the wrong IP address to advertise itself on. This can happen when

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.

dht-hedaihua commented 2 years ago

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?