Skip to content

SRT output from Medialive

0

Hi everybody We'll begin using Medialive shortly. It would very useful to have the ability to send an SRT output from MediaLive, without having to use RTMP and then convert in SRT using Wowza. I see only UDP, RTP, RTMP, HLS choices. Is SRT support coming in MediaLive (aside from MediaConnect)

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

asked 4 years ago334 views
7 Answers
1

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
AWS
answered a year ago
  • 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?

1

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.

AWS
answered a year ago
0

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...)

answered a year ago
0

@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

answered a year ago
0

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

answered 10 months ago
0

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...)

answered 4 months ago
0

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.

answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.