tencent cloud

Adding Inputs and Outputs
Last updated: 2025-07-01 17:41:08
Adding Inputs and Outputs
Last updated: 2025-07-01 17:41:08
On the Flow management page, select a flow in the flow list to add inputs and outputs.


Adding an Input

Click Add input and enter the following information:
Input name: Enter a name that can help you easily distinguish the input from others.
Protocol type: Select the input protocol. The protocols supported include SRT, RTMP_PUSH, RTMP_PULL, RTP, RTSP_PULL, and RIST. The other input settings vary with the input protocol you select.
Input region: Select the input region.
Input Availability Zone: Select the input availability zone according to you business needs.
For other configuration fields for each protocol's Input, please refer to the configuration details provided below.


SRT Listener

If you use this as the input protocol:
Input name: Enter a name that can help you easily distinguish the input from others.
Protocol type: SRT.
Input region: Select the input region.
Input availability zone: Select the input availability zone according to you business needs.
Mode: Select Listener. In this mode, you need to use the SRT caller mode to request to send your stream to the StreamLink input address. You can view the input address in the address list.
Latency setting: The server-side SRT latency. If the push end is in the same country as your StreamLink AZ, we recommend you set this to 120 ms. If the push end is not in the same country as your StreamLink AZ, we recommend you set this to 200 ms. If the push end is not in the same continent as your StreamLink AZ, we recommend you set this to 1,000 ms. You can determine the value of this parameter based on the IP address assigned.
FEC:Forward Error Correction. When the SRT FEC feature is enabled, redundant data packets can be sent from the data sender. This allows the receiving end of StreamLink to recover the original data using the redundant information in case some data packets are lost.
Decryption settings: You can toggle this on to use the encryption feature of SRT for improved security. Enter the key and key length. You need to configure the same parameters at the push end, or you will fail to push the stream.
Decryption key: The encryption/decryption key. You need to configure the same key at the push end.
Key length: The key length. You need to specify the same key length at the push end.
Failover: For SRT Listener, we can provide failover configuration. Once enabled, you can optionally set one more input availability zone. StreamLink will generate two input addresses. You can push streams to both addresses. The stream that arrives first will be used as the primary source. If the primary source is down, StreamLink will automatically switch to the backup stream.
Security group: Select a configured security group to limit the IP addresses used for streaming and enhance security. For creating a security group, see configuring IP security group.


SRT Caller

If you use this as the input protocol:
Input name: Enter a name that can help you easily distinguish the input from others.
Protocol type: SRT.
Input region: Select the input region.
Input availability zone: Select the input availability zone according to you business needs.
Mode: Select Caller. In this mode, StreamLink will request the source stream from the address you provide using the caller mode.
Input address: The IP address of the source stream. You can also enter a domain.
Source port: The port number of the source stream.
Stream ID: The stream id for the source stream.
Latency setting: The server-side SRT latency. If the source address is in the same country as your StreamLink AZ, we recommend you set this to 120 ms. If the source address is not in the same country as your StreamLink AZ, we recommend you set this to 200 ms. If the source address is not in the same continent as your StreamLink AZ, we recommend you set this to 1,000 ms. You can determine the value of this parameter based on the IP address assigned.
FEC:Forward Error Correction. When the SRT FEC feature is enabled, redundant data packets can be sent from the data sender. This allows the receiving end of StreamLink to recover the original data using the redundant information in case some data packets are lost.
Decryption settings: If encryption is enabled for the source stream, you need to toggle this on and enter the decryption key and key length; otherwise, StreamLink will fail to pull the stream.
Decryption key: The decryption key. This is required if encryption is enabled for the source stream.
Key length: The key length, which must be the same as that configured for the source stream.
Failover: Currently, failover is not yet supported for this protocol type. It will be made available in the future.


RTMP_PUSH

If you select RTMP_PUSH as the input protocol, you need to push the stream to an address generated by StreamLink.
Input name: Enter a name that can help you easily distinguish the input from others.
Protocol type: RTMP_PUSH.
Input region: Select the input region.
Input availability zone: Select the input availability zone according to you business needs.
Failover: For RTMP_PUSH, we can provide failover configuration. Once enabled, you can optionally set one more input availability zone. StreamLink will generate two input addresses. You can push streams to both addresses. The stream that arrives first will be used as the primary source. If the primary source is down, StreamLink will automatically switch to the backup stream.
Elastic live streaming: If you enable this, after pull starts, StreamLink will build a buffer of a certain size before it outputs the data. Buffer duration can be set to 10-300 seconds.
Security group: Select a configured security group to limit the IP addresses used for streaming and enhance security. For creating a security group, see configuring IP security group.


RTMP_PULL

If you select RTMP_PULL as the input protocol, StreamLink will pull streams from the address you specify.
Input name: Enter a name that can help you easily distinguish the input from others.
Protocol type: RTMP_PULL.
Input region: Select the input region.
Input availability zone: Select the input availability zone according to you business needs.
Input address: The RTMP URL, such as rtmp://example.com/live.
Stream key: The RTMP stream key, such as e18c3c4dd05aef020946e6afbf9e04ef.
Failover: Currently, failover is not yet supported for this protocol type. It will be made available in the future.
Elastic live streaming: If you enable this, after pull starts, StreamLink will build a buffer of a certain size before it outputs the data. Buffer duration can be set to 10-300 seconds.


RTP

If you select RTP as the input protocol, you need to push the stream to an address generated by StreamLink.
Input name: Enter a name that can help you easily distinguish the input from others.
Protocol type: RTP.
Input region: Select the input region.
Input availability zone: Select the input availability zone according to you business needs.
Failover: For RTP, we can provide failover configuration. Once enabled, you can optionally set one more input availability zone. StreamLink will generate two input addresses. You can push streams to both addresses. The stream that arrives first will be used as the primary source. If the primary source is down, StreamLink will automatically switch to the backup stream.
Security group: Select a configured security group to limit the IP addresses used for streaming and enhance security. For creating a security group, see configuring IP security group.


RTSP_PULL

If you select RTSP_PULL as the input protocol, StreamLink will pull streams from the address you specify.
Input name: Enter a name that can help you easily distinguish the input from others.
Protocol type: RTSP_PULL.
Input region: Select the input region.
Input availability zone: Select the input availability zone according to you business needs.
Input address:The RTSP URL, such as rtsp://example.com/live.
Failover: Currently, failover is not yet supported for this protocol type. It will be made available in the future.


RIST Listener

If you use this as the input protocol:
Input name: Enter a name that can help you easily distinguish the input from others.
Protocol type: RIST.
Input region: Select the input region.
Input availability zone: Select the input availability zone according to you business needs.
Profile: Support Simple, Main.
Mode: Currently only support the Listener mode. In this mode, you need to use the RIST caller mode to request to send your stream to the StreamLink input address. You can view the input address in the address list.
Buffer: Buffer size in milliseconds, supporting 50 - 5000 ms.
Failover: Currently, failover is not yet supported for this protocol type. It will be made available in the future.
Security group: Select a configured security group to limit the IP addresses used for streaming and enhance security. For creating a security group, see configuring IP security group.


Adding an Output

Output Protocol

Based on the protocol type of the Input node, the Output node that can be created are as follows:
Input Protocol
Output Optional Protocol
RTMP_PUSH, RTMP_PULL
RTMP_PUSH, RTMP_PULL, SRT
SRT
SRT, RTMP_PUSH, RTMP_PULL
RTP
RTP
RTSP_PULL
RTSP_PULL
RIST
RIST

Output Type

For output nodes, there are two types: pinpoint type and multimesh type. Among them, the pinpoint type is suitable for common scenarios and can better control the output traffic amount for the output node; the multimesh type is suitable for scenarios where the number of content receivers is larger, that is, for one single output node, the number of stream pulling will exceed 4.
Pinpoint: For an output node of the pinpoint type, it can support up to 1 stream push or 4 stream pulls. Requests will be rejected when the limit is exceeded.
MultiMesh: For an output node of the multimesh type, currently only SRT Listener is supported, with no limit on the number of stream pulls.
Note:
The billable items for StreamLink include: transfer fee, device running fee, and relaying traffic fee. For detailed information, refer to: StreamLink Billing Overview.
Transfer fee: For pinpoint type and multimesh type, there is no difference in the usage statistics methods. The fees are charged based on the sum of the peak bandwidth used by each connection in a day.
Device running fee: For pinpoint type and multimesh type, there is no difference in the usage statistics method for input nodes, which is the number of input nodes * task duration. The usage statistics method for output nodes is different. For the pinpoint type, it is the number of output nodes * task duration. For the multimesh type, it is (total number of stream pulls of the output nodes / 4) * task duration.
Relaying traffic fee: For pinpoint type and multimesh type, there is no difference in usage statistics methods. The fees are charged based on the total output traffic.

Add Output of the Pinpoint Type

Click Add Output, choose Pinpoint as the output type, and configure the output node information:


RTMP_PUSH

If you select this protocol, the stream will be relayed to the address you specify.
Output name: Enter a name that can help you easily distinguish the output from others.
Protocol type: RTMP_PUSH
Output region: Select the region to push your stream to.
Output availability zone: Select the output availability zone according to you business needs.
Destination URL: The RTMP URL, such as rtmp://example.com/live.
Stream key: The RTMP stream key, such as e18c3c4dd05aef020946e6afbf9e04ef.
Output to intra-region CSS: Once enabled, you can relay the live stream to a CSS node within the same region. Please fill in the appropriate CSS push domain. When relaying to a CSS node within the same region, StreamLink will incur no charge for relaying traffic fees.


RTMP_PULL

If you need to pull your stream from an output node, select this protocol. After creating an RTMP_PULL output, you can view the output address in the address list.
Output name: Enter a name that can help you easily distinguish the output from others.
Protocol type: RTMP_PULL
Output region: Select the region to output your stream.
Output availability zone: Select the output availability zone according to you business needs.
Max concurrent pulls: Requests will be rejected when this limit is exceeded. Support up to 4 pulls.
Security group: Select a configured security group to limit the IP addresses used for streaming and enhance security. For creating a security group, see configuring IP security group.


SRT Listener

If you use this as the output protocol:
Output name: Enter a name that can help you easily distinguish the output from others.
Protocol type: SRT
Output region: Select the region to output your stream.
Output availability zone: Select the output availability zone according to you business needs.
Mode: Select Listener. In this mode, you need to use the SRT caller mode at the receiving end to request the stream from StreamLink. You can view the output address in the address list.
Latency setting: The server-side SRT latency. If the caller end is in the same country as your StreamLink AZ, we recommend you set this to 120 ms. If the caller end is not in the same country as your StreamLink AZ, we recommend you set this to 200 ms. If the caller end is not in the same continent as your StreamLink AZ, we recommend you set this to 1,000 ms. You can determine the value of this parameter based on the IP address assigned.
FEC:Forward Error Correction. When the SRT FEC feature is enabled, redundant data packets can be sent from the StreamLink. This allows the receiving end to recover the original data using the redundant information in case some data packets are lost. After enabling this feature, you also need to configure the columns, rows, layout of the FEC matrix, and Automatic Repeat Request (ARQ).
Columns: FEC matrix columns​​ (number of data packets per row). Please enter an integer between 2 and 50.
Rows: FEC matrix rows​​ (number of data packets per column). Please enter an integer between -50 and 50, but it cannot be 0.
Layout: The arrangement method of the FEC matrix, which supports even and staircase.
ARQ: Automatic Repeat Request (ARQ)​​ is a retransmission mechanism that triggers packet recovery. 'Always' means that as soon as packet loss is detected, an ARQ request is immediately triggered, running in parallel with the FEC function. 'Onreq' means that an ARQ request is only triggered when FEC cannot repair the packet loss. 'Never' means that the system relies solely on FEC and will not trigger an ARQ request.
Enable encryption: If you enable encryption for the output, you need to do the same at the receiving end and configure the key and key length; otherwise, you will fail to pull the stream from StreamLink.
Encryption key: The encryption key.
Key length: The key length.
Max concurrent pulls: Requests will be rejected when this limit is exceeded. Support up to 4 pulls.
Security group: Select a configured security group to limit the IP addresses used for streaming and enhance security. For creating a security group, see configuring IP security group.


SRT Caller

If you use this as the output protocol:
Output name: Enter a name that can help you easily distinguish the output from others.
Protocol type: SRT.
Output region: Select the region to push your stream to.
Output availability zone: Select the output availability zone according to you business needs.
Mode: Select Caller. In this mode, StreamLink will use the SRT caller mode to send the stream to the address you specify.
Output address: The IP address that receives the SRT stream. You can also enter a domain.
Port: The port that receives the SRT stream.
Stream ID: Stream ID information.
Latency setting: The server-side SRT latency. If the output address is in the same country as your StreamLink AZ, we recommend you set this to 120 ms. If the output address is not in the same country as your StreamLink AZ, we recommend you set this to 200 ms. If the output address is not in the same continent as your StreamLink AZ, we recommend you set this to 1,000 ms. You can determine the value of this parameter based on the IP address assigned.
FEC:Forward Error Correction. When the SRT FEC feature is enabled, redundant data packets can be sent from the StreamLink. This allows the receiving end to recover the original data using the redundant information in case some data packets are lost. After enabling this feature, you also need to configure the columns, rows, layout of the FEC matrix, and Automatic Repeat Request (ARQ).
Columns: FEC matrix columns​​ (number of data packets per row). Please enter an integer between 2 and 50.
Rows: FEC matrix rows​​ (number of data packets per column). Please enter an integer between -50 and 50, but it cannot be 0.
Layout: The arrangement method of the FEC matrix, which supports even and staircase.
ARQ: Automatic Repeat Request (ARQ)​​ is a retransmission mechanism that triggers packet recovery. 'Always' means that as soon as packet loss is detected, an ARQ request is immediately triggered, running in parallel with the FEC function. 'Onreq' means that an ARQ request is only triggered when FEC cannot repair the packet loss. 'Never' means that the system relies solely on FEC and will not trigger an ARQ request.
Enable encryption: If you enable encryption at the receiving end, you need to toggle this on and specify the encryption key and key length. Otherwise, you will fail to push the stream.
Encryption key: The encryption key.
Key length: The key length, which must be the same as that configured at the receiving end.


RTP

If you select this protocol, StreamLink will push the stream to the address you specify.
Output name: Enter a name that can help you easily distinguish the output from others.
Protocol type: RTP.
Output region: Select the region to push your stream to.
Output availability zone: Select the output availability zone according to you business needs.
Output address: The IP address StreamLink will push the stream to. You can also enter a domain.
Port: The port StreamLink will push the RTP stream to.


RTSP_PULL

If you use this as the output protocol:
Output name: Enter a name that can help you easily distinguish the output from others.
Protocol type: RTSP_PULL.
Output region: Select the region to output your stream.
Output availability zone: Select the output availability zone according to you business needs.
Security group: Select a configured security group to limit the IP addresses used for streaming and enhance security. For creating a security group, see configuring IP security group.


RIST Listener

If you use this as the output protocol:
Output name: Enter a name that can help you easily distinguish the output from others.
Protocol type: RIST.
Output region: Select the region to output your stream.
Output availability zone: Select the output availability zone according to you business needs.
Profile: Support Simple, Main.
Mode: Currently only support Listener mode
Buffer: Buffer size in milliseconds, supporting 50 - 5000 ms.
Max concurrent pulls: Currently only support 1.
Security group: Select a configured security group to limit the IP addresses used for streaming and enhance security. For creating a security group, see configuring IP security group.


Add Output of the MultiMeshType

Click Add Output. For the Output type, choose MultiMesh. For the output node of the multimesh type, there is no limit on the number of stream pulls. You need to control the number of stream pullers by yourself. And currently, only SRT Listener is supported.

SRT Listener

Output name: Enter a name that can help you easily distinguish the output from others.
Protocol type: SRT
Output region: Select the region to output your stream.
Output availability zone: Select the output availability zone according to you business needs.
Mode: Select Listener. In this mode, you need to use the SRT caller mode at the receiving end to request the stream from StreamLink. You can view the output address in the address list.
Latency setting: The server-side SRT latency. If the caller end is in the same country as your StreamLink AZ, we recommend you set this to 120 ms. If the caller end is not in the same country as your StreamLink AZ, we recommend you set this to 200 ms. If the caller end is not in the same continent as your StreamLink AZ, we recommend you set this to 1,000 ms. You can determine the value of this parameter based on the IP address assigned.
Enable encryption: If you enable encryption for the output, you need to do the same at the receiving end and configure the key and key length; otherwise, you will fail to pull the stream from StreamLink.
Encryption key: The encryption key.
Key length: The key length.
Security group: Select a configured security group to limit the IP addresses used for streaming and enhance security. For creating a security group, see configuring IP security group.


Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback