Easy way to streaming to android

All your problems with Audio, Video and Images.

Easy way to streaming to android

Postby sfx4ever » Thu Oct 18, 2012 11:45 am

Hi!, I need to make an app that "reads" and show a video streaming, but I dont know how to do this.

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!!
User avatar
sfx4ever
Junior Developer
Junior Developer
 
Posts: 12
Joined: Wed Dec 14, 2011 9:15 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: Google [Bot] and 7 guests