title: lag in udp streaming for videoview android
body: <p>I'm playing streaming in videoview but every how many seconds it lag/paused then play again, how can I play video streaming smoothly for android. Here's my code:</p>
  
  <pre><code>vv = (VideoView) findViewById(R.id.video);      
  MediaController mc = new MediaController(this);
  vv.setMediaController(mc);
  Uri video = Uri.parse("udp://@239.239.1.1:1234");
  vv.setVideoURI(video);
  vv.setVisibility(View.VISIBLE);
  vv.setOnPreparedListener(new OnPreparedListener(){
  
   @Override
   public void onPrepared(MediaPlayer arg0) {
    // TODO Auto-generated method stub
   vv.start();
   }          
  </code></pre>
  
  <p>});</p>