2015-01-19 05:17:46 +00:00
|
|
|
# the config for srs to remux rtmp to mp3 live stream.
|
2015-04-29 09:06:32 +00:00
|
|
|
# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHttpStream
|
2015-01-19 05:17:46 +00:00
|
|
|
# @see full.conf for detail config.
|
|
|
|
|
|
|
|
listen 1935;
|
|
|
|
max_connections 1000;
|
2015-01-22 01:34:33 +00:00
|
|
|
http_server {
|
2015-01-19 05:17:46 +00:00
|
|
|
enabled on;
|
|
|
|
listen 8080;
|
|
|
|
dir ./objs/nginx/html;
|
|
|
|
}
|
|
|
|
vhost __defaultVhost__ {
|
2015-01-22 01:34:33 +00:00
|
|
|
http_remux {
|
2015-01-19 05:17:46 +00:00
|
|
|
enabled on;
|
|
|
|
fast_cache 30;
|
|
|
|
mount [vhost]/[app]/[stream].mp3;
|
2015-03-14 01:52:47 +00:00
|
|
|
hstrs on;
|
|
|
|
|
2015-01-19 05:17:46 +00:00
|
|
|
}
|
|
|
|
}
|