Ignore:
Timestamp:
Oct 16, 2007 1:34:14 AM (15 years ago)
Author:
bennylp
Message:

More ticket #399: added callback to report NAT detection result, and sends NAT type in SDP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/nat_detect.h

    r1497 r1501  
    4949{ 
    5050    /** 
    51      * NAT type is unknown, because the detection has failed. 
     51     * NAT type is unknown because the detection has not been performed. 
    5252     */ 
    5353    PJ_STUN_NAT_TYPE_UNKNOWN, 
     54 
     55    /** 
     56     * NAT type is unknown because there is failure in the detection 
     57     * process, possibly because server does not support RFC 3489. 
     58     */ 
     59    PJ_STUN_NAT_TYPE_ERR_UNKNOWN, 
    5460 
    5561    /** 
     
    150156typedef void pj_stun_nat_detect_cb(void *user_data, 
    151157                                   const pj_stun_nat_detect_result *res); 
     158 
     159 
     160/** 
     161 * Get the NAT name from the specified NAT type. 
     162 * 
     163 * @param type          NAT type. 
     164 * 
     165 * @return              NAT name. 
     166 */ 
     167PJ_DECL(const char*) pj_stun_get_nat_name(pj_stun_nat_type type); 
    152168 
    153169 
Note: See TracChangeset for help on using the changeset viewer.