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.
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:
- In the ZEC Outputs page, click . The New output window is displayed.
- Type the unique identifier for this output in the Output Name.
- Select an Input Stream to be made available on this output from the drop-down list.
- Select the Show in Matrix checkbox to display this stream in the Matrix (see ZEC Using the Matrix). Default: Selected.
- Select RTMP.
- Specify the Output parameters (see Output Stream Parameters Table).
- If you want to specify Billing Codes to identify and differentiate traffic on a ZEC for billing purposes, select this checkbox (see Output Stream Parameter Table below).
- 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.
- 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 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 to 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. |
Billing Codes | Billing codes are used to identify and differentiate traffic on a ZEC for billing purposes. When a billing code is added to a Source or Target, ZEC can track the traffic on that ZEC input or output separately from other inputs and outputs on the same ZEC. Billing codes are created by ZEC personnel on the ZEC Customer Portal for a particular organization. |
Billing Code | Enter the billing code that corresponds to this stream. The relevant billing can be obtained from the organization that received the billing code from Zixi. |
Billing password | Enter the password that corresponds to this billing code. |
Enable Decryption | 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. Select Automatic to decrypt a stream that has been encrypted using Automatic encryption. Only if the stream has not been encrypted, select None (default). Important Notice: if the stream has been encrypted you must decrypt it in the output. |