资源简介
rtsp摄像头推流上云后使用浏览器播放视频信息,接收remp的服务器由nginx搭建

代码片段和文件信息
/*
* Copyright (C) Roman Arutyunyan
*/
#include
#include
#include
#include
#include “ngx_rtmp.h“
static char *ngx_rtmp_block(ngx_conf_t *cf ngx_command_t *cmd void *conf);
static ngx_int_t ngx_rtmp_add_ports(ngx_conf_t *cf ngx_array_t *ports
ngx_rtmp_listen_t *listen);
static char *ngx_rtmp_optimize_servers(ngx_conf_t *cf ngx_array_t *ports);
static ngx_int_t ngx_rtmp_add_addrs(ngx_conf_t *cf ngx_rtmp_port_t *mport
ngx_rtmp_conf_addr_t *addr);
#if (NGX_HAVE_INET6)
static ngx_int_t ngx_rtmp_add_addrs6(ngx_conf_t *cf ngx_rtmp_port_t *mport
ngx_rtmp_conf_addr_t *addr);
#endif
static ngx_int_t ngx_rtmp_cmp_conf_addrs(const void *one const void *two);
static ngx_int_t ngx_rtmp_init_events(ngx_conf_t *cf
ngx_rtmp_core_main_conf_t *cmcf);
static ngx_int_t ngx_rtmp_init_event_handlers(ngx_conf_t *cf
ngx_rtmp_core_main_conf_t *cmcf);
static char * ngx_rtmp_merge_applications(ngx_conf_t *cf
ngx_array_t *applications void **app_conf ngx_rtmp_module_t *module
ngx_uint_t ctx_index);
static ngx_int_t ngx_rtmp_init_process(ngx_cycle_t *cycle);
#if (nginx_version >= 1007011)
ngx_queue_t ngx_rtmp_init_queue;
#elif (nginx_version >= 1007005)
ngx_thread_volatile ngx_queue_t ngx_rtmp_init_queue;
#else
ngx_thread_volatile ngx_event_t *ngx_rtmp_init_queue;
#endif
ngx_uint_t ngx_rtmp_max_module;
static ngx_command_t ngx_rtmp_commands[] = {
{ ngx_string(“rtmp“)
NGX_MAIN_CONF|NGX_CONF_BLOCK|NGX_CONF_NOARGS
ngx_rtmp_block
0
0
NULL }
ngx_null_command
};
static ngx_core_module_t ngx_rtmp_module_ctx = {
ngx_string(“rtmp“)
NULL
NULL
};
ngx_module_t ngx_rtmp_module = {
NGX_MODULE_V1
&ngx_rtmp_module_ctx /* module context */
ngx_rtmp_commands /* module directives */
NGX_CORE_MODULE /* module type */
NULL /* init master */
NULL /* init module */
ngx_rtmp_init_process /* init process */
NULL /* init thread */
NULL /* exit thread */
NULL /* exit process */
NULL /* exit master */
NGX_MODULE_V1_PADDING
};
static char *
ngx_rtmp_block(ngx_conf_t *cf ngx_command_t *cmd void *conf)
{
char *rv;
ngx_uint_t i m mi s;
ngx_conf_t pcf;
ngx_array_t ports;
ngx_module_t **modules;
ngx_rtmp_listen_t *listen;
ngx_rtmp_module_t *module;
ngx_rtmp_conf_ctx_t *ctx;
ngx_rtmp_core_srv_conf_t *cscf **cscfp;
ngx_rtmp_core_main_conf_t *cmcf;
ctx = ngx_pcalloc(cf->pool sizeof(ngx_rtmp_
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7446 2015-03-14 21:28 nginx 1.7.11.3-Gryphon\FAQ nginx-win version.txt
文件 344064 2014-03-31 18:35 nginx 1.7.11.3-Gryphon\lua51.dll
文件 3162112 2015-03-19 20:37 nginx 1.7.11.3-Gryphon\nginx.exe
文件 1966080 2015-03-19 18:26 nginx 1.7.11.3-Gryphon\nginx_basic.exe
文件 34789 2015-03-19 20:43 nginx 1.7.11.3-Gryphon\Readme nginx-win version.txt
文件 316 2013-09-07 12:08 nginx 1.7.11.3-Gryphon\Tweak-Optimize tcpip parameters for nginx connections.reg
文件 1034 2014-01-03 23:32 nginx 1.7.11.3-Gryphon\conf\fastcgi.conf
文件 964 2014-01-03 23:32 nginx 1.7.11.3-Gryphon\conf\fastcgi_params
文件 2837 2014-01-03 23:32 nginx 1.7.11.3-Gryphon\conf\koi-utf
文件 2223 2014-01-03 23:32 nginx 1.7.11.3-Gryphon\conf\koi-win
文件 3957 2014-03-07 18:19 nginx 1.7.11.3-Gryphon\conf\mime.types
文件 279 2013-11-14 21:46 nginx 1.7.11.3-Gryphon\conf\mysite.rules
文件 5452 2014-12-30 22:39 nginx 1.7.11.3-Gryphon\conf\naxsi_core.rules
文件 2656 2014-06-27 15:18 nginx 1.7.11.3-Gryphon\conf\nginx-org.conf
文件 2254 2014-11-05 15:26 nginx 1.7.11.3-Gryphon\conf\nginx-simple-WAF.conf
文件 5447 2018-09-23 10:59 nginx 1.7.11.3-Gryphon\conf\nginx-win.conf
文件 539 2015-02-14 11:11 nginx 1.7.11.3-Gryphon\conf\php-opcache-example.ini
文件 2794 2015-02-05 16:58 nginx 1.7.11.3-Gryphon\conf\php-xcache-example.ini
文件 596 2014-01-03 23:32 nginx 1.7.11.3-Gryphon\conf\scgi_params
文件 623 2014-01-03 23:32 nginx 1.7.11.3-Gryphon\conf\uwsgi_params
文件 3610 2014-01-03 23:32 nginx 1.7.11.3-Gryphon\conf\win-utf
文件 3747 2015-03-12 22:31 nginx 1.7.11.3-Gryphon\conf\EBLB\iworkcomproto.lua
文件 2524 2015-03-04 11:59 nginx 1.7.11.3-Gryphon\conf\EBLB\upstreamcontrol.lua
文件 4280 2015-03-05 13:59 nginx 1.7.11.3-Gryphon\conf\EBLB\upstreamstatus.lua
文件 1807 2015-03-03 10:03 nginx 1.7.11.3-Gryphon\conf\EBLB\upstream_candc.conf
文件 2291 2015-03-09 13:21 nginx 1.7.11.3-Gryphon\conf\EBLB\upstream_EBLB_with_IWCP.txt
文件 887 2015-03-13 11:18 nginx 1.7.11.3-Gryphon\conf\vhts\VHTS.txt
文件 600 2015-03-14 20:43 nginx 1.7.11.3-Gryphon\conf\vhts\vtsvalues-eop.js
文件 407 2015-03-13 10:06 nginx 1.7.11.3-Gryphon\conf\vhts\vtsvalues.js
文件 1272 2014-05-15 20:45 nginx 1.7.11.3-Gryphon\contrib\geo2nginx.pl
............此处省略284个文件信息
相关资源
- nginx-rtmp-win32-master.rar
- onvif协议视频转码推流网页播放
- ffmpegh265rtmp.zip
- 流媒体相关协议标准RTP/RTSP/RTCP PDF文档
- RTMP_H265推流直播技术研讨
- 屏幕采集\\录屏\\rtmp推流的一体化工具
- 最简单的基于FFmpeg的推流器 1.2
- 简单的ffmpeg推流demo
- 最简单的基于FFmpeg的推流器以推送R
- FFmpeg 采集摄像头输出rtmp直播流媒体,
- H264实时编码RTSP直播
- 使用RTMPdump(libRTMP)直播来自v4l2的摄
- rtmpdump vs2005版本
- rtmp抓包分析
- 将rtsp转码为flv格式用于h5播放前端使
- rtmp流播放工具
- 内存H264+PCM发布rtmp.rar
- librtmp 封装类 VS 2015
- rtsp-h264.zip
- websocket-rtsp-proxy-test.zip
- MP4v2录制rtsp流存为MP4文件
- 手机USB摄像头直播及服务器推流手机
- 搭建rtmp流媒体服务器的nginx
-
ijkpla
yer 最新rtsp .ts so库 - rtsp大全
- 摄像头推流到rtmp
- rtsp视频组帧(tcp和udp)
-
能够播放rtsp的ijkpla
yer动态库 - RTMP 规范中英文对照阅读版[带书签]
- qt5.8实现rtsp流播放
评论
共有 条评论