Validate Segment Duration

Validate that the segment duration is correct in the manifests declaration.
E.g. #EXT-X-TARGETDURATION is correct.

<?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_fmp4|fmp4_hls]</output> <!-- required -->
        <qc> 
            <qc_target_segment_duration>
                <value>[Number]</value>
                <severity>[fatal|warning]</severity>
            </qc_target_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_fmp4|fmp4_hls]", // required
            "qc": {
                "qc_target_segment_duration": {
                    "value": "[Number]",
                    "severity": "[fatal|warning]"
                }
            }
            // format params
        }
    }
}
<?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_fmp4|fmp4_hls]</output> <!-- required -->
        <!-- Format fields -->
        <stream>
            <qc> 
                <qc_target_segment_duration>
                    <value>[Number]</value>
                    <severity>[fatal|warning]</severity>
                </qc_target_segment_duration>
            </qc>
        </stream>
        <!-- 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_fmp4|fmp4_hls]", // required
            "stream": [{
                "qc": {
                    "qc_target_segment_duration": {
                        "value": "[Number]",
                        "severity": "[fatal|warning]"
                    }
                }
            }]
            // format params
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
valueSpecify the segment duration in seconds.Positive integerNone
severitySepcify the QC severity.warning, fatalwarning