修改BUG
This commit is contained in:
@@ -411,7 +411,9 @@ public class AgoraManager {
|
||||
@SuppressLint("SuspiciousIndentation")
|
||||
public void setLocalAudioEnabled(boolean enabled, String userId) {
|
||||
if (rtcEngine != null) {
|
||||
rtcEngine.enableLocalAudio(enabled); // 启用/禁用音频采集
|
||||
if (userId.equals(SpUtil.getUserId()+"")) {
|
||||
rtcEngine.enableLocalAudio(enabled); // 启用/禁用音频采集
|
||||
}
|
||||
this.isLocalAudioEnabled = enabled;
|
||||
if (!enabled) {
|
||||
for (SoundLevelUpdateListener listener : soundLevelUpdateListeners) {
|
||||
|
||||
Reference in New Issue
Block a user