Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
HI,
-- Fetching Content Size (length) Information usingJava Client API --
I am trying to fetch content information using Java client API (id, name, description etc information) I also need size/length information for given content.
From the Client API:
for (KalturaMediaEntry entry : listResponse.objects) {
System.out.println("Item Id:" + entry.id);
System.out.println("Name:" + entry.name);
System.out.println("Description:" + entry.description);
System.out.println("Download URL:" + entry.downloadUrl);
}
Similar to above --- I need Size/length information--- for given file/content.
I know there is a property called "duration" - but I need file size
eg. Duration: 30min - file size(content size/length) : 12MB
Thanks
Manan
Hi,
You can get a list of KalturaFlavorAsset by using the entry.id. Then you can get the size of each KalturaFlavorAsset. Check out the following API call
getFlavorAssetService().getByEntryId(entry.id);
Hope this helps.
Stephen
Guau, is excelent!!
Any one??