title: Why android video data from MediaRecorder connected with DatagramSocket are not sended instantly?
body: <p>I'm writing an Android application which creates MediaRecorder set output file with </p>
  
  <pre><code>final ParcelFileDescriptor pfd = ParcelFileDescriptor.fromDatagramSocket(socket);
  </code></pre>
  
  <p>socket is DatagramSocket. I can start recorder, but it only sends this (or server receives this)</p>
  
  <pre><code>server got: ftypisomisom3gp4 from 192.168.1.12:51433
  server got:  from 192.168.1.12:51433
  </code></pre>
  
  <p>after DatagramSocket is closed, it sends another few messages, which can be probably video. Does anybody know why DatagramSocket doesn't send video instantly?</p>
  
  <p>Before this implementation I used standard TCP socket and everything works fine (excepts for latency).</p>
  
  <p>On server is running Nodejs. Thanks in advance for any suggestions.</p>