- Timestamp:
- Mar 8, 2013 8:52:40 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r4412 r4433 2577 2577 } 2578 2578 2579 /* Codec parameter of stream info (si->param) can be NULL if 2580 * the stream is rejected or disabled. 2581 */ 2579 2582 /* Override ptime, if this option is specified. */ 2580 if (pjsua_var.media_cfg.ptime != 0 ) {2583 if (pjsua_var.media_cfg.ptime != 0 && si->param) { 2581 2584 si->param->setting.frm_per_pkt = (pj_uint8_t) 2582 2585 (pjsua_var.media_cfg.ptime / si->param->info.frm_ptime); … … 2586 2589 2587 2590 /* Disable VAD, if this option is specified. */ 2588 if (pjsua_var.media_cfg.no_vad ) {2591 if (pjsua_var.media_cfg.no_vad && si->param) { 2589 2592 si->param->setting.vad = 0; 2590 2593 }
Note: See TracChangeset
for help on using the changeset viewer.