Changeset 642 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Aug 2, 2006 6:22:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r637 r642 969 969 pj_assert(conf_port != NULL); 970 970 971 /* Connect to the conference port */ 972 status = pjmedia_snd_port_connect(pjsua_var.snd_port, conf_port); 971 /* Create AEC if it's not created */ 972 if (pjsua_var.aec_port == NULL) { 973 status = pjmedia_aec_port_create(pjsua_var.pool, conf_port, 974 conf_port->info.clock_rate * 975 pjsua_var.media_cfg.ec_tail_len / 976 1000, 977 &pjsua_var.aec_port); 978 if (status != PJ_SUCCESS) { 979 pjsua_perror(THIS_FILE, "Unable to create AEC port", status); 980 pjmedia_snd_port_destroy(pjsua_var.snd_port); 981 pjsua_var.snd_port = NULL; 982 return status; 983 } 984 } 985 986 /* Connect to the AEC port */ 987 status = pjmedia_snd_port_connect(pjsua_var.snd_port, pjsua_var.aec_port); 973 988 if (status != PJ_SUCCESS) { 974 989 pjsua_perror(THIS_FILE, "Unable to connect conference port to "
Note: See TracChangeset
for help on using the changeset viewer.