修复【在连麦中可以通过全屏广播跳转】
This commit is contained in:
parent
afd4cb6e41
commit
030fdb6ad0
@ -982,6 +982,10 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
if (event.getMicIng() == 1) {
|
||||
manager.micIngTypeOne(event.getBean(), event.getLiveType(), event.getLiveTypeVal());
|
||||
} else if (event.getMicIng() == 2) {
|
||||
if (MicStatusManager.getInstance().getMicStatus() == MicStatusManager.MIC_TYPE_OPEN) {
|
||||
MicStatusManager.getInstance().showDownMicDialog(mContext);
|
||||
return;
|
||||
}
|
||||
manager.micIngTypeTwo(event.getBean(), event.getLiveType(), event.getLiveTypeVal());
|
||||
} else {
|
||||
//获取房间连麦状态
|
||||
|
@ -268,8 +268,8 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
mLivePlayViewHolder.setOnMicCallback(new LiveRoomPlayViewHolder.OnMicCallback() {
|
||||
@Override
|
||||
public void onMikUpdate() {
|
||||
if(mContext instanceof LiveActivity) {
|
||||
((LiveActivity) mContext).showMicList(mLiveBean.getUid(),mLiveRoomViewHolder);
|
||||
if (mContext instanceof LiveActivity) {
|
||||
((LiveActivity) mContext).showMicList(mLiveBean.getUid(), mLiveRoomViewHolder);
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -520,13 +520,12 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
mLiveRoomViewHolder.showLiveRoomActivityBanner();
|
||||
}
|
||||
});
|
||||
if(mContext instanceof LiveActivity) {
|
||||
((LiveActivity) mContext).showMicList(mLiveBean.getUid(),mLiveRoomViewHolder);
|
||||
if (mContext instanceof LiveActivity) {
|
||||
((LiveActivity) mContext).showMicList(mLiveBean.getUid(), mLiveRoomViewHolder);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void removeLiveEnd() {
|
||||
if (mLiveAudienceViewHolder != null) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user