Skip to content

Commit

Permalink
Update model_background_config_info.go
Browse files Browse the repository at this point in the history
BackgroundCoverUrl
  • Loading branch information
chelintsien authored Oct 24, 2024
1 parent 2ed40fb commit f7809bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/metastudio/v1/model/model_background_config_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ type BackgroundConfigInfo struct {
// **参数解释**: 背景文件的URL。 **约束限制**: * 仅直播支持外部URL,其他业务通过资产库查询获取,不支持外部URL。 * background_type=IMAGE时需要填写。 **取值范围**: 字符长度1-2048位 **默认取值**: 不涉及。
BackgroundConfig *string `json:"background_config,omitempty"`

BackgroundCoverUrl *string `json:"background_cover_url,omitempty"`

// **参数解释**: 纯色背景的RGB颜色值。 **约束限制**: background_type=COLOR时需要填写。 **取值范围**: 字符长度0-16位
BackgroundColorConfig *string `json:"background_color_config,omitempty"`

Expand Down

1 comment on commit f7809bf

@chelintsien
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

背景参数中不传BackgroundCoverUrl,将导致在 console 中背景显示异常

Please sign in to comment.