Changeset 2135 for pjproject/trunk
- Timestamp:
- Jul 14, 2008 11:31:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r2081 r2135 529 529 /* Close media transports */ 530 530 for (i=0; i<pjsua_var.ua_cfg.max_calls; ++i) { 531 if (pjsua_var.calls[i].med_tp_st != PJSUA_MED_TP_IDLE) { 532 pjsua_media_channel_deinit(i); 533 } 531 534 if (pjsua_var.calls[i].med_tp) { 532 535 (*pjsua_var.calls[i].med_tp->op->destroy)(pjsua_var.calls[i].med_tp); … … 1166 1169 } 1167 1170 1168 if (call->med_orig && call->med_tp != call->med_orig) {1171 if (call->med_orig && call->med_tp && call->med_tp != call->med_orig) { 1169 1172 pjmedia_transport_close(call->med_tp); 1170 1173 call->med_tp = call->med_orig;
Note: See TracChangeset
for help on using the changeset viewer.