Skip to content

Commit

Permalink
Change Transcode API Task output format (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko authored Feb 10, 2023
1 parent 43a9f60 commit 00d3e09
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/data/task_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,14 @@ type TranscodeTaskOutput struct {
Asset UploadTaskOutput `json:"asset,omitempty"`
}

type TranscodeFileTaskOutputPath struct {
Path string `json:"path,omitempty"`
}

type TranscodeFileTaskOutput struct {
VideoFilePath string `json:"videoFilePath"`
BaseUrl string `json:"baseUrl,omitempty"`
Hls *TranscodeFileTaskOutputPath `json:"hls,omitempty"`
Mp4 []TranscodeFileTaskOutputPath `json:"mp4,omitempty"`
}

type UploadTaskOutput struct {
Expand Down

0 comments on commit 00d3e09

Please sign in to comment.