Ignore:
Timestamp:
Jun 29, 2006 2:45:17 PM (17 years ago)
Author:
bennylp
Message:

Improvements in PJMEDIA to support RFC 3605 (RTCP attribute in SDP) and other changes to improve RTCP communication behind NAT. Also fixed bug related to RTCP reporting changes in revision 565

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/transport.h

    r539 r568  
    7474                          void *user_data, 
    7575                          const pj_sockaddr_t *rem_addr, 
     76                          const pj_sockaddr_t *rem_rtcp, 
    7677                          unsigned addr_len, 
    7778                          void (*rtp_cb)(void *user_data, 
     
    155156 *                  called. 
    156157 * @param rem_addr  Remote RTP address to send RTP packet to. 
     158 * @param rem_rtcp  Optional remote RTCP address. If the argument is NULL 
     159 *                  or if the address is zero, the RTCP address will be 
     160 *                  calculated from the RTP address (which is RTP port 
     161 *                  plus one). 
    157162 * @param addr_len  Length of the remote address. 
    158163 * @param rtp_cb    Callback to be called when RTP packet is received on 
     
    166171                                                void *user_data, 
    167172                                                const pj_sockaddr_t *rem_addr, 
     173                                                const pj_sockaddr_t *rem_rtcp, 
    168174                                                unsigned addr_len, 
    169175                                                void (*rtp_cb)(void *user_data, 
     
    174180                                                                pj_ssize_t)) 
    175181{ 
    176     return tp->op->attach(tp, user_data, rem_addr, addr_len, rtp_cb, rtcp_cb); 
     182    return tp->op->attach(tp, user_data, rem_addr, rem_rtcp, addr_len,  
     183                          rtp_cb, rtcp_cb); 
    177184} 
    178185 
Note: See TracChangeset for help on using the changeset viewer.