Adaptive Groups Templates
Instead of defining adaptive groups in advance and then relating specific input streams to these groups, you can define templates with rules for automatic grouping of streams in adaptive groups. Every time a new input stream, which matches the conditions of the template, is added, it will be automatically added to the adaptive group that was defined in the template. Specific streams are identified by naming patterns and added to the group by setting static naming patterns and bitrates or dynamic patterns.
To create a new adaptive group template:
In the Zixi Broadcaster Navigation menu, click Adaptive.
Click the Templates button.
The Adaptive Group Templates page is displayed:

Click the Create Template button.
The Create Adaptive Group Template page is displayed:

In the Template section, in the Input ID pattern field, enter a pattern for the Stream ID of the input stream that will be automatically added to newly created adaptive group. This pattern will be used to identify the input stream and must include at least one variable 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". String parts that were matched again $X variables, can be reused in other settings, however, string parts that were matched against an asterisk wildcard cannot be reused in other settings.
In the Adaptive group name field, enter a string that will be used as the name of the adaptive group. You can use the $X variables that were used in the Input ID Pattern field above. For example, based on the above example, if you write "$1_group", the group name will be "talk_show_group".
Under Group Properties, select the checkboxes of the protocols with which these streams will be transmitted (HLS, CMAF (DASH + fMP4 HLS), HLS over multicast (with HLS selected)).
If you want to record an HLS stream select the Record checkbox.
In the Keep recorded files for (minutes) field specify the maximum time (in minutes) to record. Default: the time defined in the global settings, specified in the Settings > Live Protocols screen in the HLS DVR Maximum Recording Duration field.
In the File name template field, specify the file name pattern that Zixi will use to generate when saving the recorded content. A separate file will be generated for each recording up to the time specified in the Max recorded file duration parameter (see above). After this duration, a new file will be generated.
The file name pattern must include at least one of the required variables (%N or %T) and can combine any string with up to three variables listed below. You can change the order of these variables and add text as long as you maintain the legitimate structure of the file in Linux and Windows:
- %N = Sequence Number - default
- %T = Timestamp (HH.MM.SS)
- %G = Group Name – optional
Under Streams, select the method in which the streams in the adaptive group will be created:
- Static set: if the input streams do not have the bitrate value in their ID names, you can manually define the ID and the bitrate for each stream that will be included in the group. You can define streams that are not currently connected, but will be connected at a later stage.
To add a Static set:
- Click the + Add Stream button
- In the Stream pattern field, enter a pattern for the stream ID (you can use the variables used in the Input ID Pattern field and add additional variables as needed). This pattern will be used to identify the stream and add it to the group (e.g. "comedy_HD").
- In the Bitrate [Kbps] field, enter the Bitrate value of the stream.
- Click the + button for as many streams as you want to include in the group and repeat the steps above for every stream that is added to the group.
- Dynamic acquisition: this method will automatically add input streams that match the defined Input ID pattern and give them a bitrate value based on the Bitrate pattern. This option is based on the assumption that the bitrate value is part of the input stream's ID. Based on the example above, by entering the value "$2" in the Bitrate pattern field, the system will automatically add the incoming "talk_show_stream_600kbps" stream, while giving it a 600 Kbps Bitrate setting (according to the definition in the Input ID pattern field, the $2 was assigned a value of 600kps). If another stream that matches the input ID patterns comes in (e.g. talk_show_stream_700kbps") with a different bitrate, for example, 700kbps, this stream will be also added to the same adaptive group, however the bitrate setting will be 700 kbps.
To add a Dynamic acquisition bitrate pattern:
- In the Bitrate Pattern field add the pattern as described above.
Click Save.
The new template is added to the Adaptive Templates list.
Note
Note that the group will be active only when all the streams defined will be connected.