编译Android VLC

时间:2015-04-27 09:22:20

标签: android vlc rtmp

我一直在尝试使用RTMP协议在Android中构建视频流应用程序。我使用javaCV流式传输到nginx服务器。为了接收流,我尝试使用VLC android。我按照https://wiki.videolan.org/AndroidCompile/中给出的说明编译android VLC代码,但显示错误并停止编译。还有其他方法来编译android VLC。或者是否有任何其他开源RTMP播放器用于andriod?

2 个答案:

答案 0 :(得分:0)

为什么不发布错误? 基本上有两种方法可以使用and,VLC或ffmpeg。 应该支持rtmp的基于ffmpeg的播放器是https://github.com/Bilibili/ijkplayer/

答案 1 :(得分:0)

使用此示例,通过将compile 'com.damavandi:android-vlc-lib:1.0.0'添加到gradle依赖项中来轻松添加vlc库。有一个简单的例子 https://github.com/m-damavandi/Android-VLC-Sample