1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00
srs/trunk/conf/rtc.conf

40 lines
804 B
Text
Raw Normal View History

2020-02-23 15:19:40 +00:00
listen 1935;
2020-05-17 12:20:37 +00:00
max_connections 10;
2020-03-14 09:15:46 +00:00
srs_log_tank console;
2020-02-23 15:19:40 +00:00
srs_log_file ./objs/srs.log;
2020-03-14 10:05:58 +00:00
daemon off;
2020-03-14 09:15:46 +00:00
2020-02-23 15:19:40 +00:00
http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}
2020-03-14 09:15:46 +00:00
http_api {
2020-02-23 15:19:40 +00:00
enabled on;
2020-03-14 09:15:46 +00:00
listen 1985;
2020-02-23 15:19:40 +00:00
}
stats {
network 0;
}
rtc_server {
2020-03-14 09:15:46 +00:00
enabled on;
# Listen at udp://8000
listen 8000;
2020-03-14 10:05:58 +00:00
#
2020-03-31 09:26:32 +00:00
# The $CANDIDATE means fetch from env, if not configed, use * as default.
2020-03-14 10:05:58 +00:00
#
2020-03-31 09:26:32 +00:00
# The * means retrieving server IP automatically, from all network interfaces,
2020-03-14 09:15:46 +00:00
# @see https://github.com/ossrs/srs/issues/307#issuecomment-599028124
2020-05-17 12:20:37 +00:00
candidate *;
2020-02-23 15:19:40 +00:00
}
2020-03-14 09:15:46 +00:00
vhost __defaultVhost__ {
rtc {
enabled on;
bframe discard;
}
2020-03-14 09:15:46 +00:00
}
2020-02-23 15:19:40 +00:00