Ignore:
Timestamp:
Mar 24, 2007 7:13:42 PM (13 years ago)
Author:
bennylp
Message:

Omit SDP rtcp attribute when RTCP is not present in sockinfo

File:
1 edited

Legend:

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

    r974 r1103  
    337337    /* Add "rtcp" attribute */ 
    338338#if defined(PJMEDIA_HAS_RTCP_IN_SDP) && PJMEDIA_HAS_RTCP_IN_SDP!=0 
    339     { 
     339    if (sock_info->rtcp_addr_name.sin_family != 0) { 
    340340        attr = pj_pool_alloc(pool, sizeof(pjmedia_sdp_attr)); 
    341341        attr->name = pj_str("rtcp"); 
Note: See TracChangeset for help on using the changeset viewer.