emreturka
emreturka

Reputation: 876

Live stream extensions in android

Is there any live stream extension without of m3u8 ? Because android MediaPlayer doesn't support this format. In any case you must use Vitamio. So Is there any way to stream m3u8 with MediaPlayer in android. Any code is not working in this site.

Upvotes: 1

Views: 570

Answers (1)

Arun Chand
Arun Chand

Reputation: 384

Check this answer: Video Streaming over wifi?

Then if u want to see the live streaming in android phone then include vlc plugin inside your application and connect through real time streaming protocol(RTSP)

Intent i = new Intent("org.videolan.vlc.VLCApplication.gui.video.VideoPlayerActivity");
                               i.setAction(Intent.ACTION_VIEW);                
                               i.setData(Uri.parse("rtsp://10.0.0.179:8086/"));
                               startActivity(i);

If u have installed vlc on your android phone, then you can stream using intent and pass the ip address and port no. as shown

Upvotes: 3

Related Questions