Ignore:
Timestamp:
Jul 20, 2018 2:19:41 AM (2 years ago)
Author:
ming
Message:

Fixed #2128: Add feature to allow responding incoming INVITE/re-INVITE asynchronously and set the SDP answer

File:
1 edited

Legend:

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

    r5756 r5828  
    511511    PJ_ASSERT_RETURN(pool && neg && local, PJ_EINVAL); 
    512512 
    513     /* Can only do this in STATE_REMOTE_OFFER. 
    514      * If we already provide local offer, then rx_remote_answer() should 
     513    /* Can only do this in STATE_REMOTE_OFFER or WAIT_NEGO. 
     514     * If we already provide local offer, then set_remote_answer() should 
    515515     * be called instead of this function. 
    516516     */ 
    517     PJ_ASSERT_RETURN(neg->state == PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER,  
     517    PJ_ASSERT_RETURN(neg->state == PJMEDIA_SDP_NEG_STATE_REMOTE_OFFER || 
     518                     neg->state == PJMEDIA_SDP_NEG_STATE_WAIT_NEGO,  
    518519                     PJMEDIA_SDPNEG_EINSTATE); 
    519520 
Note: See TracChangeset for help on using the changeset viewer.