mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Add conf/rtc_live.conf
This commit is contained in:
parent
7521bc86ad
commit
3cf3047f97
1 changed files with 47 additions and 0 deletions
47
trunk/conf/rtc_live.conf
Normal file
47
trunk/conf/rtc_live.conf
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue