Hello, I have response from SSW 183 with sdp, but I can't get remote sdp.
Function pjmedia_sdp_neg_get_active_remote() and pjmedia_sdp_neg_get_neg_remote() - don't work when pjsua_call_info state=PJSIP_INV_STATE_EARLY, when state=PJSIP_INV_STATE_CONFIRMED pjmedia_sdp_neg_get_active_remote() - work.
In callback function I have data 'pjsua_call_id call_id' and 'pjsip_event *e'.
How can I get remote sdp data, wen state=PJSIP_INV_STATE_EARLY?
Hi,
pjsip_rdata_sdp_info *sdp_info;
sdp_info = pjsip_rdata_get_sdp_info(e->body.rx_msg.rdata);
You have remote sdp in sdp_info->sdp.
Brgds,
Gabriel.
On 18.09.2015 14:10, Василий wrote:
Hello, I have response from SSW 183 with sdp, but I can't get remote sdp.
Function pjmedia_sdp_neg_get_active_remote() and
pjmedia_sdp_neg_get_neg_remote() - don't work when pjsua_call_info
state=PJSIP_INV_STATE_EARLY, when state=PJSIP_INV_STATE_CONFIRMED
pjmedia_sdp_neg_get_active_remote() - work.
In callback function I have data 'pjsua_call_id call_id' and
'pjsip_event *e'.
How can I get remote sdp data, wen state=PJSIP_INV_STATE_EARLY?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org