title: How to send streaming from Android via WiFi base on VLC or RTSP?
body: <p>I am new for this.</p>
  
  <p>I want to develop an application that it can streaming music for <code>SD card</code> to another device via WiFi.</p>
  
  <p>There has many protocol for streaming , like RTP ,RTCP and RTSP.</p>
  
  <p>But I don't know how to begin for streaming...</p>
  
  <p><strong>Ideal is like the following:</strong></p>
  
  <p><strong>1.</strong> <code>Android Phone-A</code> turn on the <code>Hotspot(Wireless Access Point mode)</code> , and the client will connect to this <code>Android Phone-A</code>.</p>
  
  <p><strong>2.</strong> After client to this <code>Android Phone-A</code>, <code>Android Phone-A</code> can choose the <code>MP3 music file</code>, and live-streaming to this client via WiFi (<code>not WiFi Direct</code>).</p>
  
  <p><strong>3.</strong> And the client will play the music from <code>Android Phone-A</code>.</p>
  
  <p><strong>So , what I have to develop is A streaming Server.</strong></p>
  
  <p><strong>Question:</strong></p>
  
  <p><strong>1.</strong> Should I use <code>RTSP server</code> on Android for doing streaming to client via WiFi ? 
  or it is better for using VLC on Android ?</p>
  
  <p><strong>2.</strong> Does there has Android api for VLC can be develop on Android ?</p>
  
  <p><strong>3.</strong> How to encode and send the music streaming from <code>Wireless Access Point</code> to <code>client</code> ?</p>
  
  <p>Thanks in advance.</p>