title: Stream sound from android application to a device over wifi
body: <p>I am building an android music player that can stream all the sound generated by my app to an external IP rather than playing it to speaker/headset over wifi. </p>
  
  <p>Basically I want to route all the sound output of my app to an external IP rather than phone's speaker, bluetooth speaker or earphones. </p>
  
  <p>I have read about udp , upnp and rtp. Help me figure out which class I should use, i shall only be streaming audio (locally stored or from other providers as spotify or pandora). </p>