Bug #279 ยป tvheadend_udp.patch
src/iptv_input.c (working copy) | ||
---|---|---|
283 | 283 |
} |
284 | 284 |
} |
285 | 285 | |
286 |
int resize = 262142; |
|
287 |
if(setsockopt(fd,SOL_SOCKET,SO_RCVBUF, &resize, sizeof(resize)) == -1) |
|
288 |
tvhlog (LOG_WARNING, "IPTV", "Can not set larger UDP receiving buffer size"); |
|
286 | 289 | |
287 | 290 |
memset(&ev, 0, sizeof(ev)); |
288 | 291 |
ev.events = EPOLLIN; |