title: Android MediaPlayer supported MJPEG
body: <p>Is Android MediaPlayer supported the MJPEG format.</p>
  
  <pre><code>1                        path = "http://cif12.nfreeway.gov.tw/live-view/mjpg/video.cgi camera=187&amp;1168226466841";
  2               mPreview = (SurfaceView) findViewById(R.id.camsurface);
  3               holder = mPreview.getHolder();
  4               holder.addCallback(this);
  5               holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
  6               mMediaPlayer = new MediaPlayer();
  7               mMediaPlayer.setDisplay(holder);
  8               mMediaPlayer.setDataSource(path);
  9               mMediaPlayer.prepare();
  10              mMediaPlayer.setOnBufferingUpdateListener(this);
  11              mMediaPlayer.setOnCompletionListener(this);
  12              mMediaPlayer.setOnPreparedListener(this);
  13              mMediaPlayer.setOnVideoSizeChangedListener(this);
  14              mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
  </code></pre>
  
  <p>on line number 9 code exit without any exception.</p>