diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java index be1513e7c..7622dd73e 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -1527,7 +1527,24 @@ 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() { + @Override + public void onSuccess(String data) { + } + + @Override + public void onError(String error) { + + } + }); + + } catch (Exception e) { + e.printStackTrace(); + } } });