Ignore:
Timestamp:
Sep 18, 2008 12:58:33 PM (16 years ago)
Author:
nanang
Message:

Ticket #631:

  • Changed rem_rtp/rtcp_addr to src_rtp/rtcp_addr in media transport info
  • Updated behaviour of media transport get info, when the transport hasn't receive any packet src_rtp/rtcp_addr will not be set.
  • Fixed bug in pjsua_call_dump that rem_addr was unset.
File:
1 edited

Legend:

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

    r2291 r2293  
    607607 
    608608    /* Get remote address originating RTP & RTCP. */ 
    609     info->rem_rtp_name  = udp->rtp_src_addr; 
    610     info->rem_rtcp_name = udp->rtcp_src_addr; 
     609    info->src_rtp_name  = udp->rtp_src_addr; 
     610    info->src_rtcp_name = udp->rtcp_src_addr; 
    611611 
    612612    return PJ_SUCCESS; 
     
    666666    udp->attached = PJ_TRUE; 
    667667 
     668    /* Reset source RTP & RTCP addresses and counter */ 
     669    pj_bzero(&udp->rtp_src_addr, sizeof(udp->rtp_src_addr)); 
     670    pj_bzero(&udp->rtcp_src_addr, sizeof(udp->rtcp_src_addr)); 
     671    udp->rtp_src_cnt = 0; 
     672 
    668673    return PJ_SUCCESS; 
    669674} 
Note: See TracChangeset for help on using the changeset viewer.