mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-01-07 12:17:02 +08:00
fix: cos option
This commit is contained in:
parent
7ee2f208dd
commit
1df35100de
@ -318,7 +318,8 @@ func (o *OSS) AccessURL(ctx context.Context, name string, expire time.Duration,
|
|||||||
if opt.Video.Height > 0 {
|
if opt.Video.Height > 0 {
|
||||||
process += ",h_" + strconv.Itoa(opt.Video.Height)
|
process += ",h_" + strconv.Itoa(opt.Video.Height)
|
||||||
}
|
}
|
||||||
process += ",m_fast"
|
process += ",ar_auto,m_fast"
|
||||||
|
fmt.Println(process)
|
||||||
opts = append(opts, oss.Process(process))
|
opts = append(opts, oss.Process(process))
|
||||||
}
|
}
|
||||||
if opt.ContentType != "" {
|
if opt.ContentType != "" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user