Ignore:
Timestamp:
Sep 8, 2011 6:47:28 AM (13 years ago)
Author:
bennylp
Message:

Slightly more clever RTP transport remote address switch: transmission won't switch as long as we're receiving RTP/RTCP packets from the "correct" remote address, to avoid constantly switching to a new source address. Also when the remote peer address is in probation, RT(C)P packets from that address will be silently discarded, to avoid playback confusion. This closes #1366.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjmedia/include/pjmedia/config.h

    r3553 r3745  
    388388 
    389389/** 
    390  * Number of packets received from different source IP address from the 
     390 * Number of RTP packets received from different source IP address from the 
    391391 * remote address required to make the stream switch transmission 
    392392 * to the source address. 
     
    394394#ifndef PJMEDIA_RTP_NAT_PROBATION_CNT    
    395395#  define PJMEDIA_RTP_NAT_PROBATION_CNT         10 
     396#endif 
     397 
     398 
     399/** 
     400 * Number of RTCP packets received from different source IP address from the 
     401 * remote address required to make the stream switch RTCP transmission 
     402 * to the source address. 
     403 */ 
     404#ifndef PJMEDIA_RTCP_NAT_PROBATION_CNT 
     405#  define PJMEDIA_RTCP_NAT_PROBATION_CNT        3 
    396406#endif 
    397407 
Note: See TracChangeset for help on using the changeset viewer.