Changeset 888 for pjproject/trunk/pjmedia/include/pjmedia/config.h
- Timestamp:
- Jan 20, 2007 5:18:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/config.h
r868 r888 175 175 * Specify how long (in miliseconds) the stream should suspend the 176 176 * silence detector/voice activity detector (VAD) during the initial 177 * period of the session. 177 * period of the session. This feature is useful to open bindings in 178 * all NAT routers between local and remote endpoint since most NATs 179 * do not allow incoming packet to get in before local endpoint sends 180 * outgoing packets. 178 181 * 179 182 * Specify zero to disable this feature. 180 183 * 181 * Default: 600 msec 184 * Default: 600 msec (which gives good probability that some RTP 185 * packets will reach the destination, but without 186 * filling up the jitter buffer on the remote end). 182 187 */ 183 188 #ifndef PJMEDIA_STREAM_VAD_SUSPEND_MSEC 184 189 # define PJMEDIA_STREAM_VAD_SUSPEND_MSEC 600 190 #endif 191 192 193 /** 194 * Specify the maximum duration of silence period in the codec. 195 * This is useful for example to keep NAT binding open in the firewall 196 * and to prevent server from disconnecting the call because no 197 * RTP packet is received. 198 * 199 * This only applies to codecs that use PJMEDIA's VAD (pretty much 200 * everything including iLBC, except Speex, which has its own DTX 201 * mechanism). 202 * 203 * Use (-1) to disable this feature. 204 * 205 * Default: 8000 (one second on 8KHz). 206 * 207 */ 208 #ifndef PJMEDIA_CODEC_MAX_SILENCE_PERIOD 209 # define PJMEDIA_CODEC_MAX_SILENCE_PERIOD 8000 185 210 #endif 186 211
Note: See TracChangeset
for help on using the changeset viewer.