I have an IOS VOIP application, using PJSIP library. The problem is when I make outbounding call and after it I call pjsua_destroy() function it always crashes with EXC_BAD_ACCESS. The last string in logs is:
Strict-Transport-Security
It seems like media is not deallocated properly or smth like that.
答案 0 :(得分:0)
您需要在拨打音频电话之前停用视频通话,
//--- Disable video call before make call ------
pjsua_call_setting callSettings;
pjsua_call_setting_default(&callSettings);
callSettings.vid_cnt = 0;
status = pjsua_call_make_call(acc_id, &pj_uri, &callSettings, NULL, NULL, call_id);