From e6e4bd7fb4f65d277cb5d6da2307d9a95c30a0dd Mon Sep 17 00:00:00 2001 From: winlin Date: Tue, 24 Dec 2019 19:26:22 +0800 Subject: [PATCH] Remove useless warning log for reloading. --- trunk/src/app/srs_app_config.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index c5fae9974..1a790627a 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -3855,17 +3855,6 @@ srs_error_t SrsConfig::check_normal_config() SRS_CONSTS_RTMP_MIN_CHUNK_SIZE, SRS_CONSTS_RTMP_MAX_CHUNK_SIZE); } } - for (int i = 0; i < (int)vhosts.size(); i++) { - SrsConfDirective* vhost = vhosts[i]; - srs_assert(vhost != NULL); - if (get_dvr_enabled(vhost->arg0())) { - srs_warn("can't enable vhost.dvr of %s", vhost->arg0().c_str()); - } - if (get_hls_enabled(vhost->arg0())) { - srs_warn("can't enable vhost.hls of %s", vhost->arg0().c_str()); - } - // TODO: FIXME: required http server when hls storage is ram or both. - } // asprocess conflict with daemon if (get_asprocess() && get_daemon()) {