Set up an SRT stream using caller and listener modes
Applies to: Pearl-2, Pearl Mini, Pearl Nano, Pearl Nexus.
When setting up SRT streaming on Pearl device, you can configure Pearl device as an SRT source encoder and send an SRT stream over the Internet to other SRT destinations (decoders) such as a CDN or another Pearl device.
Caller and listener modes work together to establish the SRT link between your SRT source and destination device when traversing the firewall is difficult and Rendezvous mode didn't work.
To establish an SRT link between the source and destination devices, ensure that one device is a Listener and the other is a caller. The device you set as the caller (or listener) is arbitrary. If the destination device is set as the listener and is ingesting multiple SRT sources, then all your SRT source devices must be set as callers.
In the following example, Pearl device is set up as SRT Source A (192.168.1.10) and another Pearl device is setup as SRT Destination B (203.0.113.10). Source A is streaming through a firewall/NAT to Destination B, which ingests the SRT stream as a video input with embedded audio.
The public IP address of the Firewall/NAT is 168.112.1.1 and port 2000 is the designated SRT streaming port. All traffic received at 168.112.1.1 on port 2000 is granted permission to pass through the firewall and is forwarded ( C ) to Destination B's internal IP address (203.0.113.10) on port 3000.
What's needed for this setup
The internal IP address of SRT Destination B (e.g. 203.0.113.10).
The SRT port value that was configured on SRT Destination B using the Admin panel when the SRT stream was added as a video input source using the Admin panel (e.g. port 3000).
The public IP address of the firewall. An easy way to get the public IP address is to use a web browser and do a Google search for "What is my IP address" (e.g. 168.112.1.1).
The IT administrator in charge of the firewall must open a port for the SRT stream (e.g. port 2000). The port must allow 2-way traffic and route the traffic to the internal IP address and SRT port of Destination B. In this example, traffic received at the firewall's public IP address 168.112.1.1 on SRT port 2000 is routed to 203.0.113.10:3000.
When you're configuring an SRT stream on Pearl device, you can also adjust the recovery bandwidth overhead using the Admin panel. This setting defines how much of the stream's total bandwidth is dedicated for the exchange of SRT control and recovery packets between the source and destination. Ensure that the total SRT stream bitrate (i.e. the bandwidth required for the stream plus the recovery bandwidth overhead) is less than the network bandwidth you have available.
Set up Pearl device as a streaming source in caller/listener mode using the Admin panel
Log in to the Admin panel as admin
From the Channel(s) menu, select the channel and click Streaming. The Streaming configuration page opens.
Click New stream and choose SRT push. The new stream with the default name Stream 1 is created.
Click the stream name to see the stream settings.
In the Connection mode field, select if this Pearl device is the caller or a listener.
If Caller is selected, do the following:
In the *URL *field, enter the IP address of the SRT destination (decoder) using the format *srt://**<**decoder-ip-address**>*:<**port**>, where the <**decoder-ip-address**> and <**port**> could be provided by the CDN, media server, or another SRT decoder device.
(Optional) In the Source port field, enter the port number that this Pearl device should use for SRT traffic.
If Listener is selected, enter the Port number that this Pearl device should use for SRT traffic
(Optional) In the Stream ID field, enter a unique name for this stream.
(Optional) Check Encryption and choose the AES key length if the SRT destination requires AES encryption. These settings must match the encryption settings of the destination device
(Optional) If the SRT destination has a required security Passphrase along with the AES encryption, you can enter that here.
(Optional) In the Latency field adjust the amount of latency to apply to the stream. The default value is 125 ms.
We recommend using the default latency and recovery bandwidth overhead values for an initial test stream. After you perform a test stream, you can determine the Quality of Service (QoS) and calculate the latency requirements.
(Optional) In the Recovery bandwidth overhead field, adjust the % value of the bandwidth that's dedicated for SRT control and recovery packets. The default value is 25%.
(Optional) Rename the stream. Click the current name and enter a different name, then press Enter.
Refresh your browser if the new stream name doesn't immediately display.
Click Apply.
When your ready to start streaming, click Start
Set AES encryption and a passphrase for SRT
Applies to: Pearl-2, Pearl Mini, Pearl Nano, Pearl Nexus.
You can configure your Secure Reliable Transport (SRT) streams to use 128 bits, 192 bits, or 256 bits AES encryption using the Admin panel. You can also assign the SRT stream an alphanumeric passphrase if required. The encryption and passphrase settings on the SRT encoder sending the stream must match the settings on the SRT decoder receiving the stream.
The encryption key length is negotiated between the source and destination devices. The key length of the sender is used to determine the key length that is eventually used to secure the connection, and the receiver obtains the key length from the sender. As long as the passphrases match, the key length will be negotiated.
Set up AES encryption and a passphrase for an SRT stream using the Admin panel
Log in to the Admin panel as admin.
From the Channel(s) menu, select the channel with the SRT stream to configure and click Streaming. The Streaming configuration page opens.
Click the arrowhead beside the SRT stream name to reveal the stream settings. In this example, the name of the SRT stream is Stream 1.
Check Encryption and choose the Key length.
In the Passphrase field, enter the passphrase using alphanumeric characters (if required). The password must be a minimum of 10 characters and maximum of 79 characters.
Click Apply.
Set up AES encryption and a passphrase for an SRT input using the Admin panel
Log in to the Admin panel as admin.
From the Inputs menu, select the SRT input you want to configure. The SRT input configuration page opens.
Check Encryption and choose the Key length.
In the Passphrase field, enter the passphrase using alphanumeric characters (if required). Special characters are not supported.
Click Apply.
Set up a stream to the CDN using an XML profile
Applies to: Pearl-2, Pearl Mini, Pearl Nano, Pearl Nexus.
Some CDNs provide an XML file for easy configuration setup. Pearl device supports using XML profiles to set a stream.
**Set up a stream using an XML profile from the CDN **
Log in to the Admin panel as admin.
From the Channels menu, select the channel and click Streaming. The Streaming configuration page opens.
Click New stream and select Use profile XML.
Select the XML file that was provided by your CDN provider, then click OK. The new stream is created using the default name Stream 1 and the configuration from the XML file is applied.
Click Apply.
To start streaming, click Start or click Start all to simultaneously start this stream and any other streams you have configured for this channel.
Click Delete this stream at any time to delete the stream.