融云版本升级到5.3.6
This commit is contained in:
parent
a6754eb503
commit
bf719c64ea
@ -154,12 +154,12 @@ dependencies {
|
||||
//腾讯im
|
||||
api 'com.tencent.imsdk:imsdk-plus:5.4.666'
|
||||
api 'com.google.code.gson:gson:2.8.8'
|
||||
api 'cn.rongcloud.sdk:rtc_lib:5.2.0' // 音视频通话基础能力库
|
||||
api 'cn.rongcloud.sdk:rtc_lib:5.3.6' // 音视频通话基础能力库
|
||||
//此处以集成 5.1.2 版本为例
|
||||
api 'cn.rongcloud.sdk:im_lib:5.2.0.2'
|
||||
api 'cn.rongcloud.sdk:im_lib:5.3.6'
|
||||
|
||||
//此处以集成 5.1.2 版本为例
|
||||
api 'cn.rongcloud.sdk:im_kit:5.2.5.4' // 即时通讯 UI 基础组件
|
||||
api 'cn.rongcloud.sdk:im_kit:5.3.6' // 即时通讯 UI 基础组件
|
||||
//融云小视频模块
|
||||
api 'cn.rongcloud.sdk:sight:5.2.5.4'
|
||||
api 'com.facebook.android:facebook-android-sdk:15.2.0'
|
||||
|
@ -68,7 +68,6 @@ import com.yunbao.common.utils.LogUtil;
|
||||
import com.yunbao.common.utils.MicStatusManager;
|
||||
import com.yunbao.common.utils.StringUtil;
|
||||
import com.yunbao.common.utils.ToastUtil;
|
||||
import com.yunbao.common.utils.WordUtil;
|
||||
import com.yunbao.common.views.LiveNewWishListPopup;
|
||||
import com.yunbao.common.views.LiveRobotSettingCustomPopup;
|
||||
import com.yunbao.faceunity.FaceManager;
|
||||
@ -223,9 +222,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
|
||||
long bitRate = statusBean.bitRate;
|
||||
//丢包率
|
||||
long lossRate = statusBean.packetLostRate;
|
||||
//带宽
|
||||
String googAvailableSendBandwidth = statusReport.googAvailableSendBandwidth;
|
||||
Log.e("网速和内存", "获取视频:" + resolution + " 丢包率:" + lossRate + " 带宽:" + googAvailableSendBandwidth);
|
||||
Log.e("网速和内存", "获取视频:" + resolution + " 丢包率:" + lossRate);
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -799,7 +796,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
|
||||
mLiveAnchorViewHolder.startAnchorLiveTime();
|
||||
}
|
||||
mLiveBottomViewHolder = mLiveAnchorViewHolder;
|
||||
mSocketRyClient = new SocketRyClient(mLiveUid, this,mContext);
|
||||
mSocketRyClient = new SocketRyClient(mLiveUid, this, mContext);
|
||||
mSocketRyClient.setLivePushRyViewHolder(mLivePushViewHolder);
|
||||
CommonAppContext.Ingroup = 1;
|
||||
|
||||
@ -861,7 +858,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
|
||||
* 关闭直播
|
||||
*/
|
||||
public void closeLive() {
|
||||
DialogUitl.showSimpleDialog(mContext,mContext.getString(R.string.live_end_live), new DialogUitl.SimpleCallback() {
|
||||
DialogUitl.showSimpleDialog(mContext, mContext.getString(R.string.live_end_live), new DialogUitl.SimpleCallback() {
|
||||
@Override
|
||||
public void onConfirmClick(Dialog dialog, String content) {
|
||||
PKing = false;
|
||||
@ -990,7 +987,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
|
||||
|
||||
@Override
|
||||
public Dialog createLoadingDialog() {
|
||||
return DialogUitl.loadingDialog(mContext,mContext.getString(R.string.live_end_ing));
|
||||
return DialogUitl.loadingDialog(mContext, mContext.getString(R.string.live_end_ing));
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -1122,7 +1119,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
|
||||
@Override
|
||||
public void onSuperCloseLive() {
|
||||
endLive();
|
||||
DialogUitl.showSimpleTipDialog(mContext,mContext.getString(R.string.live_illegal));
|
||||
DialogUitl.showSimpleTipDialog(mContext, mContext.getString(R.string.live_illegal));
|
||||
}
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
|
Loading…
Reference in New Issue
Block a user