Changeset 4336 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_aud.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_aud.c
r4254 r4336 589 589 /* Check if no media is active */ 590 590 if (si->dir != PJMEDIA_DIR_NONE) { 591 592 /* Override ptime, if this option is specified. */593 if (pjsua_var.media_cfg.ptime != 0) {594 si->param->setting.frm_per_pkt = (pj_uint8_t)595 (pjsua_var.media_cfg.ptime / si->param->info.frm_ptime);596 if (si->param->setting.frm_per_pkt == 0)597 si->param->setting.frm_per_pkt = 1;598 }599 600 /* Disable VAD, if this option is specified. */601 if (pjsua_var.media_cfg.no_vad) {602 si->param->setting.vad = 0;603 }604 605 591 606 592 /* Optionally, application may modify other stream settings here
Note: See TracChangeset
for help on using the changeset viewer.