From 686f57ce745de7144173ef920fe0e2f486c02f75 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 4 Apr 2012 19:22:32 +0400 Subject: [PATCH] increased default max_message up to 4M --- ngx_rtmp_core_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_rtmp_core_module.c b/ngx_rtmp_core_module.c index 1436066..3f444aa 100644 --- a/ngx_rtmp_core_module.c +++ b/ngx_rtmp_core_module.c @@ -221,7 +221,7 @@ ngx_rtmp_core_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) ngx_conf_merge_value(conf->chunk_size, prev->chunk_size, 4096); ngx_conf_merge_uint_value(conf->ack_window, prev->ack_window, 5000000); ngx_conf_merge_size_value(conf->max_buf, prev->max_buf, 128 * 1024); - ngx_conf_merge_size_value(conf->max_message, prev->max_message, 1024 * 1024); + ngx_conf_merge_size_value(conf->max_message, prev->max_message, 4 * 1024 * 1024); ngx_conf_merge_value(conf->play_time_fix, prev->play_time_fix, 1); ngx_conf_merge_value(conf->publish_time_fix, prev->publish_time_fix, 1);