Changeset 4336 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Jan 29, 2013 8:15:02 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r4313 r4336 2565 2565 call_id, mi)); 2566 2566 continue; 2567 } 2568 2569 /* Override ptime, if this option is specified. */ 2570 if (pjsua_var.media_cfg.ptime != 0) { 2571 si->param->setting.frm_per_pkt = (pj_uint8_t) 2572 (pjsua_var.media_cfg.ptime / si->param->info.frm_ptime); 2573 if (si->param->setting.frm_per_pkt == 0) 2574 si->param->setting.frm_per_pkt = 1; 2575 } 2576 2577 /* Disable VAD, if this option is specified. */ 2578 if (pjsua_var.media_cfg.no_vad) { 2579 si->param->setting.vad = 0; 2567 2580 } 2568 2581
Note: See TracChangeset
for help on using the changeset viewer.