常见直播方案延迟与性能对比

推流说明

推流后才可以看到视频

房间ID

使用ffmpeg -re -i demo.flv -c copy -f flv rtmp://live.wuhaolin.cn/live/reflv推流播放demo.flv

使用ffmpeg -f avfoundation -i "0" -vcodec h264 -acodec aac -f flv rtmp://live.wuhaolin.cn/live/reflv推流播放你电脑的摄像头

    - 传输协议 HTTP-FLV
    - 播放器 flv.js
    - 传输协议 RTMP
    - 播放器 Flash
    - 传输协议 HLS
    - 播放器 HTML5 Video

Supported flv.js feature list for your browser

NameSupportDescription
mseFlvPlayback
true
Same to flvjs.isSupported(), whether basic playback works on your browser.
mseLiveFlvPlayback
true
Whether HTTP FLV live stream can works on your browser.
networkStreamIO
true
Whether the network loader is streaming.
networkLoaderNamefetch-stream-loaderIndicates the network loader type name.
nativeMP4H264Playback
true
Whether your browser support H.264 MP4 video file natively.
nativeWebmVP8Playback
true
Whether your browser support WebM VP8 video file natively.
nativeWebmVP9Playback
true
Whether your browser support WebM VP9 video file natively.

参考

常见直播方案延迟与性能对比

使用flv.js做网页直播

live stream serve on livego