1. 下载nginx_mod_h264_streaming-2.2.7.tar.gz
2. 如果注释掉下面的代码,第3步会报错:
error: ‘ngx_http_request_t’ has no member named ‘zero_in_uri’
原来:
// 注释掉(改为下面):
/* TODO: Win32
if (r->zero_in_uri)
{
return NGX_DECLINED;
} */
3. 增加module
sh ./configure --add-module=/export/server/tmp/nginx_mod_h264_streaming-2.2.7 --prefix=/export/server/tengine --with-http_stub_status_module --with-http_mp4_module --with-http_flv_module
4. 备份nginx, 替换新的
mv nginx nginx.old
cp objs/nginx /export/server/tengine/sbin/nginx
.....................未确认。。。。。。。。。。。。。