2014-05-22 09:13:57 +00:00
|
|
|
# the config for srs http heartbeat, report its info to api-server
|
|
|
|
# @see full.conf for detail config.
|
|
|
|
|
2014-07-26 07:34:45 +00:00
|
|
|
listen 1935
|
|
|
|
max_connections 1000;
|
2017-02-09 06:17:36 +00:00
|
|
|
daemon off;
|
|
|
|
srs_log_tank console;
|
2014-05-22 09:13:57 +00:00
|
|
|
heartbeat {
|
|
|
|
enabled on;
|
|
|
|
interval 9.3;
|
2014-08-04 02:50:28 +00:00
|
|
|
# for python api-server
|
2014-05-22 09:13:57 +00:00
|
|
|
url http://127.0.0.1:8085/api/v1/servers;
|
|
|
|
device_id "my-srs-device";
|
2014-08-04 02:50:28 +00:00
|
|
|
# for ossrs.net monitor, device_id is the key genereated by bsm.
|
|
|
|
#url http://www.ossrs.net:1977/api/v1/robots/servers;
|
|
|
|
#device_id "35c9b402c12a7246868752e2878f7e0e";
|
|
|
|
# with detail summaries
|
2014-07-27 06:43:55 +00:00
|
|
|
summaries on;
|
|
|
|
}
|
|
|
|
stats {
|
2014-07-27 11:11:51 +00:00
|
|
|
network 0;
|
|
|
|
disk sda sdb xvda xvdb;
|
2014-05-22 09:13:57 +00:00
|
|
|
}
|
|
|
|
vhost __defaultVhost__ {
|
|
|
|
}
|