mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #319, support rpc raw api to query the HTTP RAW API configs.
This commit is contained in:
parent
af0a76e51a
commit
2dcf3bc606
7 changed files with 236 additions and 21 deletions
|
@ -121,10 +121,18 @@ http_api {
|
|||
# whether enable crossdomain request.
|
||||
# default: on
|
||||
crossdomain on;
|
||||
# whether enable the HTTP RAW API,
|
||||
# which is more powerful api to change srs state and reload.
|
||||
# default: off
|
||||
raw_api off;
|
||||
# the HTTP RAW API is more powerful api to change srs state and reload.
|
||||
raw_api {
|
||||
# whether enable the HTTP RAW API.
|
||||
# default: off
|
||||
enabled off;
|
||||
# whether enable rpc reload.
|
||||
# default: off
|
||||
allow_reload off;
|
||||
# whether enable rpc config_query.
|
||||
# default: off
|
||||
allow_config_query off;
|
||||
}
|
||||
}
|
||||
# embeded http server in srs.
|
||||
# the http streaming config, for HLS/HDS/DASH/HTTPProgressive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue