Administrator
Published on 2024-05-14 / 16 Visits
0
0

RTMP直播WEB低延迟观看方案

概述

本方案为android端使用rtmp将视频推流到rtmp服务器,rtmp通过转出http-flv实时流,web端进行视频拉流播放。

技术

  1. android推流
    https://github.com/begeekmyfriend/yasea

  2. rtmp/http-flv服务器
    https://github.com/winshining/nginx-http-flv-module

  3. web播放
    https://github.com/xqq/mpegts.js

下载

  1. android推流
    源码:yasea-master.zip
    程序:

  2. rtmp/http-flv服务器
    源码:nginx-http-flv-module-1.2.11.tar.gz
    程序:window:nginx-rtmp-httpflv.zip,linux:nginx-http-flv-module.zip

  3. web播放(v1.7.3)
    源码:mpegts.js-1.7.3.tar.gz
    程序:mpegts.js

使用

参考rtmp/http-flv服务器windows程序下的demo:
\demo\mpegts(低延迟稳定)


Comment