---
title: ZEC Adding RTMP and RTMPS Outputs
slug: zixi-broadcaster-v18/zec-adding-rtmp-and-rtmps-outputs
docTags: 
createdAt: 2024-12-26T19:40:11.379Z
---

Real Time Messaging Protocol streams can be played on systems that accept this protocol as input. Originally designed to enable Adobe® Flash® streams to be sent between a server and a client, RTMP has become a popular protocol for streaming into content-delivery networks (CDNs).  Facebook currently uses RTMPS, which is RTMP over a TLS/SSL connection.

:::hint{type="info"}
- To create an RTMPS output, select the RTMP output option but make sure RTMPS:// is used in the URL field.
- SCTE-35 markers in MPEG-TS streams trigger OnCuePoint call function in RTMP
:::

**To create an RTMP Output:**

::::WorkflowBlock
:::WorkflowBlockItem
In the ZEC Outputs page, click **+New Output**. The **New output** window is displayed.

![](https://api.archbee.com/api/optimize/yloo8L9Y5DmjuuW_iCtAX-1cN3jxVe4e-DrGWhgmBfg-20250427-092602.png)
:::

:::WorkflowBlockItem
Type in the unique identifier for this output in the **Output Name**.
:::

:::WorkflowBlockItem
Select a&#x6E;**&#x20;Input Stream** to be made available on this output from the drop-down list.
:::

:::WorkflowBlockItem
Select the **Show in Matrix** check box to display this stream in the Matrix (see [ZEC Using the Matrix](docId\:nlXzEHz-9RxLcmX6xIe_c)). Default: Selected.
:::

:::WorkflowBlockItem
Select **RTMP**.
:::

:::WorkflowBlockItem
Specify the **Output parameters** (see Output Stream Parameters Table below).
:::

:::WorkflowBlockItem
If you want to remux the stream to CBR (used for professional IRDs) in order to avoid bandwidth waste or add NULL packets and adjust the stream clock (PCR) in order to make the stream CBR, select **Remultiplex/Pad** and configure the respective parameters (see Output Stream Parameters Table).
:::

:::WorkflowBlockItem
You can decrypt an encrypted stream as it enters the ZEC. To decrypt a stream, select the Decrypt Stream checkbox and fill in the parameters as describes in the Output Stream Parameter Table below. For more information, see [Decrypting an Output Stream in ZEC](docId\:zZwfCdcNtF960ViADh2J-) .
:::

:::WorkflowBlockItem
Click **OK**.
:::
::::

The new RTMP Output with its settings is created and now appears on the screen.

## Output Stream Parameters Table

| **Parameter**                     | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                       |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Output Parameters**             |                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **URL**                           | Specify the destination Stream URL according to the following format: rtmp\://host:\[port]/app<br />You can define RTMPS clients with the proven security of a secure socket layer (SSL), by using the rtmps\:// url. Note that Facebook currently supports RTMPS streams only.                                                                                                                                                       |
| **Backup URL**                    | Specify a backup URL (fallback mode) – will be used in case the primary server is not responsive.                                                                                                                                                                                                                                                                                                                                     |
| **Stream Name**                   | Specify the unique name for the stream that the RTMP server at the other end of the connection expects.                                                                                                                                                                                                                                                                                                                               |
| **Username**                      | Specify the username to authenticate on the remote RTMP server.                                                                                                                                                                                                                                                                                                                                                                       |
| **Password**                      | Specify the string that is used for authorization on the remote RTMP server.                                                                                                                                                                                                                                                                                                                                                          |
| **Bitrate (kbps)**                | Specify the actual bitrate in kbps or the maximum stream bitrate in case of a VBR stream.                                                                                                                                                                                                                                                                                                                                             |
| **Reconnect (sec)**               | If the stream drops, this value represents the time between reconnection attempts (in seconds). Default: 5.                                                                                                                                                                                                                                                                                                                           |
| **Bind to IP**                    | Select from the drop-down list the local IP address to be used for this Output, OR select *Any&#x20;*&#x74;o enable any IP to be used.                                                                                                                                                                                                                                                                                                |
| **Send Timecode**                 | Converts the MPEG-TS SEI section to RTMP ONFI command (pass the encoder timecodes to the RTMP server).                                                                                                                                                                                                                                                                                                                                |
| **Disconnect if inactive**        | Select this checkbox to disconnect if the stream is not active for 30 seconds.                                                                                                                                                                                                                                                                                                                                                        |
| **Ignore TLS certificate errors** | Select this option when streaming to a trusted server that does not have a valid certificate. When this option is selected, ZEC will ignore the TLS certificate errors and transmit the stream to its destination.                                                                                                                                                                                                                    |
| **Enable Decryption**             | Select this checkbox to enable decryption of an encrypted stream.                                                                                                                                                                                                                                                                                                                                                                     |
| **Decryption type&#x20;**         | If the stream has been encrypted, you can decrypt through the output by selecting this checkbox and specifying the type of encryption that was used. <br />Select **Automatic** to decrypt a stream that has been encrypted using **Automatic** encryption.<br />Only if the stream has not been encrypted, select **None** (default).<br />**Important Notice: if the stream has been encrypted you must decrypt it in the output.** |
| **Decryption key**                | If the decryption type includes a key, enter the key to decrypt the stream during output.                                                                                                                                                                                                                                                                                                                                             |

