Changeset 3925 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
- Timestamp:
- Dec 27, 2011 12:47:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r3919 r3925 511 511 pj_bzero(opt, sizeof(*opt)); 512 512 opt->flag = PJSUA_CALL_INCLUDE_DISABLED_MEDIA; 513 opt->aud io_cnt = 1;513 opt->aud_cnt = 1; 514 514 515 515 #if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 516 opt->vid eo_cnt = 1;516 opt->vid_cnt = 1; 517 517 opt->req_keyframe_method = PJSUA_VID_REQ_KEYFRAME_SIP_INFO | 518 518 PJSUA_VID_REQ_KEYFRAME_RTCP_PLI; … … 530 530 531 531 #if !PJMEDIA_HAS_VIDEO 532 pj_assert(opt->vid eo_cnt == 0);532 pj_assert(opt->vid_cnt == 0); 533 533 #endif 534 534 … … 542 542 543 543 /* Reinit media channel when media count is changed */ 544 if (opt->aud io_cnt != old_opt.audio_cnt ||545 opt->vid eo_cnt != old_opt.video_cnt)544 if (opt->aud_cnt != old_opt.aud_cnt || 545 opt->vid_cnt != old_opt.vid_cnt) 546 546 { 547 547 pjsip_role_e role = rem_sdp? PJSIP_ROLE_UAS : PJSIP_ROLE_UAC; … … 1599 1599 info->rem_offerer = call->rem_offerer; 1600 1600 if (call->rem_offerer) { 1601 info->rem_aud io_cnt = call->rem_aud_cnt;1602 info->rem_vid eo_cnt = call->rem_vid_cnt;1601 info->rem_aud_cnt = call->rem_aud_cnt; 1602 info->rem_vid_cnt = call->rem_vid_cnt; 1603 1603 } 1604 1604
Note: See TracChangeset
for help on using the changeset viewer.