Create a videoplayer with the LibVLC for android

拥有回忆 提交于 2019-12-03 08:41:46

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:

https://github.com/gareoke/VLCPlayer

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.

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#L18 https://code.videolan.org/videolan/libvlc-android-samples/blob/master/java_sample/build.gradle#L34

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!