Validate the number of audio channels.
Note
This test is ignored for video-only streams in multibitrate formats.
<?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|mp4]</output><!-- required -->
<qc>
<qc_audio_channels>
<value>[ChannelsNumber]</value>
<severity>[fatal|warning]</severity>
</qc_audio_channels>
</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|mp4]", // required
"qc": {
"qc_audio_channels": {
"value": "[ChannelsNumber]",
"severity": "[fatal|warning]"
}
}
// format params
}
}
}
Multi-Bitrate Formats
<?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 -->
<stream>
<qc>
<qc_audio_channels>
<value>[ChannelsNumber]</value>
<severity>[fatal|warning]</severity>
</qc_audio_channels>
</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_dash|advanced_fmp4|fmp4_hls]", // required
"stream": [
{
"qc": {
"qc_audio_channels": {
"value": "[ChannelsNumber]",
"severity": "[fatal|warning]"
}
}
// stream params
},
{
// stream params
},
]
// format params
}
}
}
Single-Bitrate Formats With Multiple Audio Streams
<?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|mp4]</output><!-- required -->
<qc>
<qc_audio_channels>
<stream>
<index>[AudioStreamIndex]</index>
<value>[ChannelsNumber]</value>
</stream>
<stream>
<!-- stream params -->
</stream>
<severity>[fatal|warning]</severity>
</qc_audio_channels>
</qc>
<!-- format params -->
</format>
</query>
{
"query": {
"userid": "[UserID]", // required
"userkey": "[UserKey]", // required
"action": "AddMedia", // required
"source": "[SourceFile|SourcePlaylist]", // required
"format": {
"output": "[qc_check|mp4]", // required
"qc": {
"qc_audio_channels": {
"stream": [
{
"index": "[AudioStreamIndex]",
"value": "[ChannelsNumber]"
},
{
// stream params
}
],
"severity": "[fatal|warning]"
}
}
// format params
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
value | Specify the number of audio channels. | Positive integer | None |
severity | Specify the QC severity. | warning, fatal | warning |