I'm using AWS Step Functions to create a channel on AWS Medialive to stream live video from S3 file to Facebook live.
I have an input of type MP4_FILE (hosted in public s3 bucket).
SourceEndBehavior is set as CONTINUE for this InputAttachment for the channel.
For the RtmpGroupSettings in OutputGroupSettings, the InputLossAction is set as PAUSE_OUTPUT.
The current behavior is, the channel pauses Rtmp output on the end of playing of the provided mp4 file as input.
How can I stop the channel on the end of the input?