From 7546b505c12b305ad0245320b46cb2b070bab216 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 21 May 2016 18:01:31 -0500 Subject: [PATCH] Lower ENet's MTU to 900 because some ISPs will drop the RTSP DESCRIBE response packets with the default MTU --- include/enet/enet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/enet/enet.h b/include/enet/enet.h index a4f89f7..72b25ff 100644 --- a/include/enet/enet.h +++ b/include/enet/enet.h @@ -200,7 +200,7 @@ enum ENET_HOST_RECEIVE_BUFFER_SIZE = 256 * 1024, ENET_HOST_SEND_BUFFER_SIZE = 256 * 1024, ENET_HOST_BANDWIDTH_THROTTLE_INTERVAL = 1000, - ENET_HOST_DEFAULT_MTU = 1400, + ENET_HOST_DEFAULT_MTU = 900, ENET_HOST_DEFAULT_MAXIMUM_PACKET_SIZE = 32 * 1024 * 1024, ENET_HOST_DEFAULT_MAXIMUM_WAITING_DATA = 32 * 1024 * 1024,