0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

obs-outputs: Log unhandled rtmp status responses

rtmp status responses that are not handled are currently silently ignored
making it difficult to identify issues.
This commit is contained in:
Eric Lindvall 2020-06-18 17:22:39 -07:00
parent 6a880530f1
commit 1939472912

View File

@ -3379,6 +3379,14 @@ HandleInvoke(RTMP *r, const char *body, unsigned int nBodySize)
r->m_pausing = 3;
}
}
else
{
if (description.av_len)
RTMP_Log(RTMP_LOGWARNING, "Unhandled: %s:\n%s (%s)", r->Link.tcUrl.av_val, code.av_val, description.av_val);
else
RTMP_Log(RTMP_LOGWARNING, "Unhandled: %s:\n%s", r->Link.tcUrl.av_val, code.av_val);
}
}
else if (AVMATCH(&method, &av_playlist_ready))
{