Ignore:
Timestamp:
May 21, 2012 12:39:39 PM (12 years ago)
Author:
nanang
Message:

Fix #1511: destroy the media transport of the removed media.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r4128 r4132  
    22332233             * its re-offer. 
    22342234             */ 
     2235            if (call_med->tp) { 
     2236                /* Close the media transport */ 
     2237                pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_NULL); 
     2238                pjmedia_transport_close(call_med->tp); 
     2239                call_med->tp = call_med->tp_orig = NULL; 
     2240            } 
    22352241            continue; 
    22362242#if 0 
Note: See TracChangeset for help on using the changeset viewer.