mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
merge from bravo system, add the rtmfp to bms(commercial srs). 2.0.163.
This commit is contained in:
parent
0f7cafe50b
commit
44bc7976ac
17 changed files with 317 additions and 270 deletions
|
@ -441,10 +441,22 @@ int SrsConfig::reload_conf(SrsConfig* conf)
|
|||
// daemon
|
||||
//
|
||||
// always support reload without additional code:
|
||||
// chunk_size, ff_log_dir, max_connections,
|
||||
// chunk_size, ff_log_dir,
|
||||
// bandcheck, http_hooks, heartbeat,
|
||||
// token_traverse, debug_srs_upnode,
|
||||
// security
|
||||
|
||||
// merge config: max_connections
|
||||
if (!srs_directive_equals(root->get("max_connections"), old_root->get("max_connections"))) {
|
||||
for (it = subscribes.begin(); it != subscribes.end(); ++it) {
|
||||
ISrsReloadHandler* subscribe = *it;
|
||||
if ((ret = subscribe->on_reload_max_conns()) != ERROR_SUCCESS) {
|
||||
srs_error("notify subscribes reload max_connections failed. ret=%d", ret);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
srs_trace("reload max_connections success.");
|
||||
}
|
||||
|
||||
// merge config: listen
|
||||
if (!srs_directive_equals(root->get("listen"), old_root->get("listen"))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue