Error de transmisión en vivo de Android Error (1, -2147483648)

I want to play live streaming video in server(wowza) to android device? I have used este codigo its working perfect in emulator but it won't work in android device its showing error like this Error (1,-2147483648) some one guide me how to play RTSP url video into android device. this is my code

public class AnVideoView extends Activity {

String SrcPath = "rtsp://myip/live/mpegts";

   /** Called when the activity is first created. */
   @Override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.main);
       VideoView myVideoView = (VideoView)findViewById(R.id.myvideoview);
       myVideoView.setVideoURI(Uri.parse(SrcPath));
       myVideoView.setMediaController(new MediaController(this));
       myVideoView.requestFocus();
       myVideoView.start();
   }
}

preguntado el 02 de febrero de 12 a las 10:02

0 Respuestas

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.