temp
This commit is contained in:
parent
f6a332d120
commit
516f1d4404
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user