Package com.kaltura.client.services
Class FlavorAssetService
- java.lang.Object
-
- com.kaltura.client.services.FlavorAssetService
-
public class FlavorAssetService extends Object
Retrieve information and invoke actions on Flavor Asset
-
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description FlavorAssetService()
-
Method Summary
-
-
-
Method Detail
-
add
public static FlavorAssetService.AddFlavorAssetBuilder add(String entryId, FlavorAsset flavorAsset)
Add flavor asset- Parameters:
entryId-flavorAsset-
-
convert
public static FlavorAssetService.ConvertFlavorAssetBuilder convert(String entryId, int flavorParamsId)
-
convert
public static FlavorAssetService.ConvertFlavorAssetBuilder convert(String entryId, int flavorParamsId, int priority)
Add and convert new Flavor Asset for Entry with specific Flavor Params- Parameters:
entryId-flavorParamsId-priority-
-
delete
public static FlavorAssetService.DeleteFlavorAssetBuilder delete(String id)
Delete Flavor Asset by ID- Parameters:
id-
-
deleteLocalContent
public static FlavorAssetService.DeleteLocalContentFlavorAssetBuilder deleteLocalContent(String assetId)
delete all local file syncs for this asset- Parameters:
assetId-
-
export
public static FlavorAssetService.ExportFlavorAssetBuilder export(String assetId, int storageProfileId)
manually export an asset- Parameters:
assetId-storageProfileId-
-
get
public static FlavorAssetService.GetFlavorAssetBuilder get(String id)
Get Flavor Asset by ID- Parameters:
id-
-
getByEntryId
public static FlavorAssetService.GetByEntryIdFlavorAssetBuilder getByEntryId(String entryId)
Get Flavor Assets for Entry- Parameters:
entryId-
-
getDownloadUrl
public static FlavorAssetService.GetDownloadUrlFlavorAssetBuilder getDownloadUrl(String id)
-
getDownloadUrl
public static FlavorAssetService.GetDownloadUrlFlavorAssetBuilder getDownloadUrl(String id, boolean useCdn)
Get download URL for the Flavor Asset- Parameters:
id-useCdn-
-
getFlavorAssetsWithParams
public static FlavorAssetService.GetFlavorAssetsWithParamsFlavorAssetBuilder getFlavorAssetsWithParams(String entryId)
Get Flavor Asset with the relevant Flavor Params (Flavor Params can exist without Flavor Asset & vice versa)- Parameters:
entryId-
-
getRemotePaths
public static FlavorAssetService.GetRemotePathsFlavorAssetBuilder getRemotePaths(String id)
Get remote storage existing paths for the asset- Parameters:
id-
-
getUrl
public static FlavorAssetService.GetUrlFlavorAssetBuilder getUrl(String id)
-
getUrl
public static FlavorAssetService.GetUrlFlavorAssetBuilder getUrl(String id, int storageId)
-
getUrl
public static FlavorAssetService.GetUrlFlavorAssetBuilder getUrl(String id, int storageId, boolean forceProxy)
-
getUrl
public static FlavorAssetService.GetUrlFlavorAssetBuilder getUrl(String id, int storageId, boolean forceProxy, FlavorAssetUrlOptions options)
Get download URL for the asset- Parameters:
id-storageId-forceProxy-options-
-
getVolumeMap
public static FlavorAssetService.GetVolumeMapFlavorAssetBuilder getVolumeMap(String flavorId)
Get volume map by entry id- Parameters:
flavorId- Flavor id
-
getWebPlayableByEntryId
public static FlavorAssetService.GetWebPlayableByEntryIdFlavorAssetBuilder getWebPlayableByEntryId(String entryId)
Get web playable Flavor Assets for Entry- Parameters:
entryId-
-
list
public static FlavorAssetService.ListFlavorAssetBuilder list()
-
list
public static FlavorAssetService.ListFlavorAssetBuilder list(AssetFilter filter)
-
list
public static FlavorAssetService.ListFlavorAssetBuilder list(AssetFilter filter, FilterPager pager)
List Flavor Assets by filter and pager- Parameters:
filter-pager-
-
reconvert
public static FlavorAssetService.ReconvertFlavorAssetBuilder reconvert(String id)
Reconvert Flavor Asset by ID- Parameters:
id- Flavor Asset ID
-
serveAdStitchCmd
public static FlavorAssetService.ServeAdStitchCmdFlavorAssetBuilder serveAdStitchCmd(String assetId)
-
serveAdStitchCmd
public static FlavorAssetService.ServeAdStitchCmdFlavorAssetBuilder serveAdStitchCmd(String assetId, String ffprobeJson)
-
serveAdStitchCmd
public static FlavorAssetService.ServeAdStitchCmdFlavorAssetBuilder serveAdStitchCmd(String assetId, String ffprobeJson, String duration)
serve cmd line to transcode the ad- Parameters:
assetId-ffprobeJson-duration-
-
setAsSource
public static FlavorAssetService.SetAsSourceFlavorAssetBuilder setAsSource(String assetId)
Set a given flavor as the original flavor- Parameters:
assetId-
-
setContent
public static FlavorAssetService.SetContentFlavorAssetBuilder setContent(String id, ContentResource contentResource)
Update content of flavor asset- Parameters:
id-contentResource-
-
update
public static FlavorAssetService.UpdateFlavorAssetBuilder update(String id, FlavorAsset flavorAsset)
Update flavor asset- Parameters:
id-flavorAsset-
-
-