From 2de0eed6c4ad2ab43f42719b4518e4c078c4cc98 Mon Sep 17 00:00:00 2001 From: Curtis Hall Date: Fri, 24 Nov 2023 09:32:15 -0600 Subject: [PATCH] Update rtsp.cpp Change from 1024 byte buffer to 6144 buffer --- server/rtsp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/rtsp.cpp b/server/rtsp.cpp index 4793ad37..cd706788 100644 --- a/server/rtsp.cpp +++ b/server/rtsp.cpp @@ -370,7 +370,7 @@ rtsp_connection::rtsp_connection(rtsp_server *server, int fd) /* If streaming high-definition video over a network with good performance characteristics, * we might consider using a larger send buffer. Lets start with a size of 1MB (1024*1024) * and kernel may adjust the value we provide to align with its internal constraints and limits. */ - int value = 1024*1024; + int value = 6144*1024; setsockopt(fd, SOL_SOCKET, SO_SNDBUF, &value, sizeof(value)); }