public TelloClient(TelloSettings settings, UdpClient client) { telloSettings = settings; udpClient = client; }
public TelloVideoServer(TelloSettings settings) { telloSettings = settings; udpServer = new UdpClient(new IPEndPoint(IPAddress.Any, telloSettings.VideoPort)); udpServer.Client.ReceiveTimeout = 3000; }
public TelloClient(TelloSettings settings) { telloSettings = settings; udpClient = new UdpClient(); udpClient.Client.ReceiveTimeout = 3000; // ToDo: might wanna lower it / move it to settings }