---
title: ZEC Adding RTMP and RTMPS Outputs
slug: zixi-broadcaster-zec-current-version/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**.&#x20;

The **New output** window is displayed.

![](https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/8u3fw9zOi45qirHZ7XbaQ_zec-add-rtmp-output.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\:OfxetHpsUO9EIMqpWFZEa)). Default: Selected.
:::

:::WorkflowBlockItem
Select the **Log this stream** checkbox if you would like to generate event logs for this output.
:::

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

:::WorkflowBlockItem
Specify the **Output parameters** (see [Output Stream Parameters Table](docId\:AcPJ3A24ij0A3Wo9nxNB3) below).
:::

:::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 described in the [Output Stream Parameters Table](docId\:AcPJ3A24ij0A3Wo9nxNB3) below. For more information, see [Decrypting an Output Stream in ZEC](docId\:fQloypIDPiB19CqFvU8Rz).
:::

:::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 it 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, leave the **Enable Decryption&#x20;**&#x63;heckbox unselected (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.                                                                                                                                                                                                                                                                                                                                                                                               |

## Advanced Mode

The fields discussed below are optional and available only in **Advanced Mode**.

To enter Advanced Mode add the URL parameter `?advanced=1` to the ZEC URL in your browser and press Enter/Return to reload the page:

::Image[]{src="https://api.archbee.com/api/optimize/amUtKWPrNQCS-26DKyGuI-5OBE4QsRN0icABdoD4ciK-20250421-173825.png" size="70" width="800" height="56" position="center" alt="Advanced Mode URL Param" darkWidth="800" darkHeight="56" showCaption="false"}

:::hint{type="info"}
Note the Advanced Mode settings are generally intended for advanced users and special cases. If you do not understand the settings, you should probably accept the default values.
:::

![](https://api.archbee.com/api/optimize/mzxtTQEvCNIdUNgF2kuwJ/FaMNdQMb3kb0EZnSJv6-M_zec-rtmp-output-advanced-mode.png)

### General

- **Latency offset \[ms]&#x20;**- Specify the additional buffering time in milliseconds. Increasing this value can improve stream stability in unstable network conditions, but will increase end-to-end delay. Default: 0 ms

### Output Parameters

- **Dejitter input** -&#x20;

