Ignore:
Timestamp:
Apr 5, 2007 11:32:47 AM (17 years ago)
Author:
bennylp
Message:

ICE (work in progress): handle early check that is received before answer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/stun_session.c

    r1151 r1152  
    711711    pj_mutex_unlock(sess->mutex); 
    712712    return PJ_SUCCESS; 
    713  
    714 } 
     713} 
     714 
     715/* 
     716 * Explicitly request retransmission of the request. 
     717 */ 
     718PJ_DEF(pj_status_t) pj_stun_session_retransmit_req(pj_stun_session *sess, 
     719                                                   pj_stun_tx_data *tdata) 
     720{ 
     721    pj_status_t status; 
     722 
     723    PJ_ASSERT_RETURN(sess && tdata, PJ_EINVAL); 
     724    PJ_ASSERT_RETURN(PJ_STUN_IS_REQUEST(tdata->msg->hdr.type), PJ_EINVAL); 
     725 
     726    pj_mutex_lock(sess->mutex); 
     727 
     728    status = pj_stun_client_tsx_retransmit(tdata->client_tsx); 
     729 
     730    pj_mutex_unlock(sess->mutex); 
     731 
     732    return status; 
     733} 
     734 
    715735 
    716736/* Send response */ 
Note: See TracChangeset for help on using the changeset viewer.