Page 1 of 1

RTSP Stream on Android

Posted: 24 Mar 2015 14:37
by feldman3
Could anyone help me get started with developing a simple video player activity to show an RTSP stream in Android? I have found a bunch of different examples, but I think they are outdated because they use methods I am unable to reference. readMedia() is a good example of this. I don't think I have it in my build and I see it referenced a lot.

I have also looked at this example: https://bitbucket.org/edwardcw/libvlc-a ... e/overview, but my LibVLC doesn't seem to include getMediaList(). Are these examples outdated or do I have an incomplete build?

Also, when I get this sorted out, would I use playMRL(string mrl) to start my rtsp stream?

Anything I might be able to use would be very helpful. I can't find much documentation.

Re: RTSP Stream on Android

Posted: 08 Apr 2015 19:04
by feldman3
I was able to stream successfully by using the VideoPlayerActivity from the VLC android app.

Re: RTSP Stream on Android

Posted: 23 Apr 2015 17:03
by kkatani
VideoPlayerActivity class is very large and imports many classes outside of LibVLC.
Did you end up removing code from this class to get it working just with LibVLC? If so would you mind sharing that class?