Merge remote-tracking branch 'origin/master'

This commit is contained in:
zlzw 2022-12-01 17:29:12 +08:00
commit 6bdd81038b

View File

@ -1527,8 +1527,25 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
@Override
public void onError(IRongCoreEnum.CoreErrorCode coreErrorCode) {
try {
Log.i("tx", "退出成功" + mLiveBean.getUid());
LiveNetManager.get(mContext)
.leaveRoomNew(mLiveBean.getStream(), mLiveBean.getUid(), new com.yunbao.common.http.base.HttpCallback<String>() {
@Override
public void onSuccess(String data) {
}
@Override
public void onError(String error) {
}
});
} catch (Exception e) {
e.printStackTrace();
}
}
});