title: RTP on Android MediaPlayer
body: <p>I've implemented RTSP on Android MediaPlayer using VLC as rtsp 
  server with this code:</p>
  
  <pre><code># vlc -vvv /home/marco/Videos/pippo.mp4 --sout 
  #rtp{dst=192.168.100.246,port=6024-6025,sdp=rtsp://192.168.100.243:8080/test.sdp}
  </code></pre>
  
  <p>and on the Android project: </p>
  
  <hr>
  
  <pre><code>Uri videoUri = Uri.parse("rtsp://192.168.100.242:8080/test.sdp"); 
  videoView.setVideoURI(videoUri); 
  videoView.start(); 
  </code></pre>
  
  <hr>
  
  <p>This works fine but if I'd like also to play live stream RTP so I 
  copied the sdp file into the sdcard (/mnt/sdcard/test.sdp) and setting 
  vlc: </p>
  
  <pre><code># vlc -vvv /home/marco/Videos/pippo.mp4 --sout 
  #rtp{dst=192.168.100.249,port=6024-6025} 
  </code></pre>
  
  <p>I tried to play the stream RTP setting the path of the sdp file 
  locally: </p>
  
  <hr>
  
  <pre><code>Uri videoUri = Uri.parse("/mnt/sdcard/test.sdp");
  videoView.setVideoURI(videoUri); 
  videoView.start(); 
  </code></pre>
  
  <hr>
  
  <p>But I got an error: </p>
  
  <hr>
  
  <pre><code>D/MediaPlayer( 9616): Couldn't open file on client side, trying server side 
  W/MediaPlayer( 9616): info/warning (1, 26) 
  I/MediaPlayer( 9616): Info (1,26) 
  E/PlayerDriver(   76): Command PLAYER_INIT completed with an error or info PVMFFailure 
  E/MediaPlayer( 9616): error (1, -1)
  E/MediaPlayer( 9616): Error (1,-1) 
  D/VideoView( 9616): Error: 1,-1 
  </code></pre>
  
  <hr>
  
  <p>Does anyone know where's the problem? I'm I wrong or it's not possible 
  to play RTP on MediaPlayer? 
  Cheers 
  Giorgio </p>