融云版本升级到5.3.6

This commit is contained in:
18401019693 2023-05-18 15:49:04 +08:00
parent a6754eb503
commit bf719c64ea
2 changed files with 8 additions and 11 deletions

View File

@ -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'

View File

@ -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)