Changeset 1899 for pjproject


Ignore:
Timestamp:
Mar 29, 2008 12:40:14 PM (17 years ago)
Author:
bennylp
Message:

Ticket #517: Invalid argument error when binding media transport on MacOS X

File:
1 edited

Legend:

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

    r1873 r1899  
    215215 
    216216    status = pj_sock_bind(si.rtp_sock, &si.rtp_addr_name,  
    217                           sizeof(si.rtp_addr_name)); 
     217                          pj_sockaddr_get_len(&si.rtp_addr_name)); 
    218218    if (status != PJ_SUCCESS) 
    219219        goto on_error; 
     
    232232 
    233233    status = pj_sock_bind(si.rtcp_sock, &si.rtcp_addr_name, 
    234                           sizeof(si.rtcp_addr_name)); 
     234                          pj_sockaddr_get_len(&si.rtcp_addr_name)); 
    235235    if (status != PJ_SUCCESS) 
    236236        goto on_error; 
Note: See TracChangeset for help on using the changeset viewer.