From ffdabf32ed19b1db134b9d384eb43ecf24f22be3 Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 5 May 2015 11:44:20 +0800 Subject: [PATCH] add push flv conf --- trunk/conf/full.conf | 1 + trunk/conf/push.flv.conf | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 trunk/conf/push.flv.conf diff --git a/trunk/conf/full.conf b/trunk/conf/full.conf index a639e2675..bab1433de 100644 --- a/trunk/conf/full.conf +++ b/trunk/conf/full.conf @@ -174,6 +174,7 @@ stream_caster { # the listen port for stream caster. # for mpegts_over_udp caster, listen at udp port. for example, 8935. # for rtsp caster, listen at tcp port. for example, 554. + # for flv caster, listen at tcp port. for example, 8936. # TODO: support listen at <[ip:]port> listen 8935; # for the rtsp caster, the rtp server local port over udp, diff --git a/trunk/conf/push.flv.conf b/trunk/conf/push.flv.conf new file mode 100644 index 000000000..140ff6eab --- /dev/null +++ b/trunk/conf/push.flv.conf @@ -0,0 +1,14 @@ +# push HTTP FLV to SRS. +# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_Streamer#push-http-flv-to-srs +# @see full.conf for detail config. + +listen 1935; +max_connections 1000; +stream_caster { + enabled on; + caster flv; + output rtmp://127.0.0.1/[app]/[stream]; + listen 8936; +} +vhost __defaultVhost__ { +}