Ignore:
Timestamp:
May 26, 2019 1:18:02 PM (3 years ago)
Author:
riza
Message:

Close #2202: Limit the number of ignored error when receiving RTP/RTCP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/config.h

    r5915 r6005  
    12231223 
    12241224 
     1225/** 
     1226 * Specify the number of identical consecutive error that will be ignored when  
     1227 * receiving RTP/RTCP data before the library tries to restart the transport. 
     1228 * 
     1229 * When receiving RTP/RTCP data, the library will ignore error besides  
     1230 * PJ_EPENDING or PJ_ECANCELLED and continue the loop to receive the data.  
     1231 * If the OS always return error, then the loop will continue non stop. 
     1232 * This setting will limit the number of the identical consecutive error,  
     1233 * before the library start to restart the transport. If error still happens 
     1234 * after transport restart, then PJMEDIA_EVENT_MEDIA_TP_ERR event will be  
     1235 * publish as a notification. 
     1236 * 
     1237 * If PJ_ESOCKETSTOP is raised, then transport will be restarted regardless 
     1238 * of this setting. 
     1239 *  
     1240 * To always ignore the error when receving RTP/RTCP, set this to 0. 
     1241 * 
     1242 * Default : 20 
     1243 */ 
     1244#ifndef PJMEDIA_IGNORE_RECV_ERR_CNT 
     1245#   define PJMEDIA_IGNORE_RECV_ERR_CNT          20 
     1246#endif 
     1247 
     1248 
    12251249/* 
    12261250 * .... new stuffs ... 
Note: See TracChangeset for help on using the changeset viewer.