Changeset 4538 for pjproject/trunk/pjmedia/include/pjmedia/config.h
- Timestamp:
- Jun 19, 2013 9:06:55 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/config.h
r4443 r4538 1218 1218 1219 1219 /** 1220 * Specify target value for socket receive buffer size. It will be 1221 * applied to RTP socket of media transport using setsockopt(). When 1222 * transport failed to set the specified size, it will try with lower 1223 * value until the highest possible is successfully set. 1224 * 1225 * Setting this to zero will leave the socket receive buffer size to 1226 * OS default (e.g: usually 8 KB on desktop platforms). 1227 * 1228 * Default: 64 KB when video is enabled, otherwise zero (OS default) 1229 */ 1230 #ifndef PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE 1231 # if PJMEDIA_HAS_VIDEO 1232 # define PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE (64*1024) 1233 # else 1234 # define PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE 0 1235 # endif 1236 #endif 1237 1238 1239 /** 1240 * Specify target value for socket send buffer size. It will be 1241 * applied to RTP socket of media transport using setsockopt(). When 1242 * transport failed to set the specified size, it will try with lower 1243 * value until the highest possible is successfully set. 1244 * 1245 * Setting this to zero will leave the socket send buffer size to 1246 * OS default (e.g: usually 8 KB on desktop platforms). 1247 * 1248 * Default: 64 KB when video is enabled, otherwise zero (OS default) 1249 */ 1250 #ifndef PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE 1251 # if PJMEDIA_HAS_VIDEO 1252 # define PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE (64*1024) 1253 # else 1254 # define PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE 0 1255 # endif 1256 #endif 1257 1258 1259 /** 1220 1260 * @} 1221 1261 */
Note: See TracChangeset
for help on using the changeset viewer.