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);