2014-03-24 3 views
4

을 반환 pjsua_call_make_call, 내가 사용 : 오랫동안상태에게 난의 VoIP 응용 프로그램에서 일하고 있어요 450851

status = pjsua_call_make_call(acc_id, &pj_uri, 0, NULL, &msg_data, call_id); 
if (status != PJ_SUCCESS) { 
     pjsua_perror(THIS__FILE, "Error making call, going to restart handler", status); 
     [SipHandlerListener restart:YES]; 
    } else { 
     // continue with actions 
    } 
} 

, 비 성공적인 상태에 대한 내 디코딩 오류 메시지가 "기본 상태 메시지는 내가 본

Unable to open sound device: Core audio error [status=450851] 

많은 사람들이 다른 장소에서이 로그 메시지를 게시하지만, 정확히이 오류에 대한 무엇입니까 : 나는 상태 값을 추적 할 때 지금 방금까지 "내가이 다음 오류 코드를 검색하고 발견 나에게 450851.했다 누구든지이 오류를 수정했습니다.

다른 상황에서 소리가 잘 들리지 않습니다. 걸려 오는 전화벨을 받고 전화를받습니다.

+0

해결 방법을 찾으셨습니까? 궁금. –

답변

0

예기치 않은 Core Audio 장치로 인해 오류가 발생했습니다.

내가 (모니터에는 스피커 나 마이크가 없습니다) 나는이 출력 참조 외부 모니터를 연결하는 경우 :

09:50:28.502  coreaudio_dev.c ..core audio detected 3 devices 
09:50:28.504  coreaudio_dev.c .. dev_id 0: Built-in Output (in=0, out=2) 44100Hz 
09:50:28.504  coreaudio_dev.c .. dev_id 1: Built-in Microphone (in=2, out=0) 44100Hz 
09:50:28.505  coreaudio_dev.c .. dev_id 2: HDMI (in=0, out=2) 48000Hz 
09:50:28.505  coreaudio_dev.c ..core audio initialized 

을 그리고 그 사용하려고 pjsip 장치가, 그리고 실패 것 같습니다 :

09:50:28.505   pjsua_aud.c Set sound device: capture=2, playback=2 
09:50:28.505   pjsua_aud.c .Opening sound device (speaker + mic) [email protected]/1/20ms 
09:50:28.510  coreaudio_dev.c ..Opening device 58 
09:50:28.511   pjsua_aud.c .Opening sound device (speaker + mic) [email protected]/1/20ms 
09:50:28.512  coreaudio_dev.c ..Opening device 58 
09:50:28.512   pjsua_aud.c .Opening sound device (speaker + mic) [email protected]/1/20ms 
09:50:28.513  coreaudio_dev.c ..Opening device 58 
09:50:28.514   pjsua_aud.c .Opening sound device (speaker + mic) [email protected]/1/20ms 
09:50:28.515  coreaudio_dev.c ..Opening device 58 
09:50:28.515   pjsua_aud.c .Opening sound device (speaker + mic) [email protected]/1/20ms 
09:50:28.516  coreaudio_dev.c ..Opening device 58 
09:50:28.516   pjsua_aud.c .Opening sound device (speaker + mic) [email protected]/1/20ms 
09:50:28.517  coreaudio_dev.c ..Opening device 58 
09:50:28.518   pjsua_aud.c .Unable to open sound device: Core audio error<A8>6<81><99><89>^? [status=450851] 

아마도 pjsip에서 Core Audio 장치를 지정하는 방법이 있지만 그다지 멀리는 알지 못합니다.

관련 문제