mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Always enable DVR
This commit is contained in:
parent
b0789c54e4
commit
7fd221ef63
7 changed files with 10 additions and 64 deletions
|
@ -4040,11 +4040,9 @@ int SrsConfig::check_config()
|
|||
for (int i = 0; i < (int)vhosts.size(); i++) {
|
||||
SrsConfDirective* vhost = vhosts[i];
|
||||
srs_assert(vhost != NULL);
|
||||
#ifndef SRS_AUTO_DVR
|
||||
if (get_dvr_enabled(vhost->arg0())) {
|
||||
srs_warn("dvr of vhost %s is disabled by configure", vhost->arg0().c_str());
|
||||
}
|
||||
#endif
|
||||
if (get_hls_enabled(vhost->arg0())) {
|
||||
srs_warn("hls of vhost %s is disabled by configure", vhost->arg0().c_str());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue