pkplayer是一个P2P播放器,支持Android、IOS平台。
基于ijkplayer,ppeasy开发,P2P方式播放rtmp直播源,观众越多,播放越流畅。
网络通信(内网穿透)的模块,使用ppeasy(P2P传输SDK),其特点是无需架设穿透服务器,用户之间直接进行数据的交换。
以GPL协议发布, 任何人请在遵守协议的前提下复制、发布、修改.
最后本程序作者不承担使用该程序所带来的任何问题并拥有一切解释权.
QQ技术交流群: 466907566
### Build Android
windows编译
ffmpeg静态库已编译好放置在jniLibs目录下,直接编译ijkplayer-example项目即可。
运行前需设置ANDROID_SDK环境变量ANDROID_HOME,及安装Java。
cd e:\pkplayer-master\android\ijkplayer
gradlew build
Linux编译
```
git clone https://github.com/SeaHaige/pkplayer.git pkplayer-android
cd pkplayer-android
git checkout -B latest k0.8.2
./init-android.sh
cd android/contrib
./compile-ffmpeg.sh clean
./compile-ffmpeg.sh all
cd ..
./compile-ijk.sh all
# Android Studio:
# Open an existing Android Studio project
# Select android/ijkplayer/ and import
#
# define ext block in your root build.gradle
# ext {
# compileSdkVersion = 23 // depending on your sdk version
# buildToolsVersion = "23.0.0" // depending on your build tools version
#
# targetSdkVersion = 23 // depending on your sdk version
# }
#
# If you want to enable debugging ijkplayer(native modules) on Android Studio 2.2+: (experimental)
# sh android/patch-debugging-with-lldb.sh armv7a
# Install Android Studio 2.2(+)
# Preference -> Android SDK -> SDK Tools
# Select (LLDB, NDK, Android SDK Build-tools,Cmake) and install
# Open an existing Android Studio project
# Select android/ijkplayer
# Sync Project with Gradle Files
# Run -> Edit Configurations -> Debugger -> Symbol Directories
# Add "ijkplayer-armv7a/.externalNativeBuild/ndkBuild/release/obj/local/armeabi-v7a" to Symbol Directories
# Run -> Debug 'ijkplayer-example'
# if you want to reverse patches:
# sh patch-debugging-with-lldb.sh reverse armv7a
#
# Eclipse: (obselete)
# File -> New -> Project -> Android Project from Existing Code
# Select android/ and import all project
# Import appcompat-v7
# Import preference-v7
#
# Gradle
# cd ijkplayer
# gradle
```
Build iOS
```
git clone https://github.com/SeaHaige/pkplayer.git pkplayer-ios
cd pkplayer-ios
git checkout -B latest k0.8.2
./init-ios.sh
cd ios
./compile-ffmpeg.sh clean
./compile-ffmpeg.sh all
cd ..
./compile-ijk.sh all
# Demo:
# open ios/IJKMediaDemo/IJKMediaDemo.xcodeproj with Xcode
#
# Import into Your own Application
# Select your project in Xcode.
# File -> Add Files to ... -> Select ios/IJKMediaPlayer/IJKMediaPlayer.xcodeproj
# Select your Application's target.
# Build Phases -> Target Dependencies -> Select IJKMediaFramework
# Build Phases -> Link Binary with Libraries -> Add:
# libppeasy.a
# IJKMediaFramework.framework
# AudioToolbox.framework
# AVFoundation.framework
# CoreGraphics.framework
# CoreMedia.framework
# CoreVideo.framework
# libbz2.tbd
# libz.tbd
# MediaPlayer.framework
# MobileCoreServices.framework
# OpenGLES.framework
# QuartzCore.framework
# UIKit.framework
# VideoToolbox.framework
```
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
PKplayer是基于ijkplayer项目开发的P2P播放器,是一个适用于Android、IOS的RTMP流播放器,可高度定制化和二次开发。网络通信(内网穿透)的模块,使用ppeasy(P2P传输SDK)库,其特点是无需架设穿透服务器,用户之间直接进行数据的交换,有高效的P2P算法,对网络的适应性好,针对不同网络情况都能实现较好的播放效果。
资源推荐
资源详情
资源评论
收起资源包目录
RTMP播放器(P2P) (733个子文件)
COPYING.LGPLv2.1 26KB
libppeasy.a 492KB
android-ndk-prof 56B
gradlew.bat 2KB
ff_ffplay.c 159KB
ffpipenode_android_mediacodec_vdec.c 73KB
ijkplayer_jni.c 42KB
ijkiocache.c 32KB
MediaCodec.c 23KB
ijkplayer.c 22KB
ijkasync.c 21KB
ijksdl_aout_android_opensles.c 20KB
Bundle.c 19KB
AudioTrack.c 19KB
IjkMediaPlayer.c 16KB
renderer.c 15KB
ijksdl_codec_android_mediacodec_java.c 15KB
ijksdl_vout_android_nativewindow.c 14KB
ijkiourlhook.c 14KB
ijkurlhook.c 13KB
ijksdl_vout_overlay_ffmpeg.c 13KB
MediaFormat.c 12KB
android_audiotrack.c 12KB
ijksdl_egl.c 11KB
android_nativewindow.c 10KB
ijkmeta.c 10KB
ijksdl_aout_android_audiotrack.c 10KB
ijklivehook.c 9KB
ijkiomanager.c 9KB
ijksdl_codec_android_mediacodec.c 9KB
ffpipeline_android.c 8KB
ff_cmdutils.c 8KB
ijksdl_codec_android_mediadef.c 7KB
ijksdl_timer.c 7KB
renderer_rgb.c 7KB
ijkthreadpool.c 7KB
ijksdl_codec_android_mediaformat_java.c 7KB
j4a_base.c 7KB
ijkmediadatasource.c 7KB
IAndroidIO.c 6KB
ijkfifo.c 6KB
ijksdl_vout_overlay_android_mediacodec.c 6KB
ijkioandroidio.c 6KB
ByteBuffer.c 6KB
ijktree.c 6KB
ijksdl_android_jni.c 6KB
ijksdl_codec_android_mediacodec_internal.c 5KB
ijksdl_codec_android_mediacodec_dummy.c 5KB
ijkdict.c 5KB
IMediaDataSource.c 5KB
renderer_yuv444p10le.c 4KB
renderer_yuv420p.c 4KB
renderer_yuv420sp.c 4KB
ijksegment.c 4KB
ijkio.c 4KB
ijkplayer_android.c 4KB
ijksdl_mutex.c 4KB
Build.c 4KB
ArrayList.c 4KB
ijksdl_aout.c 3KB
ijksdl_extra_log.c 3KB
PlaybackParams.c 3KB
ijksdl_thread.c 3KB
allformats.c 3KB
ijkioffio.c 3KB
ijklongurl.c 3KB
ijksdl_vout.c 3KB
ffpipeline_ios.c 3KB
ffmpeg_api_jni.c 3KB
image_convert.c 2KB
shader.c 2KB
ijkioprotocol.c 2KB
AudioTrack.util.c 2KB
ijksdl_codec_android_mediaformat.c 2KB
ff_ffpipenode.c 2KB
ijksdl_vout_dummy.c 2KB
ff_ffpipeline.c 2KB
common.c 2KB
ffpipeline_ffplay.c 2KB
yuv444p10le.fsh.c 2KB
ijkioapplication.c 2KB
ijksdl_vout_android_surface.c 2KB
ffpipenode_ffplay_vdec.c 2KB
ByteBuffer.util.c 2KB
yuv420p.fsh.c 2KB
ijksdl_audio.c 2KB
yuv420sp.fsh.c 2KB
Buffer.c 1KB
mvp.vsh.c 1KB
prof.c 1KB
color.c 1KB
rgb.fsh.c 1KB
ijksdl_error.c 1KB
ijksdl_stdinc.c 1KB
j4a_allclasses.c 1KB
ijkutils.c 482B
.classpath 1KB
.classpath 508B
.classpath 508B
.classpath 508B
共 733 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
- dengzy4012017-08-25github上有,不用下载积分 https://github.com/seahaige/pkplayer
PPeasy
- 粉丝: 5
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- GEE错误集-Cannot add an object of type <Element> to the map. Might be fixable with an explicit .pdf
- 矩阵与线程的对应关系图
- 人体人员检测46-YOLO(v5至v9)、COCO、Darknet、TFRecord数据集合集.rar
- GEMM优化代码实现1
- 资料阅读器(先下载解压) 5.0.zip
- 人、垃圾、非垃圾检测18-YOLO(v5至v11)、COCO、CreateML、Paligemma、TFRecord、VOC数据集合集.rar
- java实现的冒泡排序 含代码说明和示例.docx
- 440379878861684smart-parking.zip
- 金智维RPA server安装包
- 二维码图形检测6-YOLO(v5至v9)、COCO、CreateML、Darknet、Paligemma、TFRecord数据集合集.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功