15 December 2016 - Auto alternate source.
about 8 years ago by Encoding.com Product Team
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<output>[advanced_hls|advanced_dash|advanced_mss]</output>
<!-- Main/alternate source fields -->
<main_source>
<!-- main_sources params -->
</main_source>
<!-- multiple alternate_sources may be included -->
<alternate_source>
<type>[video_audio|video|audio]</type>
<auto>[yes|no]</auto>
</alternate_source>
<destination>[DestFile]</destination> <!-- required-->
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"output": "[advanced_hls|advanced_dash|advanced_mss]",
"main_source": " ",
"alternate_source": {
"type": "[video_audio|video|audio]",
"auto": "[yes|no]"
},
"destination": "[DestFile]"
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
Alternate source params | |||
auto | Add automatically all streams from media source with stated type. | [yes, no] | no |
Note | If auto is set to yes for alternate_source then only auto alternate sources will be applied, other custom alternate_sources will be skipped | ||
Note | If set to 'yes' all other options(except for ) of <alternate_source> section will be ignored. |