PK结束消失PK条

This commit is contained in:
18401019693 2022-12-27 10:03:05 +08:00
parent 874800c19d
commit d31af73479
3 changed files with 13 additions and 2 deletions

View File

@ -10,9 +10,9 @@ ext {
manifestPlaceholders = [ manifestPlaceholders = [
// //
// serverHost : "https://napi.yaoulive.com", serverHost : "https://napi.yaoulive.com",
// //
serverHost : "https://ceshi.yaoulive.com", // serverHost : "https://ceshi.yaoulive.com",
// //
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB", txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",

View File

@ -1501,6 +1501,11 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
mLivePushViewHolder.changeToBig(); mLivePushViewHolder.changeToBig();
} }
break; break;
case AI_AUTOMATIC_SPEECH:
if (mLiveRoomViewHolder != null) {
mLiveRoomViewHolder.aiAutomaticSpeech((event.getAiAutomaticSpeechModel()));
}
break;
} }
} }

View File

@ -391,6 +391,12 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
if (mIsAnchor) { if (mIsAnchor) {
((LiveRyAnchorActivity) mContext).setPkBtnVisible(true); ((LiveRyAnchorActivity) mContext).setPkBtnVisible(true);
} }
//如果PK结束Im没有发送关闭PK的消息倒计时结束自动关闭
if (mLiveLinkMicPkViewHolder != null) {
mLiveLinkMicPkViewHolder.removeFromParent();
mLiveLinkMicPkViewHolder.release();
}
mLiveLinkMicPkViewHolder = null;
} }
} }
} }