Zencoder api is working in local but not in Live

110 Views Asked by At

I am using Zencoder API for video conversion. I have generated two different API keys for my local and live server.

When I am testing the conversion of video from my local its sending request to Zencoder and working fine. But, when same process I am doing with my live server then its not sending any request to Zencoder API. Using, FTP for sending request and reponse.

My input and output URL generating like

define('INPUT_URL', "ftp://username:[email protected]/project/upload/");
define('OUTPUT_URL', "ftp://username:[email protected]/project/upload/");    
$inputUrl = INPUT_URL.$fileInfo['file_name'] . '.' . $fileInfo['file_type'];
$outputUrl = OUTPUT_URL.$new_file;

127.0.0.1 written as per example. In my code using my live IP.

Any idea why it may not be working in live? Thank!

0

There are 0 best solutions below