Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using libvlc on android with NDK

I am currently messing around a bit with libvlc on android using the NDK. Well, I understand how to use native C code in an android app. Now I would like to use the libvlc library to make a simple player which would read data from a socket.

Is it possible to use libvlc at that level? The problem I see is when it comes to set a window handler for libvlc to draw the image on.

Has anyone experienced with this that could give me some feedback?

Thank you.

like image 722
Helder AC Avatar asked Jan 15 '23 07:01

Helder AC


1 Answers

You might be interested in this - https://bitbucket.org/tewilove/nyan.tv-jni/src

Edit: Looks like the nyan.tv link doesn't exist anymore. A possibly more 'official' sample is here -> https://bitbucket.org/edwardcw/libvlc-android-sample

like image 111
Anoop Avatar answered Jan 24 '23 22:01

Anoop