diff --git a/src/rtmp_manager.cpp b/src/rtmp_manager.cpp index a3a39d9..0ce6ec8 100644 --- a/src/rtmp_manager.cpp +++ b/src/rtmp_manager.cpp @@ -8,8 +8,6 @@ std::unordered_map RTMPManager::streams; std::mutex RTMPManager::streams_mutex; -LOG_INFO(std::string(debug)); - static inline std::string stream_type_suffix(StreamType type) { return (type == StreamType::MAIN) ? "_main" : "_sub"; @@ -126,8 +124,6 @@ void RTMPManager::stream_loop(Camera cam, StreamType type) gchar *debug = nullptr; gst_message_parse_error(msg, &err, &debug); LOG_ERROR("[RTMP] Error on '" + key + "': " + std::string(err->message)); - if (debug) - LOG_DEBUG(std::string(debug)); g_error_free(err); g_free(debug); error_occurred = true;