From 9c0494c04ca6b9a7a2b0b1d57231c4d01e2c178b Mon Sep 17 00:00:00 2001 From: Thulinma Date: Sun, 28 Oct 2018 14:23:44 +0100 Subject: [PATCH] Changed not-acceptable RTMP requests from FAIL to INFO level. --- src/output/output_rtmp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/output/output_rtmp.cpp b/src/output/output_rtmp.cpp index bf4c5f33..3d8717a4 100644 --- a/src/output/output_rtmp.cpp +++ b/src/output/output_rtmp.cpp @@ -692,7 +692,7 @@ namespace Mist{ amfReply.getContentP(3)->addContent(AMF::Object("code", "NetStream.Publish.Rejected")); amfReply.getContentP(3)->addContent(AMF::Object("description", "Publish rejected: this interface does not allow publishing")); sendCommand(amfReply, messageType, streamId); - FAIL_MSG("Push from %s rejected - connector configured to only allow outgoing streams", getConnectedHost().c_str()); + INFO_MSG("Push from %s rejected - connector configured to only allow outgoing streams", getConnectedHost().c_str()); onFinish(); return; } @@ -812,7 +812,7 @@ namespace Mist{ amfReply.getContentP(3)->addContent(AMF::Object("code", "NetStream.Play.Rejected")); amfReply.getContentP(3)->addContent(AMF::Object("description", "Play rejected: this interface does not allow playback")); sendCommand(amfReply, messageType, streamId); - FAIL_MSG("Play of %s by %s rejected - connector configured to only allow incoming streams", streamName.c_str(), getConnectedHost().c_str()); + INFO_MSG("Play of %s by %s rejected - connector configured to only allow incoming streams", streamName.c_str(), getConnectedHost().c_str()); onFinish(); return; }