Access Kaltura Client Java API

3 replies [Last post]
Joined: 01/31/2011
Points: 1

Hi All

I want to access the Kaltura functionality from Kaltura Client java api, I used the example given but getting error, Can someone help me to give the running example to access the Kaltura service from java api.

Thanks in advance.

With Regards
Praval

Joined: 01/31/2011
Points: 6

HI,

I am also trying out the kaltura client api ..I did setup Kaltura server (not useing SaaS). Now I am trying with given example - with appropriate changes (host, admin secret, user secret, partner id).. getting connection timeout issue - seems like its not able to connect to the server. Can you what error are u getting?

Joined: 01/31/2011
Points: 6

Actually I was setting behind proxy and trying to access my server on which is deployed at some other location, I was following the Java Client API example to get the list of items. I faced an error saying "Connection Timed Out" - to check whether given example prog works or not - I directly run it on same server - worked perfectly fine.

After that I realized that Its noting but connection issue/accessibility, I went through the code and check how the connection getting established - and realized that they are using httpclient api.

I went to: KalturaClientBase under - com.kaltura.client
At line no: 144 - New httpclient object getting created.

Line144 - HttpClient client = new HttpClient();
Added: client.getHostConfiguration().setProxy(String_ProxyHost, Int_Port);

And it started working.....No help so far from kaltura team......

Thanks!!

Joined: 04/02/2012
Points: 3

I am also trying out the kaltura client api ..I did setup sticker printing
Kaltura server (not useing SaaS). Can someone help me to give the running example to access the Kaltura service from java api.
printing company