mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 20:31:56 +00:00
add push flv conf
This commit is contained in:
parent
e221d002a2
commit
ffdabf32ed
2 changed files with 15 additions and 0 deletions
|
@ -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,
|
||||
|
|
14
trunk/conf/push.flv.conf
Normal file
14
trunk/conf/push.flv.conf
Normal file
|
@ -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__ {
|
||||
}
|
Loading…
Reference in a new issue