This is the error when i receive a call when i accept incomming call in SIP.
11-28 14:25:35.669:E / AudioRecord(21143):AudioFlinger无法创建记录轨道,状态:-1 11-28 14:25:35.679:E / AudioRecord-JNI(21143):创建AudioRecord实例时出错:初始化检查失败。 11-28 14:25:35.679:E / android.media.AudioRecord(21143):初始化本机AudioRecord对象时出现错误代码-20。 11-28 14:25:35.679:E / org.doubango.ngn.media.NgnProxyAudioProducer(21143):prepare(0)失败 11-28 14:25:35.719:E / tinyWRAP(21143): * [DOUBANGO ERROR]:功能:" tdav_session_audio_start()" 11-28 14:25:35.719:E / tinyWRAP(21143):file:" src / audio / tdav_session_audio.c" 11-28 14:25:35.719:E / tinyWRAP(21143):line:" 425" 11-28 14:25:35.719:E / tinyWRAP(21143):MSG:tdav_session_av_start(音频)失败 11-28 14:25:35.719:E / tinyWRAP(21143): [DOUBANGO ERROR]:功能:" _tmedia_session_mgr_start()" 11-28 14:25:35.719:E / tinyWRAP(21143):file:" src / tmedia_session.c" 11-28 14:25:35.719:E / tinyWRAP(21143):line:" 2370" 11-28 14:25:35.719:E / tinyWRAP(21143):MSG:无法启动音频会话 11-28 14:25:35.719:E / tinyWRAP(21143): [DOUBANGO ERROR]:功能:" tmedia_session_mgr_set_ro()" 11-28 14:25:35.719:E / tinyWRAP(21143):file:" src / tmedia_session.c" 11-28 14:25:35.719:E / tinyWRAP(21143):line:" 1526" 11-28 14:25:35.719:E / tinyWRAP(21143):MSG:无法在index = 0重新开始会话 11-28 14:25:35.719:收到E /广播(21143):处理媒体事件 11-28 14:25:35.799:E / tinyWRAP(21143):* [DOUBANGO ERROR]:功能:" tsip_dialog_invite_process_ro()" 11-28 14:25:35.799:E / tinyWRAP(21143):file:" src / dialogs / tsip_dialog_invite.c" 11-28 14:25:35.799:E / tinyWRAP(21143):line:" 508" 11-28 14:25:35.799:E / tinyWRAP(21143):味精:未能设置远程报价
below is the method to accept incomming call
private boolean acceptCall() {
if (mAVSession != null) {
return mAVSession.acceptCall();
}
return false;
}
答案 0 :(得分:1)
这是由于本机服务未启动。检查本机服务是否在清单中注册或通过本机服务类