RTSP Stream on Android

VLC for Android and Chrome OS specific usage questions
feldman3
Blank Cone
Blank Cone
Posts: 16
Joined: 23 Mar 2015 18:00

RTSP Stream on Android

Postby feldman3 » 24 Mar 2015 14:37

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.

feldman3
Blank Cone
Blank Cone
Posts: 16
Joined: 23 Mar 2015 18:00

Re: RTSP Stream on Android

Postby feldman3 » 08 Apr 2015 19:04

I was able to stream successfully by using the VideoPlayerActivity from the VLC android app.

kkatani
New Cone
New Cone
Posts: 3
Joined: 23 Apr 2015 16:55

Re: RTSP Stream on Android

Postby kkatani » 23 Apr 2015 17:03

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?


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 13 guests