OpenCamera-Sensors icon indicating copy to clipboard operation
OpenCamera-Sensors copied to clipboard

Local IP address detection in remote control

Open TimPushkin opened this issue 3 years ago • 0 comments

In it's current state RemoteRpcServer.getIPAddress() finds the first IPv4 address that is not localhost and is not on a dummy interface. But if there are several addresses that meet these requirements picking the first one may not be the right choice. For example, the one from usbnet0 may be picked when we need the one from wlan0.

TimPushkin avatar Jul 19 '21 07:07 TimPushkin