Skip to content

Commit

Permalink
fix: wrong type of field in struct Dash
Browse files Browse the repository at this point in the history
  • Loading branch information
scarletborder committed Jan 24, 2025
1 parent ac93695 commit b233f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions video.go
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,8 @@ type Durl struct {
}
type Dash struct {
Duration int `json:"duration"` // 视频长度。秒值
Minbuffertime int `json:"minBufferTime"` // 1.5?
MinBufferTime int `json:"min_buffer_time"` // 1.5?
Minbuffertime float64 `json:"minBufferTime"` // 1.5?
MinBufferTime float64 `json:"min_buffer_time"` // 1.5?
Video []AudioOrVideo `json:"video"` // 视频流信息 同一清晰度可拥有 H.264 / H.265 / AV1 多种码流<br />**HDR 仅支持 H.265** |
Audio []AudioOrVideo `json:"audio"` // 伴音流信息。当视频没有音轨时,此项为 null
Dolby Dolby `json:"dolby"` // 杜比全景声伴音信息
Expand Down

0 comments on commit b233f5c

Please sign in to comment.