title: Android MediaPlayer streaming stops on network change
body: <p>I am streaming audio using MediaPlayer on Android.</p>
  
  <p>When the device moves from Wi-Fi to the cell network or vice-versa, the MediaPlayer stops playback.</p>
  
  <p>Typically there are a few seconds-worth of audio in the buffer, so playback does not cease immediately.</p>
  
  <p>Ideally I would like to pick up the stream for uninterrupted playback, but I cannot see how to do it.</p>
  
  <p>I am working with both mp3 files hosted on the server and a live broadcast stream.</p>