1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add heatbeat url, add stream for api-server

This commit is contained in:
winlin 2014-05-19 15:27:05 +08:00
parent 98b564ce64
commit 7c804277b2
4 changed files with 39 additions and 3 deletions

View file

@ -41,6 +41,14 @@ max_connections 1000;
# @remark: donot support reload.
# default: on
daemon on;
# heartbeat to api server
# when startup, srs will heartbeat to this api.
# @remark: must be a restful http api url, where SRS will POST with following data:
# {
# "device_id": "my-srs-device",
# "ip": "192.168.1.100"
# }
heartbeat http://127.0.0.1:8085/api/v1/servers;
#############################################################################################
# HTTP sections