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:
parent
98b564ce64
commit
7c804277b2
4 changed files with 39 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue