With VideoView, I have test this code, with a URL that I found, and works pefercly in my android terminal:
- Code: Select all
VideoView mVideoView = (VideoView) findViewById(R.id.surface_view);
mVideoView.setVideoPath("rtsp://149.5.42.145:11062/live_mpeg4.sdp");
mVideoView.start();
mVideoView.setMediaController(new MediaController(this));
I have test with VLC, but I dont know how to do, to get a url like this: rtsp://149.5.42.145:11062/live_mpeg4.sdp
with VLC, which type I must choose: RTP, RTSP, HTTP, UDP ¿?¿?¿?
I guess that is very easy, but I cant do it...
Any ideas?
THANKS!!

