OpenCamera-Sensors
                                
                                
                                
                                    OpenCamera-Sensors copied to clipboard
                            
                            
                            
                        Local IP address detection in remote control
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.