From eaf973b9270c7a242a7b3013d0538c683282ae67 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Mon, 12 Dec 2022 15:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=95=E4=BA=BAPK=E8=83=9C?= =?UTF-8?q?=E5=88=A9=E7=8A=B6=E6=80=81=E5=B1=95=E7=A4=BA=E4=B8=8D=E5=AF=B9?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/live/activity/LiveAnchorActivity.java | 1 - .../java/com/yunbao/live/activity/LiveRyAnchorActivity.java | 3 +++ .../com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/activity/LiveAnchorActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveAnchorActivity.java index 00e4d0596..92e5187d1 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveAnchorActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveAnchorActivity.java @@ -514,7 +514,6 @@ public class LiveAnchorActivity extends LiveActivity implements LiveFunctionClic mLiveRyLinkMicPkPresenter.setLiveUid(mLiveUid, ""); } -// } //开始推流 if (mLivePushViewHolder != null) { diff --git a/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java index f3d430686..94403dda3 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java @@ -706,6 +706,9 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl if (mLiveRyLinkMicPkPresenter != null) { mLiveRyLinkMicPkPresenter.setSelfStream(mStream); } + if (mLiveRyLinkMicPkPresenter != null) { + mLiveRyLinkMicPkPresenter.setLiveUid(mLiveUid, ""); + } //开始推流 if (mLivePushViewHolder != null) { diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java index f36c2c691..7064b83ff 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveRyLinkMicPkPresenter.java @@ -69,6 +69,7 @@ import com.yunbao.live.socket.SocketSendBean; import com.yunbao.live.views.LiveLinkMicPkViewHolder; import com.yunbao.live.views.LivePushRyViewHolder; import com.yunbao.live.views.LiveRoomPlayViewHolder; +import com.yunbao.live.views.PortraitLiveManager; import org.greenrobot.eventbus.EventBus;