Changeset 4956


Ignore:
Timestamp:
Oct 31, 2014 12:14:28 PM (10 years ago)
Author:
riza
Message:

Fixed #1797: Clean up provisional media is executed when there is an ongoing SDP negotiation.
Scenario:

  1. re-invite got 491, state tsx changed to completed
  2. cleanup prov med executed
  3. re-invite again with video
  4. timer tsx to shift tsx no 1, from completed -> terminated trigger provisional cleanup
  5. provisional video transport in no 3 got cleanup
File:
1 edited

Legend:

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

    r4948 r4956  
    46944694               pjsip_method_cmp(&tsx->method, &pjsip_invite_method)==0 && 
    46954695               tsx->state >= PJSIP_TSX_STATE_COMPLETED && 
     4696               e->body.tsx_state.prev_state < PJSIP_TSX_STATE_COMPLETED && 
    46964697               (tsx->status_code!=401 && tsx->status_code!=407)) 
    46974698    { 
     
    47274728               pjsip_method_cmp(&tsx->method, &pjsip_update_method)==0 && 
    47284729               tsx->state >= PJSIP_TSX_STATE_COMPLETED && 
     4730               e->body.tsx_state.prev_state < PJSIP_TSX_STATE_COMPLETED && 
    47294731               (tsx->status_code!=401 && tsx->status_code!=407)) 
    47304732    { 
Note: See TracChangeset for help on using the changeset viewer.