From 1167f68165351c55e6aa9ea7334d3fadbc128773 Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 20 Nov 2021 09:54:42 +0800 Subject: [PATCH] FLV: Add realtime HTTP-FLV config --- trunk/conf/realtime.flv.conf | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 trunk/conf/realtime.flv.conf diff --git a/trunk/conf/realtime.flv.conf b/trunk/conf/realtime.flv.conf new file mode 100644 index 000000000..ed6ad45ea --- /dev/null +++ b/trunk/conf/realtime.flv.conf @@ -0,0 +1,32 @@ +# the config for srs to delivery realtime RTMP stream +# @see https://github.com/ossrs/srs/wiki/v2_CN_SampleRealtime +# @see full.conf for detail config. + +listen 1935; +max_connections 1000; +daemon off; +srs_log_tank console; +http_server { + enabled on; + listen 8080; + dir ./objs/nginx/html; +} +vhost __defaultVhost__ { + http_remux { + enabled on; + mount [vhost]/[app]/[stream].flv; + } + + tcp_nodelay on + min_latency on; + + play { + gop_cache off; + queue_length 10; + mw_latency 100; + } + + publish { + mr off; + } +}