Page 1 of 1

C-code based libvlc for IOS

Posted: 08 Aug 2023 12:21
by sanmool
Hi,

Is there any C-code based libvlc binary targeting iphone(IOS)?

To target Android device, I downloaded VLC-Android-3.2.1-armeabi-v7a.apk
and linked to libvlc.so file extracted from that apk.
Then I could use C-code to call the method of libvlc like
libvlc_media_player_play( p_mi ) -- A1

MobileVLCKit seems the library targeting IOS but it is based on objective-c, so I don't think I can use C-code like A1 to call libvlc method.

I also saw
https://www.videolan.org/vlc/download-ios.html
but this also seems not C-code based library.

Thank you in advance.

Re: C-code based libvlc for IOS

Posted: 08 Aug 2023 12:45
by RĂ©mi Denis-Courmont
MobileVLCKit is based on C LibVLC.

Note that you are required to provide usable sources with which to rebuild the library, so even if binaries did exist, using them would be highly unadvisable. You should recompile if only to make sure that you can meet your legal obligations.

That's also true for Android.

Re: C-code based libvlc for IOS

Posted: 08 Aug 2023 22:24
by sanmool
Thanks for reply.
Do you mean, after linking to MobileVLCKit, I can call libvlc C-based function directly?
like
libvlc_media_player_play( p_mi )
?