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 cf12e812e..633705f76 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java @@ -710,6 +710,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;