srs rtmp forward (push) out || pull in push out

master 192.168.105.20 srs.conf isten 1935; max_connections 1000; srs_log_tank console; #file; #console; srs_log_file ./objs/srs.log; daemon off; #on or delete this line http_api { enabled on; listen 1985; } http_server { enabled on; listen 8080; dir ./objs/nginx/html; } stats { network 0; disk sda sdb xvda xvdb; } vhost __defaultVhost__ { ingest livestream { enabled on; input { type stream; url rtmp://xxx.ooo.xxx.ooo/live/nna1 } ffmpeg ./objs/ffmpeg; #if no build, just install then link -s engine { enabled off; output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/nna2 #this push back this server ...

2017-09-22 · 2 min · 216 words · Me

rtmp srs

https://github.com/ossrs/srs https://github.com/ossrs/srs/wiki/v2_CN_Home https://github.com/ossrs/srs/wiki/v1_CN_SampleRTMP https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=srs&starCount=0 http://ossrs.net/srs.release/releases/ ====低延时配置====== https://github.com/ossrs/srs/wiki/v2_CN_LowLatency 考虑GOP-Cache和累积延迟,推荐的低延时配置如下(参考min.delay.com): # the listen ports, split by space. listen 1935; vhost __defaultVhost__ { gop_cache off; queue_length 10; min_latency on; mr { enabled off; } mw_latency 100; tcp_nodelay on; } 当然,服务器的性能也要考虑,不可以让一个SRS进程跑太高带宽,一般CPU在80%以下不会影响延迟,连接数参考性能。

2017-07-13 · 1 min · 37 words · Me