浏览代码

[Android] Don't mute the microphone under any circumstance

It's a global action, and if we do that other applications won't be able to use
it. I experienced this with the system camera. We do, however, make sure to
enable it when we need to.

Note that enabling it doesn't mean we are *using* it. It just means we *can*,
and that we will get actual audio when we do.
j8
Saúl Ibarra Corretgé 8 年前
父节点
当前提交
1c1604bee7
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0
    1
      android/sdk/src/main/java/org/jitsi/meet/sdk/audiomode/AudioModeModule.java

+ 0
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/audiomode/AudioModeModule.java 查看文件

300
             audioManager.setMode(AudioManager.MODE_NORMAL);
300
             audioManager.setMode(AudioManager.MODE_NORMAL);
301
             audioManager.abandonAudioFocus(null);
301
             audioManager.abandonAudioFocus(null);
302
             audioManager.setSpeakerphoneOn(false);
302
             audioManager.setSpeakerphoneOn(false);
303
-            audioManager.setMicrophoneMute(true);
304
             setBluetoothAudioRoute(false);
303
             setBluetoothAudioRoute(false);
305
 
304
 
306
             return true;
305
             return true;

正在加载...
取消
保存