Validate Declared Segment Duration

Validate that the actual segment duration matches what is declared in the manifest.

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>AddMedia</action> <!-- required-->
    <source>[SourceFile|SourcePlaylist]</source> <!-- required -->
    <format>
        <output>[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls]</output> <!-- required -->
        <qc> 
            <qc_validate_segment_duration>
                <allowed_deviation>[Percent]</allowed_deviation>
                <severity>[fatal|warning]</severity>
            </qc_validate_segment_duration>
        </qc>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "[UserID]", // required
        "userkey": "[UserKey]", // required
        "action": "AddMedia", // required
        "source": "[SourceFile|SourcePlaylist]", // required
        "format": {
            "output": "[qc_check|advanced_hls|advanced_dash|advanced_fmp4|fmp4_hls]", // required
            "qc": {
                "qc_validate_segment_duration": {
                    "allowed_deviation": "[Percent]",
                    "severity": "[fatal|warning]"
                }
            }
            // format params
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
allowed_deviation
Specify the duration deviation as a percentage.0 to 100 integer10
severitySpecify the QC severity.warning, fatalwarning