/**
  * 要进行的处理任务
  */
 public void addAdp(Adp adp)
 {
     this.adps.Add(adp);
 }
Exemple #2
0
 public PutAdpRequest AddAdp(Adp adp)
 {
     Adps.Add(adp);
     return(this);
 }
Exemple #3
0
 /**
  * 要进行的处理任务
  */
 public void addAdp(Adp adp)
 {
     this.adps.Add(adp);
 }
 public void TestputAdpTask()
 {
     if(!init()){
         PutAdpRequest putAdpRequest = new PutAdpRequest();
         putAdpRequest.BucketName = bucketName;
         putAdpRequest.ObjectKey = objKeyNameFileData;
         IList<Adp> fops = new List<Adp>();
         Adp fop12 = new Adp();
         fop12.Command = "tag=avm3u8&segtime=10&abr=128k&vbr=1000k&&res=1280x720";
         fop12.Key = "野生动物-hls切片.m3u8";
         fops.Add(fop12);
         putAdpRequest.Adps = fops;
         putAdpRequest.NotifyURL = "http://10.4.2.38:19090/";
         String taskid = ks3Client.putAdpTask(putAdpRequest);
         Assert.IsNotNull(taskid);
     }
 }