2015-01-19 05:17:46 +00:00
|
|
|
# the config for srs to remux rtmp to mp3 live stream.
|
2022-07-31 08:26:35 +00:00
|
|
|
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-http-flv
|
2015-01-19 05:17:46 +00:00
|
|
|
# @see full.conf for detail config.
|
|
|
|
|
|
|
|
listen 1935;
|
|
|
|
max_connections 1000;
|
2017-02-09 06:17:36 +00:00
|
|
|
daemon off;
|
|
|
|
srs_log_tank console;
|
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;
|
|
|
|
}
|
|
|
|
}
|