From fa6eda5936a1e3c3a7368c2ac266314e2e7e1e48 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Thu, 1 Dec 2022 17:28:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=9E=8D=E4=BA=91=E5=A4=B1=E8=B4=A5=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E6=B7=BB=E5=8A=A0=E7=9B=B4=E6=92=AD=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yunbao/live/views/PortraitLiveManager.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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(); + } } });