Progress bar for Kaltura Java Client Upload

2 replies [Last post]
Joined: 03/17/2011
Points: 1

Hi,

I have developed a JAVA uploader tool for Kaltura, that runs as an Applet and uploads many or one files to Kaltura. When it uploads many, there is a limited progress bar, since the many-file upload process is measurable each time a file finished uploading.

I was wondering, where could we plug in a listener that monitors upload status and feeds that back to anyone who is interested.

I looked in the Kaltura Core files in the API (you know, the ones that are generated) and I really didn't see anywhere we can plug this in.

Maybe at a low level for the http client, or maybe even the File reader level.

Please point me the right direction. By the way, since it's not in the generated code, I believe this is lacking on all API clients, not just JAVA (PHP etc) but I know it is in the Flash upload tool so there must be some mechanism.

Let me know,

Menashe

Joined: 01/05/2009
Points: 1697

Hi,

This is really depending on the programming language and framework you work with.
In Flash, File Upload has an extensive API that allows you to listen to the events. I'm sure in java there is something similar.
Though I don't see how this should be included as part of the API client library...

Could you share the code for the applet? Might be very interesting for other members who work with Java.

Joined: 02/27/2012
Points: 3

I too would like to get feedback on the progress of an upload from a client written using the Client Libraries. In my case I am using Python.

Kalturian wrote:
This is really depending on the programming language and framework you work with.

Surely the Kaltura API SDK - Native Client Libraries provide the same API - i.e. API v3 regardless of the language, be it Java, PHP, Python etc?

According to http://corp.kaltura.com/Products/Kaltura-API the APIs should allow you to

Quote:
Tap into the media asset lifecycle and get client and server notifications for every step of the ingestion, transcoding and publishing workflow

Does anyone know what the notifications you get from the server during ingestion are?

I was hoping to find the details here:

http://www.kaltura.com/api_v3/testmeDoc/index.php?page=notifications
http://www.kaltura.com/api_v3/testmeDoc/index.php?object=KalturaNotificationType

But I don't see anything that relates to how far through the upload process the server is.

Any ideas?

Thanks

Chris