diff --git a/daemon/browser.cpp b/daemon/browser.cpp index 81e4c5d..91b2cde 100644 --- a/daemon/browser.cpp +++ b/daemon/browser.cpp @@ -188,7 +188,7 @@ void Browser::on_remove_rtsp_source(const std::string& name, auto rng = name_idx.equal_range(name); while(rng.first != rng.second){ const auto& it = rng.first; - if (it->source == "mDNS" && it->domain == domain && it->name == name) { + if (it->source == "mDNS" && it->domain == domain) { BOOST_LOG_TRIVIAL(info) << "browser:: removing RTSP source " << it->id << " name " << it->name << " domain " << it->domain; diff --git a/daemon/rtsp_client.cpp b/daemon/rtsp_client.cpp index f6a75ee..409e247 100644 --- a/daemon/rtsp_client.cpp +++ b/daemon/rtsp_client.cpp @@ -168,7 +168,7 @@ std::pair RTSPClient::describe(const std::string& path, success = true; } catch (std::exception& e) { - BOOST_LOG_TRIVIAL(error) + BOOST_LOG_TRIVIAL(warning) << "rtsp_client:: error with " << "rtsp://" << address << ":" << port << path << ": " << e.what(); }