代码拉取完成,页面将自动刷新
同步操作将从 winshining/nginx-http-flv-module 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*
* Copyright (C) Gnolizuh
* Copyright (C) Winshining
*/
#ifndef _NGX_RTMP_GOP_CACHE_H_INCLUDE_
#define _NGX_RTMP_GOP_CACHE_H_INCLUDE_
#define NGX_GOP_CACHE_POOL_CREATE_SIZE 4096
typedef struct ngx_rtmp_gop_frame_s ngx_rtmp_gop_frame_t;
typedef struct ngx_rtmp_gop_cache_s ngx_rtmp_gop_cache_t;
struct ngx_rtmp_gop_frame_s {
ngx_rtmp_header_t h;
ngx_uint_t prio;
ngx_chain_t *frame;
ngx_rtmp_gop_frame_t *next;
};
struct ngx_rtmp_gop_cache_s {
ngx_rtmp_gop_frame_t *frame_head;
ngx_rtmp_gop_frame_t *frame_tail;
ngx_rtmp_gop_cache_t *next;
ngx_int_t video_frame_in_this;
ngx_int_t audio_frame_in_this;
};
typedef struct ngx_rtmp_gop_cache_app_conf_s {
ngx_flag_t gop_cache;
size_t gop_cache_count;
size_t gop_max_frame_count;
size_t gop_max_video_count;
size_t gop_max_audio_count;
} ngx_rtmp_gop_cache_app_conf_t;
typedef struct ngx_rtmp_gop_cache_ctx_s {
ngx_pool_t *pool;
ngx_rtmp_gop_cache_t *cache_head;
ngx_rtmp_gop_cache_t *cache_tail;
ngx_rtmp_gop_cache_t *free_cache;
ngx_rtmp_gop_frame_t *free_frame;
ngx_chain_t *video_seq_header;
ngx_chain_t *audio_seq_header;
ngx_chain_t *meta;
ngx_chain_t *free;
ngx_uint_t meta_version;
size_t gop_cache_count;
size_t video_frame_in_all;
size_t audio_frame_in_all;
} ngx_rtmp_gop_cache_ctx_t;
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。