我正在使用Quickblox版本2.5.2来开发视频聊天。但是,当呼叫连接其崩溃时。我在下面添加了日志文件。
E/AudioRecord: Could not get audio input for record source 7, sample rate 48000, format 0x1, channel mask 0x10, session 648, flags 0
E/AudioRecord-JNI: Error creating AudioRecord instance: initialization check failed with status -22. E/android.media.AudioRecord: Error code -20 when initializing native AudioRecord object.
W/System.err: java.lang.AssertionError: Expected condition to be true
W/System.err: at org.webrtc.voiceengine.WebRtcAudioRecord.assertTrue(WebRtcAudioRecord.java:266)
W/System.err: at org.webrtc.voiceengine.WebRtcAudioRecord.InitRecording(WebRtcAudioRecord.java:186)
E/rtc: #
# Fatal error in ../../webrtc/modules/utility/source/jvm_android.cc, line 117
# Check failed: !jni_->ExceptionCheck()
# Error during CallIntMethod
#
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 13555 (Thread-2350)
我用Google搜索解决了这个问题,但我没有得到任何相关的答案。