This commit is contained in:
cxh 2025-10-14 17:46:07 +08:00
parent f6a332d120
commit 516f1d4404

View File

@ -8,8 +8,6 @@
std::unordered_map<std::string, RTMPManager::StreamContext> 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;