修复安卓用户主播关播后在关播顶面显示主播最后一真画面。

修复安卓主播关播后还在一直推流。
This commit is contained in:
2024-06-18 17:39:05 +08:00
parent d8e9cc2189
commit 48e3ff46ab
3 changed files with 29 additions and 7 deletions

View File

@@ -630,6 +630,7 @@ public class LivePlaySwViewHolder extends LiveRoomPlayViewHolder {
mEnd = true;
mStarted = false;
Bus.getOff(this);
swAuManager.release();
EventBus.getDefault().unregister(this);
//swAuManager.exitChannelAll();
L.e(TAG, "release------->");

View File

@@ -549,6 +549,7 @@ public class LivePushSwViewHolder extends AbsRyLivePushViewHolder implements ITX
public void release() {
super.release();
Bus.getOff(this);
onDestroy();
LiveHttpUtil.cancel(LiveHttpConsts.LINK_MIC_TX_MIX_STREAM);
rtcRoom = null;
}