Browse Source

Fix ci_media.go and example/CI/media_process/media_process.go

master
Chloroplast Yu 4 years ago
parent
commit
ef23bab444
  1. 2
      ci_media.go
  2. 2
      example/CI/media_process/media_process.go

2
ci_media.go

@ -112,7 +112,7 @@ type CreateMediaJobsOptions struct {
Input *JobInput `xml:"Input,omitempty"`
Operation *MediaProcessJobOperation `xml:"Operation,omitempty"`
QueueId string `xml:"QueueId,omitempty"`
CallBack string `xml:"CallBack,omitempty"`
CallBack string `xml:"CallBack,omitempty"`
}
type MediaProcessJobDetail struct {

2
example/CI/media_process/media_process.go

@ -91,7 +91,7 @@ func main() {
fmt.Printf("%+v\n", createJobRes.JobsDetail)
// DescribeMediaJobs
DescribeJobRes, _, err := c.CI.DescribeMediaJobs(context.Background(), createJobRes.JobsDetail.JobId)
DescribeJobRes, _, err := c.CI.DescribeMediaJob(context.Background(), createJobRes.JobsDetail.JobId)
log_status(err)
fmt.Printf("%+v\n", DescribeJobRes.JobsDetail)
}
Loading…
Cancel
Save