Ignore:
Timestamp:
Jul 22, 2006 12:45:37 PM (18 years ago)
Author:
bennylp
Message:

Added PJMEDIA_RTCP_IGNORE_FIRST_PACKETS macro to let application decides how many first RTP packets to ignore when calculating jitter

File:
1 edited

Legend:

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

    r582 r618  
    275275         * due to other threads working to establish the call 
    276276         */ 
    277         if (sess->transit == 0 || sess->received < 25 ) { 
     277        if (sess->transit == 0 ||  
     278            sess->received < PJMEDIA_RTCP_IGNORE_FIRST_PACKETS)  
     279        { 
    278280            sess->transit = transit; 
    279281            sess->stat.rx.jitter.min = 2000; 
Note: See TracChangeset for help on using the changeset viewer.