82 youhua.
This commit is contained in:
@@ -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;//主题的开关
|
||||
|
||||
|
||||
@@ -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); // 监听远端的音频
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user