mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 20:01:56 +00:00
48 lines
719 B
Text
48 lines
719 B
Text
|
|
||
|
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;
|
||
|
}
|
||
|
}
|
||
|
|