mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix the config bug.
This commit is contained in:
parent
9ebb77d711
commit
cef1ae5a8e
1 changed files with 2 additions and 2 deletions
|
@ -4751,7 +4751,7 @@ double SrsConfig::get_send_min_interval(string vhost)
|
||||||
}
|
}
|
||||||
|
|
||||||
conf = conf->get("play");
|
conf = conf->get("play");
|
||||||
if (!conf || conf->arg0().empty()) {
|
if (!conf) {
|
||||||
return DEFAULT;
|
return DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4773,7 +4773,7 @@ bool SrsConfig::get_reduce_sequence_header(string vhost)
|
||||||
}
|
}
|
||||||
|
|
||||||
conf = conf->get("play");
|
conf = conf->get("play");
|
||||||
if (!conf || conf->arg0().empty()) {
|
if (!conf) {
|
||||||
return DEFAULT;
|
return DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue