Playing in Java with libvlc-all

This forum is about all development around libVLC.
npuleio
Blank Cone
Blank Cone
Posts: 17
Joined: 22 Nov 2023 16:48

Playing in Java with libvlc-all

Postby npuleio » 22 Nov 2023 16:59

Hello everyone !!!

I am playing lately with libvlc-all:4.0.0-eap13 in my android java application streaming a realtime rtsp url....it works like charm but if I add in build.gradle

Code: Select all

implementation 'org.videolan.android:libvlc-all:4.0.0-eap13'

when I build a release APK I see it increases from 7Mb to 168Mb ...
Since I am just playing a realtime rtsp url and nothing else , is there a way to choose those libraries really necessary only for an android java application to reduce APK size?
I tried with adding :

Code: Select all

implementation 'org.videolan.android:libvlc:4.0.0-eap13' implementation 'org.videolan.android:libvlc-rtsp:4.0.0-eap13'

but without success because Android Studio couldn't resolve those implementation libraries

Thanks to all!!
Cheers
Luigi

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Playing in Java with libvlc-all

Postby Rémi Denis-Courmont » 22 Nov 2023 19:04

Yes but this is a complex and tedious process due to the many variables involved. So unless you know what you are doing or are prepared to hire a consultant, just don't.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 6 guests