Changeset 643 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Aug 2, 2006 7:41:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r642 r643 970 970 971 971 /* Create AEC if it's not created */ 972 if (pjsua_var.aec_port == NULL ) {972 if (pjsua_var.aec_port == NULL && pjsua_var.media_cfg.ec_tail_len) { 973 973 status = pjmedia_aec_port_create(pjsua_var.pool, conf_port, 974 974 conf_port->info.clock_rate * … … 985 985 986 986 /* Connect to the AEC port */ 987 status = pjmedia_snd_port_connect(pjsua_var.snd_port, pjsua_var.aec_port); 987 status = pjmedia_snd_port_connect(pjsua_var.snd_port, 988 pjsua_var.media_cfg.ec_tail_len ? 989 pjsua_var.aec_port : conf_port ); 988 990 if (status != PJ_SUCCESS) { 989 991 pjsua_perror(THIS_FILE, "Unable to connect conference port to "
Note: See TracChangeset
for help on using the changeset viewer.