public void Transcode__ResponseWithAckFromS3()
        {
            var aws = new LarmSettings.AwsSettings
                {
                    AccessKey = ConfigurationManager.AppSettings["AccessKey"],
                    SecretAccessKey = ConfigurationManager.AppSettings["SecretAccessKey"], 
                    UploadBucket = "integrationtests",
                    PipelineId = "1402593766282-xnnqcd",
                    PresetId = "1351620000001-300040"
                };
            var s3 = new S3(aws);
            var transcode = new ElasticTranscoder(aws);
            var stream = new FileStream("Ballad_of_Serenity.mp3", FileMode.Open);
            s3.Write("larm/Ballad_of_Serenity.mp3", stream);

            transcode.Transcode("larm/Ballad_of_Serenity.mp3", "larm/result.mp3");
        }
Пример #2
0
 public S3(LarmSettings.AwsSettings settings)
 {
     Settings = settings;
 }
 public ElasticTranscoder(LarmSettings.AwsSettings settings)
 {
     Settings = settings;
 }