diff --git a/QNDroidRTCDemo/app/build.gradle b/QNDroidRTCDemo/app/build.gradle index 44c043a..03f8083 100644 --- a/QNDroidRTCDemo/app/build.gradle +++ b/QNDroidRTCDemo/app/build.gradle @@ -6,8 +6,8 @@ android { applicationId "com.qiniu.droid.rtc.demo" minSdkVersion 18 targetSdkVersion 31 - versionCode 50 - versionName "6.2.0" + versionCode 51 + versionName "6.3.0" buildConfigField "long", "BUILD_TIMESTAMP", System.currentTimeMillis() + "L" } diff --git a/QNDroidRTCDemo/app/libs/qndroid-rtc-6.2.0.jar b/QNDroidRTCDemo/app/libs/qndroid-rtc-6.3.0.jar similarity index 93% rename from QNDroidRTCDemo/app/libs/qndroid-rtc-6.2.0.jar rename to QNDroidRTCDemo/app/libs/qndroid-rtc-6.3.0.jar index 37e6909..1a71191 100644 Binary files a/QNDroidRTCDemo/app/libs/qndroid-rtc-6.2.0.jar and b/QNDroidRTCDemo/app/libs/qndroid-rtc-6.3.0.jar differ diff --git a/QNDroidRTCDemo/app/src/main/jniLibs/arm64-v8a/libqndroid_rtc.so b/QNDroidRTCDemo/app/src/main/jniLibs/arm64-v8a/libqndroid_rtc.so index 68e8960..46298ab 100755 Binary files a/QNDroidRTCDemo/app/src/main/jniLibs/arm64-v8a/libqndroid_rtc.so and b/QNDroidRTCDemo/app/src/main/jniLibs/arm64-v8a/libqndroid_rtc.so differ diff --git a/QNDroidRTCDemo/app/src/main/jniLibs/armeabi-v7a/libqndroid_rtc.so b/QNDroidRTCDemo/app/src/main/jniLibs/armeabi-v7a/libqndroid_rtc.so index 1649a54..d3ff2ea 100755 Binary files a/QNDroidRTCDemo/app/src/main/jniLibs/armeabi-v7a/libqndroid_rtc.so and b/QNDroidRTCDemo/app/src/main/jniLibs/armeabi-v7a/libqndroid_rtc.so differ diff --git a/QNDroidRTCDemo/app/src/main/jniLibs/x86/libqndroid_rtc.so b/QNDroidRTCDemo/app/src/main/jniLibs/x86/libqndroid_rtc.so index c32b88a..623b266 100755 Binary files a/QNDroidRTCDemo/app/src/main/jniLibs/x86/libqndroid_rtc.so and b/QNDroidRTCDemo/app/src/main/jniLibs/x86/libqndroid_rtc.so differ diff --git a/QNRTC-API-Examples/app/build.gradle b/QNRTC-API-Examples/app/build.gradle index 1fc04d0..7b2976d 100644 --- a/QNRTC-API-Examples/app/build.gradle +++ b/QNRTC-API-Examples/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId "com.qiniu.droid.rtc.api.examples" minSdkVersion 18 targetSdkVersion 30 - versionCode 7 - versionName "1.0.6" + versionCode 8 + versionName "1.0.7" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" buildConfigField "long", "BUILD_TIMESTAMP", System.currentTimeMillis() + "L" diff --git a/QNRTC-API-Examples/app/libs/qndroid-rtc-6.2.0.jar b/QNRTC-API-Examples/app/libs/qndroid-rtc-6.3.0.jar similarity index 93% rename from QNRTC-API-Examples/app/libs/qndroid-rtc-6.2.0.jar rename to QNRTC-API-Examples/app/libs/qndroid-rtc-6.3.0.jar index 37e6909..1a71191 100644 Binary files a/QNRTC-API-Examples/app/libs/qndroid-rtc-6.2.0.jar and b/QNRTC-API-Examples/app/libs/qndroid-rtc-6.3.0.jar differ diff --git a/QNRTC-API-Examples/app/src/main/java/com/qiniu/droid/rtc/api/examples/activity/MediaRelayActivity.java b/QNRTC-API-Examples/app/src/main/java/com/qiniu/droid/rtc/api/examples/activity/MediaRelayActivity.java index 03f2285..cb247fa 100644 --- a/QNRTC-API-Examples/app/src/main/java/com/qiniu/droid/rtc/api/examples/activity/MediaRelayActivity.java +++ b/QNRTC-API-Examples/app/src/main/java/com/qiniu/droid/rtc/api/examples/activity/MediaRelayActivity.java @@ -214,7 +214,12 @@ private void initView() { ToastUtils.showShortToast(this, "token 为空!"); return; } - String roomName = Utils.parseRoomToken(roomToken).optString(Config.KEY_ROOM_NAME); + JSONObject parseResult = Utils.parseRoomToken(roomToken); + if (parseResult == null) { + ToastUtils.showShortToast(this, "token 解析失败,请检查合法性!"); + return; + } + String roomName = parseResult.optString(Config.KEY_ROOM_NAME); if (TextUtils.isEmpty(roomName)) { ToastUtils.showShortToast(this, "非法 token!"); return; diff --git a/QNRTC-API-Examples/app/src/main/jniLibs/arm64-v8a/libqndroid_rtc.so b/QNRTC-API-Examples/app/src/main/jniLibs/arm64-v8a/libqndroid_rtc.so index 68e8960..46298ab 100755 Binary files a/QNRTC-API-Examples/app/src/main/jniLibs/arm64-v8a/libqndroid_rtc.so and b/QNRTC-API-Examples/app/src/main/jniLibs/arm64-v8a/libqndroid_rtc.so differ diff --git a/QNRTC-API-Examples/app/src/main/jniLibs/armeabi-v7a/libqndroid_rtc.so b/QNRTC-API-Examples/app/src/main/jniLibs/armeabi-v7a/libqndroid_rtc.so index 1649a54..d3ff2ea 100755 Binary files a/QNRTC-API-Examples/app/src/main/jniLibs/armeabi-v7a/libqndroid_rtc.so and b/QNRTC-API-Examples/app/src/main/jniLibs/armeabi-v7a/libqndroid_rtc.so differ diff --git a/QNRTC-API-Examples/app/src/main/jniLibs/x86/libqndroid_rtc.so b/QNRTC-API-Examples/app/src/main/jniLibs/x86/libqndroid_rtc.so index c32b88a..623b266 100755 Binary files a/QNRTC-API-Examples/app/src/main/jniLibs/x86/libqndroid_rtc.so and b/QNRTC-API-Examples/app/src/main/jniLibs/x86/libqndroid_rtc.so differ diff --git a/ReleaseNotes/release-notes-6.3.0.md b/ReleaseNotes/release-notes-6.3.0.md new file mode 100644 index 0000000..0027f07 --- /dev/null +++ b/ReleaseNotes/release-notes-6.3.0.md @@ -0,0 +1,23 @@ +# QNDroidRTC Release Notes for 6.3.0 + +## 简介 + +QNDroidRTC 是七牛推出的一款适用于 Android 平台的音视频通话 SDK,提供了包括美颜、滤镜、音视频通话等多种功能,提供灵活的接口,支持高度定制以及二次开发。 + +## 版本 + +- 发布 qndroid-rtc-6.3.0.jar +- 更新 libqndroid_rtc.so + +## 功能 + +- 支持视频上下行分段 FEC 功能 + +## 注意事项 +- 混音的使用姿势发生了改变,详情可参考[背景音乐混音](https://developer.qiniu.com/rtc/8771/background-music-mix-android)、[多音效混音](https://developer.qiniu.com/rtc/11965/android_audio_effect_mixing)、[音频裸数据混音](https://developer.qiniu.io/rtc/12581/android_audio_source_mixing)使用指南 +- libqnquic.so 用于优化弱网下的信令传输,为非必需依赖项 +- libqcrash.so 用于搜集 SDK 的崩溃信息,为非必需依赖项 + +## 问题反馈 + +当你遇到任何问题时,可以通过在 GitHub 的 repo 提交 `issues` 来反馈问题,请尽可能的描述清楚遇到的问题,如果有错误信息也一同附带,并且在 ```Labels``` 中指明类型为 bug 或者其他。 [通过这里查看已有的 issues 和提交 bug](https://github.com/pili-engineering/QNRTC-Android/issues) diff --git a/releases/arm64-v8a/libqndroid_rtc.so b/releases/arm64-v8a/libqndroid_rtc.so index 68e8960..46298ab 100755 Binary files a/releases/arm64-v8a/libqndroid_rtc.so and b/releases/arm64-v8a/libqndroid_rtc.so differ diff --git a/releases/armeabi-v7a/libqndroid_rtc.so b/releases/armeabi-v7a/libqndroid_rtc.so index 1649a54..d3ff2ea 100755 Binary files a/releases/armeabi-v7a/libqndroid_rtc.so and b/releases/armeabi-v7a/libqndroid_rtc.so differ diff --git a/releases/qndroid-rtc-6.2.0.jar b/releases/qndroid-rtc-6.3.0.jar similarity index 93% rename from releases/qndroid-rtc-6.2.0.jar rename to releases/qndroid-rtc-6.3.0.jar index 37e6909..1a71191 100644 Binary files a/releases/qndroid-rtc-6.2.0.jar and b/releases/qndroid-rtc-6.3.0.jar differ diff --git a/releases/x86/libqndroid_rtc.so b/releases/x86/libqndroid_rtc.so index c32b88a..623b266 100755 Binary files a/releases/x86/libqndroid_rtc.so and b/releases/x86/libqndroid_rtc.so differ