This is an expected behaviour for RTMP output. When input loss, it triggers the input loss behaviour to push either black/color image or slate image that is defined. Unfortunately, there is no option to pause RTMP output when input loss.
If you would like to achieve this, my suggestion is to implement a script to monitor the input alert using the email notification or web callback URL and send a REST API to start/stop when an alert is raised. You can enable notification under Global Processors > Notification.
For example, if you receive an input alert, send a stop output API to stop the RTMP output and when input alert is cleared, send an start output API to resume RTMP output.
Edited by: samuelAWS on Oct 29, 2021 12:30 AM
I already have alerts configured for input loss. Just wanted to eliminate the manual intervention of start/stop in case of input loss.
Currently we are practicing the same manual start stop in that case. Since we do not have this feature for RTMP push, thanks for the clarification.
Black stream in case input loss on elemental encoderasked a year ago
Elemental Link Encoder Software Updateasked 5 months ago
MediaLive input loss behavior triggered by still images in streamasked 3 months ago
Facing issues in rtmp push inputsasked 3 years ago
Does AWS Elemental MediaLive support RTMPS inputAccepted Answerasked 2 years ago
Live Stream to Twitch rtmpAccepted Answerasked 3 years ago
MediaLive Input loss behavior not working as expected.asked 6 months ago
RTMP pull/push and Zoomasked 2 years ago
Channel can't pull if Input type RTMP_PULL with url have access key.asked 8 months ago
Small Scale VOD Streaming - Am I looking in the right place?asked 6 months ago