1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00
srs/trunk/conf/srt.conf
2020-01-21 19:23:38 +08:00

38 lines
766 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# main config for srs.
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
srs_log_tank file;
srs_log_file ./objs/srs.log;
daemon off;
http_api {
enabled on;
listen 1985;
}
http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}
srt_server {
enabled on;
listen 10080;
}
vhost __defaultVhost__ {
}
vhost srs.srt.com.cn {
}
# srt推流srt://127.0.0.1:10080?streamid=srs.srt.com.cn/live/test1?m=push
# srt拉流srt://127.0.0.1:10080?streamid=srs.srt.com.cn/live/test1?m=pull
# rtmp拉流rtmp://127.0.0.1/live?vhost=srs.srt.com.cn/test1
stats {
network 0;
disk sda sdb xvda xvdb;
}