mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-11 23:01:09 +02:00
removed tabs
This commit is contained in:
parent
b9fcf7d880
commit
831823a772
|
@ -265,33 +265,33 @@ static ngx_command_t ngx_rtmp_hls_commands[] = {
|
|||
|
||||
|
||||
static ngx_rtmp_module_t ngx_rtmp_hls_module_ctx = {
|
||||
NULL, /* preconfiguration */
|
||||
ngx_rtmp_hls_postconfiguration, /* postconfiguration */
|
||||
NULL, /* preconfiguration */
|
||||
ngx_rtmp_hls_postconfiguration, /* postconfiguration */
|
||||
|
||||
NULL, /* create main configuration */
|
||||
NULL, /* init main configuration */
|
||||
NULL, /* create main configuration */
|
||||
NULL, /* init main configuration */
|
||||
|
||||
NULL, /* create server configuration */
|
||||
NULL, /* merge server configuration */
|
||||
NULL, /* create server configuration */
|
||||
NULL, /* merge server configuration */
|
||||
|
||||
ngx_rtmp_hls_create_app_conf, /* create location configuration */
|
||||
ngx_rtmp_hls_merge_app_conf, /* merge location configuration */
|
||||
ngx_rtmp_hls_create_app_conf, /* create location configuration */
|
||||
ngx_rtmp_hls_merge_app_conf, /* merge location configuration */
|
||||
};
|
||||
|
||||
|
||||
ngx_module_t ngx_rtmp_hls_module = {
|
||||
NGX_MODULE_V1,
|
||||
&ngx_rtmp_hls_module_ctx, /* module context */
|
||||
ngx_rtmp_hls_commands, /* module directives */
|
||||
NGX_RTMP_MODULE, /* module type */
|
||||
NULL, /* init master */
|
||||
NULL, /* init module */
|
||||
NULL, /* init process */
|
||||
NULL, /* init thread */
|
||||
NULL, /* exit thread */
|
||||
NULL, /* exit process */
|
||||
NULL, /* exit master */
|
||||
NGX_MODULE_V1_PADDING
|
||||
NGX_MODULE_V1,
|
||||
&ngx_rtmp_hls_module_ctx, /* module context */
|
||||
ngx_rtmp_hls_commands, /* module directives */
|
||||
NGX_RTMP_MODULE, /* module type */
|
||||
NULL, /* init master */
|
||||
NULL, /* init module */
|
||||
NULL, /* init process */
|
||||
NULL, /* init thread */
|
||||
NULL, /* exit thread */
|
||||
NULL, /* exit process */
|
||||
NULL, /* exit master */
|
||||
NGX_MODULE_V1_PADDING
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -63,33 +63,33 @@ static ngx_command_t ngx_rtmp_control_commands[] = {
|
|||
|
||||
|
||||
static ngx_http_module_t ngx_rtmp_control_module_ctx = {
|
||||
NULL, /* preconfiguration */
|
||||
NULL, /* postconfiguration */
|
||||
NULL, /* preconfiguration */
|
||||
NULL, /* postconfiguration */
|
||||
|
||||
NULL, /* create main configuration */
|
||||
NULL, /* init main configuration */
|
||||
NULL, /* create main configuration */
|
||||
NULL, /* init main configuration */
|
||||
|
||||
NULL, /* create server configuration */
|
||||
NULL, /* merge server configuration */
|
||||
NULL, /* create server configuration */
|
||||
NULL, /* merge server configuration */
|
||||
|
||||
ngx_rtmp_control_create_loc_conf, /* create location configuration */
|
||||
ngx_rtmp_control_merge_loc_conf, /* merge location configuration */
|
||||
ngx_rtmp_control_create_loc_conf, /* create location configuration */
|
||||
ngx_rtmp_control_merge_loc_conf, /* merge location configuration */
|
||||
};
|
||||
|
||||
|
||||
ngx_module_t ngx_rtmp_control_module = {
|
||||
NGX_MODULE_V1,
|
||||
&ngx_rtmp_control_module_ctx, /* module context */
|
||||
ngx_rtmp_control_commands, /* module directives */
|
||||
NGX_HTTP_MODULE, /* module type */
|
||||
NULL, /* init master */
|
||||
NULL, /* init module */
|
||||
NULL, /* init process */
|
||||
NULL, /* init thread */
|
||||
NULL, /* exit thread */
|
||||
NULL, /* exit process */
|
||||
NULL, /* exit master */
|
||||
NGX_MODULE_V1_PADDING
|
||||
NGX_MODULE_V1,
|
||||
&ngx_rtmp_control_module_ctx, /* module context */
|
||||
ngx_rtmp_control_commands, /* module directives */
|
||||
NGX_HTTP_MODULE, /* module type */
|
||||
NULL, /* init master */
|
||||
NULL, /* init module */
|
||||
NULL, /* init process */
|
||||
NULL, /* init thread */
|
||||
NULL, /* exit thread */
|
||||
NULL, /* exit process */
|
||||
NULL, /* exit master */
|
||||
NGX_MODULE_V1_PADDING
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -880,7 +880,7 @@ ngx_rtmp_finalize_set_chunk_size(ngx_rtmp_session_t *s)
|
|||
if (s->in_chunk_size_changing && s->in_old_pool) {
|
||||
ngx_destroy_pool(s->in_old_pool);
|
||||
s->in_old_pool = NULL;
|
||||
s->in_chunk_size_changing = 0;
|
||||
s->in_chunk_size_changing = 0;
|
||||
}
|
||||
return NGX_OK;
|
||||
}
|
||||
|
|
|
@ -73,33 +73,33 @@ static ngx_command_t ngx_rtmp_stat_commands[] = {
|
|||
|
||||
|
||||
static ngx_http_module_t ngx_rtmp_stat_module_ctx = {
|
||||
NULL, /* preconfiguration */
|
||||
ngx_rtmp_stat_postconfiguration, /* postconfiguration */
|
||||
NULL, /* preconfiguration */
|
||||
ngx_rtmp_stat_postconfiguration, /* postconfiguration */
|
||||
|
||||
NULL, /* create main configuration */
|
||||
NULL, /* init main configuration */
|
||||
NULL, /* create main configuration */
|
||||
NULL, /* init main configuration */
|
||||
|
||||
NULL, /* create server configuration */
|
||||
NULL, /* merge server configuration */
|
||||
NULL, /* create server configuration */
|
||||
NULL, /* merge server configuration */
|
||||
|
||||
ngx_rtmp_stat_create_loc_conf, /* create location configuration */
|
||||
ngx_rtmp_stat_merge_loc_conf, /* merge location configuration */
|
||||
ngx_rtmp_stat_create_loc_conf, /* create location configuration */
|
||||
ngx_rtmp_stat_merge_loc_conf, /* merge location configuration */
|
||||
};
|
||||
|
||||
|
||||
ngx_module_t ngx_rtmp_stat_module = {
|
||||
NGX_MODULE_V1,
|
||||
&ngx_rtmp_stat_module_ctx, /* module context */
|
||||
ngx_rtmp_stat_commands, /* module directives */
|
||||
NGX_HTTP_MODULE, /* module type */
|
||||
NULL, /* init master */
|
||||
NULL, /* init module */
|
||||
ngx_rtmp_stat_init_process, /* init process */
|
||||
NULL, /* init thread */
|
||||
NULL, /* exit thread */
|
||||
NULL, /* exit process */
|
||||
NULL, /* exit master */
|
||||
NGX_MODULE_V1_PADDING
|
||||
NGX_MODULE_V1,
|
||||
&ngx_rtmp_stat_module_ctx, /* module context */
|
||||
ngx_rtmp_stat_commands, /* module directives */
|
||||
NGX_HTTP_MODULE, /* module type */
|
||||
NULL, /* init master */
|
||||
NULL, /* init module */
|
||||
ngx_rtmp_stat_init_process, /* init process */
|
||||
NULL, /* init thread */
|
||||
NULL, /* exit thread */
|
||||
NULL, /* exit process */
|
||||
NULL, /* exit master */
|
||||
NGX_MODULE_V1_PADDING
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue