mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
29 lines
572 B
Text
29 lines
572 B
Text
# main config for srs.
|
|
# @see full.conf for detail config.
|
|
|
|
listen 1935;
|
|
max_connections 1000;
|
|
srs_log_tank console;
|
|
daemon off;
|
|
http_api {
|
|
enabled on;
|
|
listen 1985;
|
|
}
|
|
http_server {
|
|
enabled on;
|
|
listen 8080;
|
|
dir ./objs/nginx/html;
|
|
}
|
|
stats {
|
|
network 0;
|
|
disk sda sdb xvda xvdb;
|
|
}
|
|
vhost __defaultVhost__ {
|
|
hls {
|
|
enabled on;
|
|
}
|
|
http_remux {
|
|
enabled on;
|
|
mount [vhost]/[app]/[stream].flv;
|
|
}
|
|
}
|