Changeset 5667


Ignore:
Timestamp:
Sep 29, 2017 2:36:49 AM (7 years ago)
Author:
ming
Message:

Re #2045 (misc): Fix PLC from being active too early

Thanks to Kal Conley for the patch.

File:
1 edited

Legend:

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

    r5534 r5667  
    22242224    stream->max_plc_cnt = (MAX_PLC_MSEC+stream->codec_param.info.frm_ptime-1)/ 
    22252225                            stream->codec_param.info.frm_ptime; 
     2226    /* Disable PLC until a "NORMAL" frame is gotten from the jitter buffer. */ 
     2227    stream->plc_cnt = stream->max_plc_cnt; 
    22262228 
    22272229#if defined(PJMEDIA_HANDLE_G722_MPEG_BUG) && (PJMEDIA_HANDLE_G722_MPEG_BUG!=0) 
Note: See TracChangeset for help on using the changeset viewer.