Skip to content

Commit

Permalink
任务新增userdata字段
Browse files Browse the repository at this point in the history
  • Loading branch information
lilang committed May 25, 2022
1 parent 3d8f04b commit 770bb9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions ci_media.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ type MediaProcessJobOperation struct {
DigitalWatermark *DigitalWatermark `xml:"DigitalWatermark,omitempty"`
ExtractDigitalWatermark *ExtractDigitalWatermark `xml:"ExtractDigitalWatermark,omitempty"`
VideoTag *VideoTag `xml:"VideoTag,omitempty"`
UserData string `xml:"UserData,omitempty"`
}

// CreatePicJobsOptions TODO
Expand Down
5 changes: 3 additions & 2 deletions example/CI/media_process/media_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ func InvokeTranscodeJob() {
Duration: "",
},
},
UserData: "hello world",
},
QueueId: "paaf4fce5521a40888a3034a5de80f6ca",
}
Expand Down Expand Up @@ -1559,7 +1560,7 @@ func main() {
// InvokeSnapshotJob()
// InvokeSmartCoverJob()
// InvokeConcatJob()
// InvokeTranscodeJob()
InvokeTranscodeJob()
// InvokeMultiJobs()
// JobNotifyCallback()
// WorkflowExecutionNotifyCallback()
Expand All @@ -1584,5 +1585,5 @@ func main() {
// InvokePicProcessJob()
// InvokeDigitalWatermarkJob()
// InvokeExtractDigitalWatermarkJob()
InvokeVideoTagJob()
// InvokeVideoTagJob()
}

0 comments on commit 770bb9a

Please sign in to comment.