Skip to content

Commit

Permalink
Merge pull request #65 from chenqian-dev/master
Browse files Browse the repository at this point in the history
Release v4.0.1
  • Loading branch information
BoleLiu authored Jan 14, 2022
2 parents 14f8212 + 596fdf9 commit 9a034a5
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 3 deletions.
4 changes: 2 additions & 2 deletions QNDroidRTCDemo/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ android {
applicationId "com.qiniu.droid.rtc.demo"
minSdkVersion 18
targetSdkVersion 30
versionCode 32
versionName "4.0.0"
versionCode 33
versionName "4.0.1"
buildConfigField "long", "BUILD_TIMESTAMP", System.currentTimeMillis() + "L"
}

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
import com.qiniu.droid.rtc.QNLiveStreamingErrorInfo;
import com.qiniu.droid.rtc.QNLiveStreamingListener;
import com.qiniu.droid.rtc.QNLocalTrack;
import com.qiniu.droid.rtc.QNMediaRelayState;
import com.qiniu.droid.rtc.QNMicrophoneAudioTrack;
import com.qiniu.droid.rtc.QNMicrophoneAudioTrackConfig;
import com.qiniu.droid.rtc.QNNetworkQuality;
Expand Down Expand Up @@ -899,7 +900,7 @@ public void onAudioRouteChanged(QNAudioDevice device) {
*/
@Override
public void onConnectionStateChanged(QNConnectionState state, @Nullable QNConnectionDisconnectedInfo info) {
Log.i(TAG, "onRoomStateChanged:" + state.name());
Log.i(TAG, "onConnectionStateChanged:" + state.name());
switch (state) {
case DISCONNECTED:
/**
Expand Down Expand Up @@ -1115,6 +1116,11 @@ public void onMessageReceived(QNCustomMessage message) {
finish();
}
}

@Override
public void onMediaRelayStateChanged(String relayRoom, QNMediaRelayState state) {

}
};

private final QNCameraEventListener mCameraEventListener = new QNCameraEventListener() {
Expand Down
Binary file not shown.
23 changes: 23 additions & 0 deletions ReleaseNotes/release-notes-4.0.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# QNDroidRTC Release Notes for 4.0.1

## 简介

QNDroidRTC 是七牛推出的一款适用于 Android 平台的音视频通话 SDK,提供了包括美颜、滤镜、音视频通话等多种功能,提供灵活的接口,支持高度定制以及二次开发。

## 版本

- 发布 qndroid-rtc-4.0.1.jar

## 功能

- 新增场景和角色设置,详见 QNRTC.createClient, QNRTCClient.setClientRole
- 跨房媒体转发功能,详见 QNRTCClient.(start/update/stop)MediaRelay
- 麦克风被占用时提供检测方法或错误回调

## 缺陷

- 修复断网时统计信息依然回调质量正常的问题

## 问题反馈

当你遇到任何问题时,可以通过在 GitHub 的 repo 提交 `issues` 来反馈问题,请尽可能的描述清楚遇到的问题,如果有错误信息也一同附带,并且在 ```Labels``` 中指明类型为 bug 或者其他。 [通过这里查看已有的 issues 和提交 bug](https://github.com/pili-engineering/QNRTC-Android/issues)
Binary file not shown.

0 comments on commit 9a034a5

Please sign in to comment.