Ignore:
Timestamp:
Jun 23, 2010 12:21:20 PM (14 years ago)
Author:
bennylp
Message:

Another unterminated SDP offer/answer negotiation fix (Re: #1045):

  • fixed unterminated negotiation if our media transport rejects incoming offer (e.g. due to mismatch SRTP transport) with 488.
  • to fix the above, modified the SDP negotiator (sdp_neg.[hc])'s pjmedia_sdp_neg_cancel_offer() to also be able to cancel in remote offer state
  • also fixed the bug introduced previous Session Timer fix (Re: #1047), which cause SDP negotiator's state to be cleared after failed UAC UPDATE transaction is terminated, which means UPDATE can only be sent 5 seconds after the last UPDATE if the last UPDATE failed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c

    r3198 r3217  
    13911391 
    13921392    /* Must be in LOCAL_OFFER state. */ 
    1393     PJ_ASSERT_RETURN(neg->state == PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER, 
     1393    PJ_ASSERT_RETURN(neg->state == PJMEDIA_SDP_NEG_STATE_LOCAL_OFFER || 
     1394                     neg->state == PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER, 
    13941395                     PJMEDIA_SDPNEG_EINSTATE); 
    13951396 
Note: See TracChangeset for help on using the changeset viewer.