- Timestamp:
- May 18, 2009 11:49:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/sipit24/pjnath/src/pjnath/ice_session.c
r2708 r2714 30 30 #include <pj/string.h> 31 31 32 33 32 /* String names for candidate types */ 34 33 static const char *cand_type_names[] = … … 243 242 const pj_sockaddr *base_addr) 244 243 { 245 #if 0244 #if PJNATH_ICE_PRIO_STD 246 245 char buf[64]; 247 246 pj_uint32_t val; … … 659 658 pj_uint32_t comp_id) 660 659 { 661 #if 0660 #if PJNATH_ICE_PRIO_STD 662 661 return ((ice->prefs[type] & 0xFF) << 24) + 663 662 ((local_pref & 0xFFFF) << 8) + … … 1638 1637 1639 1638 /* Add PRIORITY */ 1639 #if PJNATH_ICE_PRIO_STD 1640 prio = CALC_CAND_PRIO(ice, PJ_ICE_CAND_TYPE_PRFLX, 65535, 1641 lcand->comp_id); 1642 #else 1640 1643 prio = CALC_CAND_PRIO(ice, PJ_ICE_CAND_TYPE_PRFLX, 0, 1641 1644 lcand->comp_id); 1645 #endif 1642 1646 pj_stun_msg_add_uint_attr(check->tdata->pool, check->tdata->msg, 1643 1647 PJ_STUN_ATTR_PRIORITY, prio);
Note: See TracChangeset
for help on using the changeset viewer.