nginx + rtmp
http://www.cnblogs.com/skynet/p/4146083.html
https://obsproject.com/forum/resources/how-to-set-up-your-own-private-rtmp-server-using-nginx.50/
nginx + lua
https://my.oschina.net/qiangzigege/blog/668955
https://github.com/openresty/lua-nginx-module/releases/tag/v0.10.6
./configure --with-http_ssl_module --add-module=../nginx-rtmp-module-master --with-openssl=/root/Nginx/openssl-1.0.2j --with-zlib=/root/Nginx/zlib-1.2.8
./configure --with-http_ssl_module --with-openssl=/root/Nginx/openssl-1.0.2j --with-zlib=/root/Nginx/zlib-1.2.8 --add-module=/root/my/nginx-rtmp-module-master --add-module=/root/my/ngx_devel_kit-0.2.19 --add-module=/root/my/lua-nginx-module-0.10.6