How to configure SRT

SRT (Secure Reliable Transport) is similar to Zixi (CTP). It allows push/pull MPEG-TS content over public internet (and LAN), based on UDP, a bidirectional connection on a single port.

SRT has both Client and Server in MCM9000, unlike Zixi, which has only the Client-side.

The MCM9000 supports Rx and Tx using SRT, with all three work modes: Listener, Client & Rendezvous.

Listener mode - The MCM waits for a connection on a specific port. Once received, it either pushes or pulls the content. For the receiver, this will be a “pull” of a single stream. For the encoder, this is “push” and can push multiple copies of the mosaic to multiple clients (user-defined, currently limited to max four connections)

Client mode - The MCM initiates the connection.

Rendezvous mode - Both sides initiate a connection to each other's public IP, and this should bypass firewalls and NATs without specific configurations. This works on the same port number for Rx, Tx, sender, and receiver.

Please note Zixi/SRT Publish Point allows MCM9000 to push either SRT or Zixi separately and not together.

** The main structure of the SRT source in the MCM is similar to ZIXI, except for the syntax that's configured in the URL field under the Publish Point:

Tx configuration:

For Tx configuration, follow the below steps.

  1. Navigate to Outputs → Configuration. Click on edit an existing encoder or add a new encoder and navigate to Auxillary Streams.

2. In the Zixi/SRT Publish Point section, input the Url, Network, and check the Enabled checkbox to enable SRT Tx configuration.

The URL should be set in the format:

srt://192.168.1.1:2222/StreamName?mode=listener&maxconn=4&passphrase=secret

** Version 6.3.5 onwards SRT RX/TX/SCAN password in hex format is supportedd using hexpass=xxxxxxx.

For example :

  • Passphrase - srt://192.168.1.1:2222/StreamName?mode=listener&maxconn=4&passphrase=Qy'ax=g~[]~$3$

  • Hexpass - srt://192.168.1.1:2222/StreamName?mode=listener&maxconn=4&hexpass=3F3D51792761783D677E5B5D7E243324

All of the parameters are optional.

The IP is ignored for the listener, otherwise, should be the peer IP or hostname. The StreamName if not defined will be the encoder name, the default mode is client, the default max connection is 1, and if the pass-phrase is not defined, the content will not be encrypted.

3. For Encoder Configuration please refer to Encoder Configuration and for Transport Configuration please refer to Transport Configuration.

 

JXS over SRT

** Version 6.3.8 onwards, SRT supports JXS-TR07 Linear Codec Type.

To push JXS over SRT, set the Linear Codec Type to JXS-TR07 under Encoder Configuration as shown below.

image-20240215-145724.png

Follow the steps 1 and 2 in Tx Configuration.

In step 2, the URL structure should suffix “?jxs”. For example, srt://192.168.10.22:2207?mode=listener&maxconn=2&jxs

 

Rx configuration:

  1. Scanning:

Please note to scan SRT, you need to select CTP (Zixi) on Source → Scan on the MCM9000 GUI. For a detailed description of scanning SRT/Zixi sources please refer to Scan Zixi. For manual configuration please refer to CTP.

The URL structure same as the encoder and receiver: srt://192.168.1.1:2222?mode=listener&maxconn=4&passphrase=secret

** Version 6.3.5 onwards SRT RX/TX/SCAN password in hex format is supportedd using hexpass=xxxxxxx.

For example :

  • Passphrase - srt://192.168.1.1:2222/StreamName?mode=listener&maxconn=4&passphrase=Qy'ax=g~[]~$3$

  • Hexpass - srt://192.168.1.1:2222/StreamName?mode=listener&maxconn=4&hexpass=3F3D51792761783D677E5B5D7E243324

Stream name should be configured on the separate field it is sent along with the connection initiation but is not verified with the received stream. It is possible to work with streams without any stream-id configured. Other MPTS related configurations should be used as a template same as when using ZIXI.

2. Navigate to Sources → Configuration and search for the SRT source.

3. Double click or edit the SRT source configuration.

 

Note: There is an optional field for timeout that can be used in SRT configuration. For example, srt://192.168.1.1:2222?mode=listener&connection_timeout=10000