Using Output Templates
Instead of manually creating an ouput and then connecting the output to an input, you can define output templates with rules for automatic creation of outputs with predefined settings. The template includes an Input pattern. When an input pattern matches the pattern of an incoming input stream, the output is created automatically.
To create a new Output template:
- Click the Outputs tab at the top of the Zixi Broadcaster administrative screen.
- In the Menu bar, click the Templates (
The Output Templates window is displayed: ) button. - Under Input ID Parameters, click New.
The New Output Pattern Template window is displayed: - In the Input Pattern field, enter a pattern for the Stream ID of the input stream for which an output will be automatically created. This pattern will be used to identify the input stream and can include variables that are marked with the "$" sign followed by a number (e.g. $1, $2, etc.) and/or with an asterisk "*" wildcard . The patterns should also include a part of the string that requires an exact match. For example, the pattern "$1_stream_$2kbps" will match an input stream "talk_show_stream_600kbps".
- Click Apply.
The newly created input ID pattern is added to the Input ID Patterns list. - From the Input ID Patterns list, select a pattern for which you want to relate an output template.
- In the Output Template Description section click the “+” button.
The New Output Template window is displayed: - In the Output Name field, enter a name for the output that will be created. The name can include variables used in the Input Pattern field.
- Select the desired output type and fill-in the relevant Output parameters according to the instructions of the relevant section:
- UDP Output – Follow the instructions in the Adding UDP Outputs section.
- RTMP Output – Follow the instruction in the Adding RTMP Outputs section.
Pull Output - Follow the instruction in the Adding Pull Outputs section.
Push Output - Follow the instruction in the Adding Push Outputs section.
Click OK.
The template is added to the Output Template Description list. When an input pattern will match the pattern of an incoming input stream, the defined output is created automatically.