Ignore:
Timestamp:
Oct 17, 2014 12:47:31 AM (6 years ago)
Author:
ming
Message:

Fixed #1797: Clean up provisional media after re-invite/update

File:
1 edited

Legend:

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

    r4860 r4948  
    15301530    unsigned i; 
    15311531 
     1532    if (call->med_prov_cnt > call->med_cnt) { 
     1533        PJ_LOG(4,(THIS_FILE, "Call %d: cleaning up provisional media, " 
     1534                             "prov_med_cnt=%d, med_cnt=%d", 
     1535                             call_id, call->med_prov_cnt, call->med_cnt)); 
     1536    } 
     1537 
    15321538    for (i = idx; i < call->med_prov_cnt; ++i) { 
    15331539        pjsua_call_media *call_med = &call->media_prov[i]; 
     
    15551561        } 
    15561562    } 
     1563     
     1564    call->med_prov_cnt = 0; 
    15571565} 
    15581566 
Note: See TracChangeset for help on using the changeset viewer.