- Timestamp:
- Jul 22, 2006 12:45:37 PM (18 years ago)
- Location:
- pjproject/trunk/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/config.h
r571 r618 147 147 148 148 /** 149 * Tell RTCP to ignore the first N packets when calculating the 150 * jitter statistics. From experimentation, the first few packets 151 * (25 or so) have relatively big jitter, possibly because during 152 * this time, the program is also busy setting up the signaling, 153 * so they make the average jitter big. 154 * 155 * Default: 25. 156 */ 157 #ifndef PJMEDIA_RTCP_IGNORE_FIRST_PACKETS 158 # define PJMEDIA_RTCP_IGNORE_FIRST_PACKETS 25 159 #endif 160 161 162 /** 149 163 * G.711 Appendix I Packet Lost Concealment (PLC). 150 164 * Enabled only when floating point is enabled. -
pjproject/trunk/pjmedia/src/pjmedia/rtcp.c
r582 r618 275 275 * due to other threads working to establish the call 276 276 */ 277 if (sess->transit == 0 || sess->received < 25 ) { 277 if (sess->transit == 0 || 278 sess->received < PJMEDIA_RTCP_IGNORE_FIRST_PACKETS) 279 { 278 280 sess->transit = transit; 279 281 sess->stat.rx.jitter.min = 2000;
Note: See TracChangeset
for help on using the changeset viewer.