1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00
srs/trunk/conf/srt.conf

38 lines
628 B
Text
Raw Normal View History

2020-01-23 03:51:35 +00:00
# SRT config.
2020-01-21 11:20:09 +00:00
listen 1935;
max_connections 1000;
2020-01-23 03:51:35 +00:00
srs_log_tank console;
2020-01-21 11:20:09 +00:00
daemon off;
http_api {
enabled on;
listen 1985;
}
2020-02-12 12:02:55 +00:00
2020-01-21 11:20:09 +00:00
http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}
srt_server {
enabled on;
listen 10080;
2020-02-12 12:02:55 +00:00
maxbw 1000000000;
connect_timeout 4000;
peerlatency 300;
recvlatency 300;
2020-01-21 11:20:09 +00:00
}
2020-01-23 10:25:44 +00:00
# @doc https://github.com/ossrs/srs/issues/1147#issuecomment-577607026
2020-01-21 11:20:09 +00:00
vhost __defaultVhost__ {
}
vhost srs.srt.com.cn {
}
stats {
network 0;
disk sda sdb xvda xvdb;
}