24 June 2021

HLS Media group

Added ability to set HLS Media group in advanced_hls, fmp4_hls, and HLS manifests of advanced_fmp4 output formats.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format>
        <output>[advanced_hls|fmp4_hls|advanced_fmp4]</output>
        <stream>
            <additional_alternate_id>[AlternateID_1]</additional_alternate_id>
            <additional_alternate_id>[AlternateID_2]</additional_alternate_id>
            <!-- ... -->
            <additional_alternate_id>[AlternateID_N]</additional_alternate_id>
           <!-- stream params -->
        </stream>
        <!-- Multiple stream params may be included in advanced_hls output format -->
        <!-- Maximum number of available streams is 15 -->
        <stream>
           <!-- stream params -->
        </stream>
        <!-- Format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[advanced_hls|fmp4_hls]",
            "stream": [
                {
                    "additional_alternate_id": [
                        "[AlternateID_1]",
                        "[AlternateID_2]",
                        // ...
                        "[AlternateID_N]"
                    ]
                    // stream params
                },
                {
                    // stream params
                }
            ]
            // format params
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
additional_alternate_idList of additional alternate source ids to be added to HLS Media group.Array of integer numbersnone

🚧

For additional_alternate_id

The <additional_alternate_id /> parameter is only available for advanced_hls, fmp4_hls, and HLS manifests of advanced_fmp4** output formats.