Example #1
0
 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;
 }
Example #3
0
 public TelloClient(TelloSettings settings)
 {
     telloSettings = settings;
     udpClient     = new UdpClient();
     udpClient.Client.ReceiveTimeout = 3000; // ToDo: might wanna lower it / move it to settings
 }