Changeset 4223 for pjproject/trunk


Ignore:
Timestamp:
Aug 8, 2012 12:50:07 PM (12 years ago)
Author:
nanang
Message:

Fixed #1566:

  • Increased RTP check count from 5 to 50.
  • Immediate stop check when the correct RTP ts span, i.e: using 8khz clockrate, is received.
File:
1 edited

Legend:

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

    r4120 r4223  
    17661766                    { 
    17671767                        if (peer_frm_ts_diff < stream->rtp_rx_ts_len_per_frame) 
     1768                        { 
    17681769                            stream->rtp_rx_ts_len_per_frame = peer_frm_ts_diff; 
     1770                            /* Done, stop the check immediately */ 
     1771                            stream->rtp_rx_check_cnt = 1; 
     1772                        } 
    17691773 
    17701774                        if (--stream->rtp_rx_check_cnt == 0) { 
     
    21732177 
    21742178#if defined(PJMEDIA_HANDLE_G722_MPEG_BUG) && (PJMEDIA_HANDLE_G722_MPEG_BUG!=0) 
    2175     stream->rtp_rx_check_cnt = 5; 
     2179    stream->rtp_rx_check_cnt = 50; 
    21762180    stream->has_g722_mpeg_bug = PJ_FALSE; 
    21772181    stream->rtp_rx_last_ts = 0; 
Note: See TracChangeset for help on using the changeset viewer.