Changeset 2175


Ignore:
Timestamp:
Jul 25, 2008 9:16:30 AM (11 years ago)
Author:
bennylp
Message:

Ticket #578: Bug in encoding ICE candidate type in SDP (thanks Ondrej Sterbak)

Location:
pjproject/trunk
Files:
2 edited

Legend:

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

    r2039 r2175  
    272272    case PJ_ICE_CAND_TYPE_PRFLX: 
    273273        len2 = pj_ansi_snprintf(buffer+len, max_len-len, 
    274                                 "srflx raddr %s rport %d", 
     274                                "%s raddr %s rport %d", 
     275                                pj_ice_get_cand_type_name(cand->type), 
    275276                                pj_sockaddr_print(&cand->rel_addr, ipaddr, 
    276277                                                  sizeof(ipaddr), 0), 
  • pjproject/trunk/pjnath/src/pjnath/ice_session.c

    r2054 r2175  
    3333static const char *cand_type_names[] = 
    3434{ 
    35     "Host", 
    36     "Server Reflexive", 
    37     "Peer Reflexive", 
    38     "Relayed" 
     35    "host", 
     36    "srflx", 
     37    "prflx", 
     38    "relay" 
    3939 
    4040}; 
Note: See TracChangeset for help on using the changeset viewer.