Changeset 4204
- Timestamp:
- Jul 13, 2012 7:38:06 AM (12 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r4180 r4204 2744 2744 pj_str_t proxy[PJSUA_ACC_MAX_PROXIES]; 2745 2745 2746 /** 2747 * If remote sends SDP answer containing more than one format or codec in 2748 * the media line, send re-INVITE or UPDATE with just one codec to lock 2749 * which codec to use. 2750 * 2751 * Default: 1 (Yes). Set to zero to disable. 2752 */ 2753 unsigned lock_codec; 2754 2746 2755 /** 2747 2756 * Optional interval for registration, in seconds. If the value is zero, -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r4176 r4204 3060 3060 pj_bool_t has_mult_fmt = PJ_FALSE; 3061 3061 pj_status_t status; 3062 3063 if (!pjsua_var.acc[call->acc_id].cfg.lock_codec) { 3064 return PJ_SUCCESS; 3065 } 3062 3066 3063 3067 /* Stop lock codec timer, if it is active */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r4200 r4204 216 216 cfg->use_timer = pjsua_var.ua_cfg.use_timer; 217 217 cfg->timer_setting = pjsua_var.ua_cfg.timer_setting; 218 cfg->lock_codec = 1; 218 219 cfg->ka_interval = 15; 219 220 cfg->ka_data = pj_str("\r\n");
Note: See TracChangeset
for help on using the changeset viewer.