bugfix of stream_buckets

This bug will lead to the failure of setting ngx_rtmp_live_app_conf_t->nbuckets.

by default it is 1024,but if you set it specificly, it will be wrong.
This commit is contained in:
RocFang 2016-04-19 10:42:13 +08:00
parent 7e68afde6f
commit 01825510f7

View file

@ -40,7 +40,7 @@ static ngx_command_t ngx_rtmp_live_commands[] = {
{ ngx_string("stream_buckets"),
NGX_RTMP_MAIN_CONF|NGX_RTMP_SRV_CONF|NGX_RTMP_APP_CONF|NGX_CONF_TAKE1,
ngx_conf_set_str_slot,
ngx_conf_set_num_slot,
NGX_RTMP_APP_CONF_OFFSET,
offsetof(ngx_rtmp_live_app_conf_t, nbuckets),
NULL },