Create A Videoplayer With The Libvlc For Android
Solution 1:
Please see the below sample repo I created. It doesn't have all the bells and whistles, but it simply plays any valid video url. It uses a VLC SDK kindly provided by mrmaffen:
Solution 2:
2019 sees introduction of a VLCVideoLayout component that greatly simplifies the code required to embed VLC into android.
https://code.videolan.org/videolan/libvlc-android-samples
The libVLC is provided by the official VideoLAN project hosted on BinTray. See the build.gradle files for the link to the Maven repo and the package name/version.
https://code.videolan.org/videolan/libvlc-android-samples/blob/master/build.gradle#L18https://code.videolan.org/videolan/libvlc-android-samples/blob/master/java_sample/build.gradle#L34
Solution 3:
if someone is still looking for simple vlc player example Please have look at this MyVlcPlayer. It uses minimum code to play a video. To keep this project simple I have not added any video controller.
Post a Comment for "Create A Videoplayer With The Libvlc For Android"