Ignore:
Timestamp:
May 9, 2018 6:58:48 AM (17 months ago)
Author:
ming
Message:

Fixed #2087: Support for RTP and RTCP multiplexing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/account.cpp

    r5755 r5788  
    359359    NODE_READ_NUM_T   ( this_node, pjsua_ipv6_use, ipv6Use); 
    360360    NODE_READ_OBJ     ( this_node, transportConfig); 
     361    NODE_READ_BOOL    ( this_node, rtcpMuxEnabled); 
    361362} 
    362363 
     
    372373    NODE_WRITE_NUM_T   ( this_node, pjsua_ipv6_use, ipv6Use); 
    373374    NODE_WRITE_OBJ     ( this_node, transportConfig); 
     375    NODE_WRITE_BOOL    ( this_node, rtcpMuxEnabled); 
    374376} 
    375377 
     
    560562    ret.srtp_opt                = mediaConfig.srtpOpt.toPj(); 
    561563    ret.ipv6_media_use          = mediaConfig.ipv6Use; 
     564    ret.enable_rtcp_mux         = mediaConfig.rtcpMuxEnabled; 
    562565 
    563566    // AccountVideoConfig 
     
    735738    mediaConfig.srtpOpt.fromPj(prm.srtp_opt); 
    736739    mediaConfig.ipv6Use         = prm.ipv6_media_use; 
     740    mediaConfig.rtcpMuxEnabled  = prm.enable_rtcp_mux; 
    737741 
    738742    // AccountVideoConfig 
Note: See TracChangeset for help on using the changeset viewer.