Page 1 of 1

Vlc multiple instances status

Posted: 08 Jun 2014 16:24
by ambigioz
Hello,

I am trying to use libVLC to play 2 videos at the same time in one activity, but as far as i understood from this ticket it is not possible:
https://trac.videolan.org/vlc/ticket/10831

I wanted to ask if there were any news about the progress of the development of this feature, and if not, would it be a really hard thing to change?

I was inspecting the C code referenced by the JNI... would changing the method void Java_org_videolan_libvlc_LibVLC_attachSurface help against this or it's more complicated than I think? Otherwise I could implement it myself.

Thanks in advance!

Re: Vlc multiple instances status

Posted: 09 Jun 2014 15:26
by edwardw
It's more complicated than that. So far the architecture for Android is hardwired to one player and one instance, and so enabling that is planned but will require some work.

Re: Vlc multiple instances status

Posted: 10 Jun 2014 15:27
by ambigioz
Thanks, so there's really no trick or workaround to do this?
I guess I won't be able to use vlc for my project then :cry:

Re: Vlc multiple instances status

Posted: 10 Jun 2014 21:24
by edwardw
Not right now, unfortunately. But it is planned for the future.