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