Fix ci_media.go and example/CI/media_process/media_process.go
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user