https://github.com/ZLMediaKit/ZLMediaKit
https://github.com/q191201771/lal
Success
Can RTMP to WebRTC On iOS 11 up can play.
.2秒
ffmpeg -i rtmp://xxx/live/A1 -tune zerolatency -preset faster -vcodec libx264 -b:v 400k -s 720x450 -r 15 -acodec mp3 -g 2 -f ssegment -segment_format mpegts -segment_time 2 -segment_list playlist.m3u8 out%03d.ts
-r 15 帧速率
-s 720x450 分辨率
-b 500k 比特率
-gop 2
-segment_time 2
压缩快慢
-preset ultrafast,superfast, veryfast, faster, fast, medium, slow, slower, veryslow
.3秒
ffmpeg -i rtmp://xxxx/live/A1 -tune zerolatency -preset faster -vcodec libx264 -b:v 400k -s 720x450 -r 15 -acodec mp3 -g 1.
https://github.com/agsh/rtsp-ffmpeg
this is ok