I have an existing file upload and processing routine that I would like to integrate with the Kaltura API’s but I am having trouble finding Javadocs and other documentation and examples. Currently, the frontend form handles the upload in conjunction with the Apache commons libraries and the file is uploaded to OUR server and then processed. What I would like to do is directly upload to the Kaltura server without first uploading the file to our server. I created a test program using the example found in the Github repository (UploadTest java code). It works great but is based on passing the full path to the file in the API. What I’d like to do is just use an InputStream/FileInputStream and directly write that to the Kaltura server (I have a trial account at Kaltura.com that I am testing with)
Is there any way to use the client.getUploadTokenService().upload() API to send an InputStream up to the server? I’d like to eliminate the “staging” of the file on our server before passing it up to the Kaltura server for processing.