mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
719 B
Plaintext
48 lines
719 B
Plaintext
|
|
listen 1935;
|
|
max_connections 1000;
|
|
daemon off;
|
|
srs_log_tank console;
|
|
|
|
http_server {
|
|
enabled on;
|
|
listen 8080;
|
|
}
|
|
|
|
http_api {
|
|
enabled on;
|
|
listen 1985;
|
|
}
|
|
|
|
rtc_server {
|
|
enabled on;
|
|
listen 8000;
|
|
candidate $CANDIDATE;
|
|
}
|
|
|
|
vhost __defaultVhost__ {
|
|
rtc {
|
|
enabled on;
|
|
bframe discard;
|
|
}
|
|
|
|
http_remux {
|
|
enabled on;
|
|
mount [vhost]/[app]/[stream].flv;
|
|
}
|
|
|
|
tcp_nodelay on
|
|
min_latency on;
|
|
|
|
play {
|
|
gop_cache off;
|
|
queue_length 10;
|
|
mw_latency 100;
|
|
}
|
|
|
|
publish {
|
|
mr off;
|
|
}
|
|
}
|
|
|