概述
本方案为android端使用rtmp将视频推流到rtmp服务器,rtmp通过转出http-flv实时流,web端进行视频拉流播放。
技术
android推流
https://github.com/begeekmyfriend/yaseartmp/http-flv服务器
https://github.com/winshining/nginx-http-flv-moduleweb播放
https://github.com/xqq/mpegts.js
下载
android推流
源码:yasea-master.zip
程序:rtmp/http-flv服务器
源码:nginx-http-flv-module-1.2.11.tar.gz
程序:window:nginx-rtmp-httpflv.zip,linux:nginx-http-flv-module.zipweb播放(v1.7.3)
源码:mpegts.js-1.7.3.tar.gz
程序:mpegts.js
使用
参考rtmp/http-flv服务器windows程序下的demo:
\demo\mpegts(低延迟稳定)