Changeset 1860 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Mar 11, 2008 9:38:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r1855 r1860 815 815 enum { MAX_MEDIA = 1, MEDIA_IDX = 0 }; 816 816 pjmedia_sdp_session *sdp; 817 pjmedia_ sock_info skinfo;817 pjmedia_transport_info tpinfo; 818 818 pjsua_call *call = &pjsua_var.calls[call_id]; 819 819 pj_status_t status; … … 827 827 828 828 /* Get media socket info */ 829 pjmedia_transport_get_info(call->med_tp, & skinfo);829 pjmedia_transport_get_info(call->med_tp, &tpinfo); 830 830 831 831 /* Create SDP */ 832 832 status = pjmedia_endpt_create_sdp(pjsua_var.med_endpt, pool, MAX_MEDIA, 833 & skinfo, &sdp);833 &tpinfo.sock_info, &sdp); 834 834 if (status != PJ_SUCCESS) { 835 835 if (sip_status_code) *sip_status_code = 500;
Note: See TracChangeset
for help on using the changeset viewer.