Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stream RTMP live video in Android

Tags:

android

rtmp

I have developed an application on Android for live streaming through RTSP and it's working fine. I am able to play the RTSP URL with the help of Daroon Player and Wondershare. The running code for RTSP is:

Uri stream = Uri.parse("rtsp://media-us-2.soundreach.net/slcn_lifestyle.sdp"); 
Intent videointent = new Intent(Intent.ACTION_VIEW,stream); 
startActivity(videointent);

Now I have to stream the live video through RTMP, but I am not able to invoke it with the above process. The requirement is to play the RTMP URL with the Wondershare only.

How would I play the RTMP URL on an Android device with the help of a third-party application, that is, wondershare?

like image 205
Pankaj Kumar Avatar asked Mar 22 '13 13:03

Pankaj Kumar


1 Answers

Please take a look at Vitamio. It is a nice library for playing multimedia content.

like image 80
Tuna Karakasoglu Avatar answered Nov 10 '22 04:11

Tuna Karakasoglu