82 youhua.

This commit is contained in:
2025-12-30 20:02:39 +08:00
parent 9126676599
commit 479e039e56
3 changed files with 5 additions and 5 deletions

View File

@@ -136,7 +136,7 @@ public class CommonAppContext extends MultiDexApplication implements Application
@Getter
public UnreadCountEvent unreadCountEvent;
public static int selectRelease = -1;
public static int selectRelease = 1;
public int is_open = 0;//主题的开关

View File

@@ -125,7 +125,7 @@ public class AgoraManager {
private Disposable disposableC;
// UI 刷新最小间隔ms
private static final long SOUND_UI_INTERVAL = 120;
private static final long SOUND_UI_INTERVAL = 200;
private final Handler uiHandler = new Handler(Looper.getMainLooper());
private long lastDispatchTime = 0;
@@ -212,7 +212,7 @@ public class AgoraManager {
try {
rtcEngine.setAudioProfile(Constants.AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO,
Constants.AUDIO_SCENARIO_GAME_STREAMING);
rtcEngine.enableAudioVolumeIndication(100, 3, true);
rtcEngine.enableAudioVolumeIndication(100, 3, false);
rtcEngine.setClientRole(Constants.CLIENT_ROLE_BROADCASTER);
rtcEngine.muteLocalAudioStream(true); // 默认静音
rtcEngine.muteAllRemoteAudioStreams(false); // 监听远端的音频

View File

@@ -289,7 +289,7 @@ public abstract class BaseWheatView extends ConstraintLayout implements IBaseWhe
if (String.valueOf(uid).equals(pitBean.getUser_id())) {
if (mIvRipple == null)
return;
mIvRipple.setVisibility(GONE);
mIvRipple.setVisibility(INVISIBLE);
}
}
});
@@ -301,7 +301,7 @@ public abstract class BaseWheatView extends ConstraintLayout implements IBaseWhe
private void updateSpeakingState(boolean nowSpeaking) {
// 1⃣ 状态未变化,直接丢弃(核心)
if (nowSpeaking == isSpeaking) return;
// if (nowSpeaking == isSpeaking) return;
isSpeaking = nowSpeaking;
if (!nowSpeaking) {