mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #293, add http flv stream
This commit is contained in:
parent
c4302b9b61
commit
eff2d81016
8 changed files with 223 additions and 17 deletions
17
trunk/conf/http.flv.live.conf
Normal file
17
trunk/conf/http.flv.live.conf
Normal file
|
@ -0,0 +1,17 @@
|
|||
# the config for srs to remux rtmp to flv live stream.
|
||||
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpFlvStream
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
http_stream {
|
||||
enabled on;
|
||||
listen 8080;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
http_flv {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue