public override void CreateIngestVideoEntity() { var callback = Settings.IngestionCallbackUrl(StorageExecutor.Config.BaseUrl, GetCallbackUrl()); IngestVideoEntity = new IngestVideo { VideoId = VideoEntity.Id, IngestMaster = new IngestMaster { Url = UploadFileInfo.Url }, CaptureImages = Config.CaptureImages, Profile = Config.Profile, Callbacks = new Collection <string> { callback } }; LogHelper.Info(string.Format("ingesting for: VideoId={0}, url={1}, callback={2}", IngestVideoEntity.VideoId, IngestVideoEntity.IngestMaster.Url, IngestVideoEntity.Callbacks.FirstOrDefault()), this); }
public IngestVideo Ingest(IngestVideo entity) { return(this.Create("ingest", entity, request => AddParameters(request, entity.VideoId))); }