From 0ce5777675345cdfa767c98d23ff33e5286779a0 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Mon, 18 Jan 2021 20:15:17 +0100 Subject: [PATCH] Increase bufsize for high-bitrate streams --- hls/ngx_rtmp_hls_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hls/ngx_rtmp_hls_module.c b/hls/ngx_rtmp_hls_module.c index 48e8e3b..7df5e5a 100644 --- a/hls/ngx_rtmp_hls_module.c +++ b/hls/ngx_rtmp_hls_module.c @@ -30,7 +30,7 @@ static ngx_int_t ngx_rtmp_hls_ensure_directory(ngx_rtmp_session_t *s, ngx_str_t *path); -#define NGX_RTMP_HLS_BUFSIZE (1024*1024) +#define NGX_RTMP_HLS_BUFSIZE (1024*1024*16) #define NGX_RTMP_HLS_DIR_ACCESS 0744