mardi 28 avril 2015

Amazon Elastic Transcoder: get target bucket

I uploaded a file to a amazon bucket:

aws.uploadFile(sourcePath, bucketName, sourceStorageKey, callback);

Then I created a conversion job:

aws.createTranscodingJob(pipelineId, sourceStorageKey, resultStorageKey, callback);

The callback receives the job information as data object:

data:{
    Job:{
        Input: { AspectRatio ... },
        Output:{ Id, Key, PresetId ... }
    }
}

Unfortunately the Output object doesn't contain a target-bucket to download the converted file from. How can I get the converted file when the transcoding job has been finished?




Aucun commentaire:

Enregistrer un commentaire