안드로이드 앱에서 알림을 받고 통화 연결을 하면 마이크가 활성화 되지 않는것 같습니다.
이번 테스트는 아니지만 이전 테스트에는 웹에서 호출한 목소리만 드리고 안드로이드 앱의 소리는 전달되지 않습니다.
아래 코드를 보면 “AAudio support is currently disabled on all devices!” 이런 내용이 있습니다.
어떤 설정을 추가하면 되나요?
09-01 12:22:58.648 … I/org.webrtc.Logging: WebRtcAudioManager: ctor@[name=Thread-45439, id=45439]
09-01 12:22:58.648 … I/org.webrtc.Logging: WebRtcAudioManager: Sample rate is set to 48000 Hz
09-01 12:22:58.658 … I/org.webrtc.Logging: WebRtcAudioEffects: canUseAcousticEchoCanceler: true
09-01 12:22:58.658 … I/org.webrtc.Logging: WebRtcAudioEffects: canUseNoiseSuppressor: true
09-01 12:22:58.668 … W/org.webrtc.Logging: WebRtcAudioManager: AAudio support is currently disabled on all devices!
09-01 12:22:58.668 … I/org.webrtc.Logging: WebRtcAudioManager: Android SDK: 23, Release: 6.0.1, Brand: samsung, Device: lentisltektt, Id: MMB29M, Hardware: qcom, Manufacturer: samsung, Model: SM-G906K, Product: lentisltektt
09-01 12:22:58.668 … I/org.webrtc.Logging: WebRtcAudioManager: Audio State: audio mode: MODE_IN_COMMUNICATION, has mic: true, mic muted: false, music active: false, speakerphone: true, BT SCO: false
09-01 12:22:58.668 … I/org.webrtc.Logging: WebRtcAudioManager: Audio State:
09-01 12:22:58.668 … I/org.webrtc.Logging: WebRtcAudioManager: fixed volume=false
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: STREAM_VOICE_CALL: volume=5, max=5, muted=false
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: STREAM_MUSIC: volume=10, max=15, muted=false
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: STREAM_RING: volume=14, max=15, muted=false
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: STREAM_ALARM: volume=11, max=15, muted=false
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: STREAM_NOTIFICATION: volume=11, max=15, muted=false
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: STREAM_SYSTEM: volume=11, max=15, muted=false
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: Audio Devices:
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: TYPE_BUILTIN_EARPIECE(out): id=1
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: TYPE_BUILTIN_SPEAKER(out): id=2
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: TYPE_BUILTIN_MIC(in): channels=[1, 2], encodings=[2], sample rates=[8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000], id=5
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: TYPE_TELEPHONY(in): channels=[1, 2], encodings=[2], sample rates=[8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000], id=6
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: SM-G906K is blacklisted for OpenSL ES usage!
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioManager: SM-G906K is blacklisted for OpenSL ES usage!
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioTrack: ctor@[name=Thread-45439, id=45439]
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioRecord: ctor@[name=Thread-45439, id=45439]
09-01 12:22:58.678 … I/org.webrtc.Logging: WebRtcAudioEffects: ctor@[name=Thread-45439, id=45439]
09-01 12:22:58.688 … I/org.webrtc.Logging: WebRtcAudioManager: init@[name=Thread-45439, id=45439]
09-01 12:22:58.688 … I/org.webrtc.Logging: WebRtcAudioManager: audio mode is: MODE_IN_COMMUNICATION
09-01 12:22:58.688 … I/org.webrtc.Logging: WebRtcAudioRecord: enableBuiltInAEC(true)
09-01 12:22:58.688 … I/org.webrtc.Logging: WebRtcAudioEffects: setAEC(true)
09-01 12:22:58.688 … I/org.webrtc.Logging: WebRtcAudioEffects: canUseAcousticEchoCanceler: true
09-01 12:22:58.688 … I/org.webrtc.Logging: WebRtcAudioRecord: enableBuiltInNS(true)
09-01 12:22:58.688 … I/org.webrtc.Logging: WebRtcAudioEffects: setNS(true)
09-01 12:22:58.688 … I/org.webrtc.Logging: WebRtcAudioEffects: canUseNoiseSuppressor: true
09-01 12:22:58.688 … I/org.webrtc.Logging: PeerConnectionFactory: onWorkerThreadReady
09-01 12:22:58.688 … I/org.webrtc.Logging: PeerConnectionFactory: onNetworkThreadReady
09-01 12:22:58.688 … I/org.webrtc.Logging: PeerConnectionFactory: onSignalingThreadReady
09-01 12:22:58.688 … D/WebSocketClient: connectChannel() - chId=1598930566935_vglwu
09-01 12:22:58.688 … I/org.webrtc.Logging: WebRtcAudioManager: VOICE_CALL stream volume: 5 (max=5)
09-01 12:22:58.698 … D/AppRTCAudioManager: WiredHeadsetReceiver.onReceive@[name=main, id=1]: a=android.intent.action.HEADSET_PLUG, s=unplugged, m=mic, n=null, sb=true