Skip to content

Commit

Permalink
Merge pull request #1086 from ReikyZ/master
Browse files Browse the repository at this point in the history
Release 2.1.7
  • Loading branch information
geeklok authored Feb 26, 2019
2 parents 9660784 + 9c324dc commit 1354f75
Show file tree
Hide file tree
Showing 23 changed files with 45 additions and 4 deletions.
7 changes: 5 additions & 2 deletions PLDroidPlayerDemo/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
minSdkVersion 14
targetSdkVersion 27
versionCode 12
versionName "2.1.6"
versionName "2.1.7"
buildConfigField "long", "BUILD_TIMESTAMP", System.currentTimeMillis() + "L"
}
buildTypes {
Expand All @@ -27,10 +27,13 @@ android {
}

dependencies {
implementation files('libs/pldroid-player-2.1.6.jar')
implementation files('libs/pldroid-player-2.1.7.jar')
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support:recyclerview-v7:27.1.0'
implementation 'com.journeyapps:zxing-android-embedded:3.0.2@aar'
implementation 'com.google.zxing:core:3.2.0'
implementation 'com.bugsnag:bugsnag-android-ndk:1.1.2'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.4'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.4'
testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.4'
}
Binary file removed PLDroidPlayerDemo/app/libs/pldroid-player-2.1.6.jar
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected void onCreate(Bundle savedInstanceState) {
options.setInteger(AVOptions.KEY_MEDIACODEC, codec);
options.setInteger(AVOptions.KEY_LIVE_STREAMING, mIsLiveStreaming ? 1 : 0);
boolean disableLog = getIntent().getBooleanExtra("disable-log", false);
// options.setString(AVOptions.KEY_DNS_SERVER, "127.0.0.1");
// options.setString(AVOptions.KEY_DNS_SERVER, "127.0.0.1");
options.setInteger(AVOptions.KEY_LOG_LEVEL, disableLog ? 5 : 0);
boolean cache = getIntent().getBooleanExtra("cache", false);
if (!mIsLiveStreaming && cache) {
Expand All @@ -80,6 +80,7 @@ protected void onCreate(Bundle savedInstanceState) {
int startPos = getIntent().getIntExtra("start-pos", 0);
options.setInteger(AVOptions.KEY_START_POSITION, startPos * 1000);
}
// options.setString(AVOptions.KEY_COMP_DRM_KEY,"cWoosgRk");
mVideoView.setAVOptions(options);

// Set some listeners
Expand Down Expand Up @@ -189,6 +190,12 @@ public void onInfo(int what, int extra) {
case PLOnInfoListener.MEDIA_INFO_CACHE_DOWN:
Log.i(TAG, "Cache done");
break;
case PLOnInfoListener.MEDIA_INFO_STATE_CHANGED_PAUSED:
Log.i(TAG, "State paused");
break;
case PLOnInfoListener.MEDIA_INFO_STATE_CHANGED_RELEASED:
Log.i(TAG, "State released");
break;
default:
break;
}
Expand Down Expand Up @@ -318,4 +325,4 @@ public void run() {
}
});
}
}
}
Binary file modified PLDroidPlayerDemo/app/src/main/jniLibs/arm64-v8a/libQPlayer.so
Binary file not shown.
Binary file modified PLDroidPlayerDemo/app/src/main/jniLibs/arm64-v8a/libqcOpenSSL.so
100644 → 100755
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified PLDroidPlayerDemo/app/src/main/jniLibs/armeabi/libQPlayer.so
Binary file not shown.
Binary file modified PLDroidPlayerDemo/app/src/main/jniLibs/armeabi/libqcOpenSSL.so
100644 → 100755
Binary file not shown.
Binary file modified PLDroidPlayerDemo/app/src/main/jniLibs/x86/libQPlayer.so
Binary file not shown.
Binary file modified PLDroidPlayerDemo/app/src/main/jniLibs/x86/libqcOpenSSL.so
Binary file not shown.
31 changes: 31 additions & 0 deletions ReleaseNotes/release-notes-2.1.7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# PLDroidPlayer Release Notes for 2.1.7

本次更新:

## 说明

- 从 v2.0.0 版本开始,全面升级为七牛自研的播放器内核,拥有更优异的性能

## 版本

- 发布 pldroid-player-2.1.7.jar
- 更新 libQPlayer.so

## 优化

- 优化了配置缓存时的播放流畅性
- 优化了 HTTPS 连接速度
- 优化了 RMTP 重连速度
- 优化了切换 URL 时停止操作的耗时

## 新增

- 新增了对七牛私有 MP4 DRM 解密播放
- 新增了对 G711 格式支持
- 新增了在暂停时截图特性

## 缺陷

- 修复了播放纯视频 HLS 循环、速度不均匀异常
- 修复部分弱网、重连时 ANR
- 修复了播放部分 FMP4 的异常
Binary file modified releases/arm64-v8a/libQPlayer.so
Binary file not shown.
Binary file modified releases/arm64-v8a/libqcOpenSSL.so
100644 → 100755
Binary file not shown.
Binary file modified releases/armeabi-v7a/libQPlayer.so
Binary file not shown.
Binary file modified releases/armeabi-v7a/libqcOpenSSL.so
Binary file not shown.
Binary file modified releases/armeabi/libQPlayer.so
Binary file not shown.
Binary file modified releases/armeabi/libqcOpenSSL.so
100644 → 100755
Binary file not shown.
Binary file removed releases/pldroid-player-2.1.6.jar
Binary file not shown.
Binary file added releases/pldroid-player-2.1.7.jar
Binary file not shown.
Binary file modified releases/x86/libQPlayer.so
Binary file not shown.
Binary file modified releases/x86/libqcOpenSSL.so
Binary file not shown.

0 comments on commit 1354f75

Please sign in to comment.