Skip to content

Commit

Permalink
Add TranscodeFileTaskOutput (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko authored Feb 3, 2023
1 parent 2640945 commit 43a9f60
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pkg/data/task_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,21 @@ type ErrorInfo struct {
}

type TaskOutput struct {
Upload *UploadTaskOutput `json:"upload,omitempty"`
Import *UploadTaskOutput `json:"import,omitempty"`
Export *ExportTaskOutput `json:"export,omitempty"`
Transcode *TranscodeTaskOutput `json:"transcode,omitempty"`
Upload *UploadTaskOutput `json:"upload,omitempty"`
Import *UploadTaskOutput `json:"import,omitempty"`
Export *ExportTaskOutput `json:"export,omitempty"`
Transcode *TranscodeTaskOutput `json:"transcode,omitempty"`
TranscodeFile *TranscodeFileTaskOutput `json:"transcodeFile,omitempty"`
}

type TranscodeTaskOutput struct {
Asset UploadTaskOutput `json:"asset,omitempty"`
}

type TranscodeFileTaskOutput struct {
VideoFilePath string `json:"videoFilePath"`
}

type UploadTaskOutput struct {
VideoFilePath string `json:"videoFilePath"`
MetadataFilePath string `json:"metadataFilePath"`
Expand Down

0 comments on commit 43a9f60

Please sign in to comment.