title: How to pause and play a J2ME audio player streaming with RTP
body: <p>Here is how I try to play an audio streaming from a server over RTP.</p>
  
  <pre><code>try {  
       String url = "rtp://...";  
       Player p = Manager.createPlayer(url);
       p.realize(); 
       VideoControl video = (VideoControl) p.getControl("VideoControl");
       Item itm = (Item) video.initDisplayMode(VideoControl.USE_GUI_PRIMITIVE, null); 
       midlet.form.append(itm); 
       p.start();
  } catch (Exception e) {...} 
  </code></pre>
  
  <p>I tried http and it worked well. In http, all the media content download and then we can play, pause and play again. It is ok. I want to  play an audio from RTP. I want to know how to pause the player (and data is not downloading, keep a record where the media paused) again play when user needs to play (and start downloading again from the last point downloaded (not from beginning)). </p>
  
  <p>As far as I know, smartphones cannot keep a session with the server as the mobile phone doesn't keep sessions and send back to the server every time a request is sent to the server (and just only send a request and get the response, no session management). Maybe I am wrong.  </p>
  
  <p>Anyway how can I pause (and stop downloading) and play again (start downloading from the last point where downloading stopped) an audio in a J2ME application? Please let me know if any one know a good solution, sample code.</p>