优化麦圈显示延迟,拍卖房麦位丢失。

This commit is contained in:
2026-01-12 17:06:07 +08:00
parent c67b07e3b9
commit 39b9ea73a1
4 changed files with 28 additions and 14 deletions

View File

@@ -191,6 +191,8 @@ public abstract class BaseWheatView extends ConstraintLayout implements IBaseWhe
LogUtils.e("这是一个很诡异的东西 " + (mParser == null) +",pitBean.getMic_cycle():"+pitBean.getMic_cycle());
if (mParser != null) {
mParser = null;
mIvRipple.stopAnimation(); // 停止当前播放的动画
mIvRipple.setVideoItem(null);
}
micCycle = pitBean.getMic_cycle();
mParser = new SVGAParser(getContext());
@@ -238,7 +240,6 @@ public abstract class BaseWheatView extends ConstraintLayout implements IBaseWhe
mIvRipple.setScaleY(1.1f);
}
if (!isMentorShip) {
//心动值
//显示心动
if ("1".equals(pitBean.getShutup())) {
@@ -285,7 +286,6 @@ public abstract class BaseWheatView extends ConstraintLayout implements IBaseWhe
if (soundLevelUpdateListener != null){
AgoraManager.getInstance().removeSoundLevelListener(soundLevelUpdateListener);
}
soundLevelUpdateListener = new SoundLevelUpdateListener() {
@Override
public void onRemoteSoundLevelUpdate(String userId, int soundLevel) {