If you don't find an answer, please click here to post your question.

Adding a Remote Asset with HLS and HDS

0 Kudos
Started ‎06-05-2017 by
Modified ‎06-05-2017 by

Adding a Remote Asset with HLS and HDS

by Community Manager ‎06-05-2017 10:57 AM - edited ‎06-05-2017 11:07 AM (60 Views)
To add a remote asset with HLS and HDS use the /v2/assets route.
The following example creates the "My Remote Asset" remote asset:

[POST]/v2/assets{
"name":"My Remote Asset",
"asset_type":"remote_asset",
"duration":120000,
"stream_urls":{
"flash":"http://mydomain.com/my_flash_file.f4m",
"iphone":"http://mydomain.com/iphone_compatible_file.m3u8"
}
}