mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #293, support http live flv/aac/mp3 stream with fast cache. 2.0.100.
This commit is contained in:
parent
29a8932b49
commit
b7b268dfbf
9 changed files with 87 additions and 8 deletions
18
trunk/conf/http.mp3.live.conf
Normal file
18
trunk/conf/http.mp3.live.conf
Normal file
|
@ -0,0 +1,18 @@
|
|||
# the config for srs to remux rtmp to mp3 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;
|
||||
fast_cache 30;
|
||||
mount [vhost]/[app]/[stream].mp3;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue