fixed setting netcall_timeout

This commit is contained in:
Roman Arutyunyan 2012-11-07 21:58:37 +04:00
parent 1ef89f4089
commit 1b28f94042

View file

@ -55,14 +55,14 @@ static ngx_command_t ngx_rtmp_netcall_commands[] = {
{ ngx_string("netcall_timeout"), { ngx_string("netcall_timeout"),
NGX_RTMP_MAIN_CONF|NGX_RTMP_SRV_CONF|NGX_CONF_TAKE1, NGX_RTMP_MAIN_CONF|NGX_RTMP_SRV_CONF|NGX_CONF_TAKE1,
ngx_conf_set_msec_slot, ngx_conf_set_msec_slot,
NGX_RTMP_SRV_CONF_OFFSET, NGX_RTMP_APP_CONF_OFFSET,
offsetof(ngx_rtmp_netcall_app_conf_t, timeout), offsetof(ngx_rtmp_netcall_app_conf_t, timeout),
NULL }, NULL },
{ ngx_string("netcall_buffer"), { ngx_string("netcall_buffer"),
NGX_RTMP_MAIN_CONF|NGX_RTMP_SRV_CONF|NGX_CONF_TAKE1, NGX_RTMP_MAIN_CONF|NGX_RTMP_SRV_CONF|NGX_CONF_TAKE1,
ngx_conf_set_size_slot, ngx_conf_set_size_slot,
NGX_RTMP_SRV_CONF_OFFSET, NGX_RTMP_APP_CONF_OFFSET,
offsetof(ngx_rtmp_netcall_app_conf_t, bufsize), offsetof(ngx_rtmp_netcall_app_conf_t, bufsize),
NULL }, NULL },