代码拉取完成,页面将自动刷新
同步操作将从 winshining/nginx-http-flv-module 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*
* Copyright (C) Winshining
*/
#ifndef _NGX_HTTP_FLV_LIVE_H_INCLUDED_
#define _NGX_HTTP_FLV_LIVE_H_INCLUDED_
#include "ngx_rtmp_cmd_module.h"
#include "ngx_rtmp_live_module.h"
#include "ngx_rtmp_codec_module.h"
#define NGX_HASH_MAX_SIZE 0x80
#define NGX_HASH_MAX_BUKET_SIZE 0x40
#define NGX_BUFF_MAX_SIZE 0x80
#define NGX_FLV_TAG_HEADER_SIZE 11
extern ngx_module_t ngx_rtmp_module;
extern ngx_rtmp_play_pt http_flv_live_next_play;
extern ngx_rtmp_close_stream_pt http_flv_live_next_close_stream;
#define ngx_rtmp_cycle_get_module_main_conf(cycle, module) \
(cycle->conf_ctx[ngx_rtmp_module.index] ? \
((ngx_rtmp_conf_ctx_t *) cycle->conf_ctx[ngx_rtmp_module.index]) \
->main_conf[module.ctx_index]: \
NULL)
typedef struct ngx_http_flv_live_ctx_s {
ngx_rtmp_session_t *s;
ngx_flag_t header_sent;
ngx_str_t app;
ngx_str_t port;
ngx_str_t stream;
} ngx_http_flv_live_ctx_t;
typedef struct ngx_http_flv_live_conf_s {
ngx_flag_t flv_live;
} ngx_http_flv_live_conf_t;
typedef struct {
ngx_chain_t *meta;
ngx_chain_t *apkt;
ngx_chain_t *acopkt;
ngx_chain_t *rpkt;
ngx_int_t (*send_message_pt)(ngx_rtmp_session_t *s,
ngx_chain_t *out, ngx_uint_t priority);
ngx_chain_t *(*meta_message_pt)(ngx_rtmp_session_t *s,
ngx_chain_t *in);
ngx_chain_t *(*append_message_pt)(ngx_rtmp_session_t *s,
ngx_rtmp_header_t *h, ngx_rtmp_header_t *lh,
ngx_chain_t *in);
void (*free_message_pt)(ngx_rtmp_session_t *s,
ngx_chain_t *in);
} ngx_rtmp_live_proc_handler_t;
ngx_int_t ngx_http_flv_live_play(ngx_rtmp_session_t *s,
ngx_rtmp_play_t *v);
ngx_int_t ngx_http_flv_live_close_stream(ngx_rtmp_session_t *s,
ngx_rtmp_close_stream_t *v);
ngx_int_t ngx_http_flv_live_send_header(ngx_rtmp_session_t *s);
void ngx_http_flv_live_set_status(ngx_rtmp_session_t *s, unsigned active);
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。