- Newest
- Most votes
- Most comments
Yes MediaLive has recently added SRT output support. The MediaLive output always functions as the Caller and the sender. The downstream system is the listener and the receiver.
The SRT output works over UDP. Any firewalls or Security Groups between source and receiver must be configured to pass UDP on port 2088.
Some firewalls block inbound UDP by default, so have a look at this setting.
FYI - You can test your SRT listener from the AWS CloudShell prompt (independent of MediaLive) using ffmpeg to send a low-bandwidth test stream.
The command will resemble:
ffmpeg -y -f lavfi -re -i testsrc -vf scale=1280:960 -vcodec libx264 -b:v 500k -maxrate 900k -r 30.0 -s 640x480 -pix_fmt yuv420p -an -f mpegts srt://$targetip:$targetport
Hi @robc_amazon, thank you for the update. Nevertheless we have problems sending the signals via SRT also towards MediaConnect. Any option to change inside MediaLive and MediaConnect for 2088 port?
Good question. At present MediaLive accepts SRT inputs but does not support SRT output.
You can achieve SRT output today by sending a bitstream output of MediaLive to the MediaConnect service. That service will accept a live stream in a variety of protocols, convert those protocols, and output a variety of formats including SRT caller + listener. The link between MediaLive and MediaConnect must be RTP-FEC. This does incur some incremental cost but does provide multiple benefits as well including optional redundancy, transport stream content sampling, and protocol conversion.
If you want to see SRT outputs added to MediaLive, we encourage you to use the 'feedback' button in the MediaLive Console and select 'Feature Request' from the resulting menu.
Now I see the option to choose SRT for output. I did some tests but I always get these errors: Failed to Write to UDP Socket ReliableTs Output Not Connected (retrying...)
@rocc_amzn the user guide needs to be updated to show SRT output as an option. there is no documentation on how to format the SRT URL field with combined information
We still have this problem, unless we are 100% sure the srt listener is configured correctly. We always get Failed to Write to UDP Socket and ReliableTs Output Not Connected (retrying...) error codes. Is 2088 port open in MediaLive? Any way to solve that? If I configure UDP output in MediaLive is ok
I'm also getting same error while connecting from Medialive to YouTube with SRT
Failed to Write to UDP Socket ReliableTs Output Not Connected (retrying...)
I am also having the same problem trying to send SRT directly from MediaLive outputs "Failed to Write to UDP Socket ReliableTs Output Not Connected (retrying...)". At first I thought it was the passphrase in the secrets manager, and the associated IAM policy causing the problem but I have redone it multiple times so believe I am doing that part correctly now. So I am stumped, I will speak to support next and see what they suggest.
Relevant content
- asked 2 years ago
- asked 3 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago

Did you ever find solution to this? I'm dealing with a similar setup.