2015-01-19 13:17:46 +08:00
|
|
|
# the config for srs to remux rtmp to aac live stream.
|
2025-07-05 09:32:11 -04:00
|
|
|
# @see https://ossrs.io/lts/en-us/docs/v7/doc/flv
|
2015-01-19 13:17:46 +08:00
|
|
|
# @see full.conf for detail config.
|
|
|
|
|
|
|
|
|
|
max_connections 1000;
|
2017-02-09 14:17:36 +08:00
|
|
|
daemon off;
|
|
|
|
|
srs_log_tank console;
|
2025-08-27 19:27:23 -04:00
|
|
|
|
|
|
|
|
# RTMP server configuration
|
|
|
|
|
rtmp {
|
|
|
|
|
listen 1935;
|
|
|
|
|
}
|
2015-01-22 09:34:33 +08:00
|
|
|
http_server {
|
2015-01-19 13:17:46 +08:00
|
|
|
enabled on;
|
|
|
|
|
listen 8080;
|
|
|
|
|
dir ./objs/nginx/html;
|
|
|
|
|
}
|
|
|
|
|
vhost __defaultVhost__ {
|
2015-01-22 09:34:33 +08:00
|
|
|
http_remux {
|
2015-01-19 13:17:46 +08:00
|
|
|
enabled on;
|
|
|
|
|
fast_cache 30;
|
|
|
|
|
mount [vhost]/[app]/[stream].aac;
|
|
|
|
|
}
|
|
|
|
|
}
|