Page 1 of 1

Using VLC library in my own Android App

Posted: 15 May 2014 14:48
by manojkashyap
This is to bring into your notice that we have an Android App which plays the RTSP streaming URL. We are using Android “MediaPlayer” API, and our App takes around 8- 10 seconds for a stream to start. We tested the same RTSP URL on VLC desktop as well as on VLC Android player and the stream starts within 3 seconds.

I searched various forums and VLC documentation available on internet and came to know about VLC proprietary libraries that are being using. We were unable to find any sample code to play RTSP/HTTP URL using the mentioned libraries. So need help in getting information on how VLC has implemented the Streaming functionality on android so that we can also use and achieve the stream playback time within 3 seconds.

Do let me know if you need any further information from our side.
Hoping for a positive feedback.

Re: Using VLC library in my own Android App

Posted: 16 May 2014 11:09
by flx42
Can you try the same stream with a VLC for Android nightly build? (http://nightlies.videolan.org/build/android-armv7/)
I searched various forums and VLC documentation available on internet and came to know about VLC proprietary libraries that are being using. We were unable to find any sample code to play RTSP/HTTP URL using the mentioned libraries. So need help in getting information on how VLC has implemented the Streaming functionality on android so that we can also use and achieve the stream playback time within 3 seconds.
What do you mean?
The code is fully open source:
http://git.videolan.org/?p=vlc-ports/android.git
http://git.videolan.org/?p=vlc.git

Re: Using VLC library in my own Android App

Posted: 17 May 2014 20:46
by edwardw
Well, some of the encoding is done through libraries like libav/ffmpeg and friends.