public class TranscodeTemplateDemo extends Object
| Constructor and Description |
|---|
TranscodeTemplateDemo() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createMediaTemplate(COSClient client)
CreateMediaTemplate 用于新增转码模板。
|
static void |
createMediaTemplateWithAigcMetadata(COSClient client)
CreateMediaTemplate 用于新增转码模板(包含aigcMetadata信息)。
|
static void |
deleteMediaTemplate(COSClient client)
DeleteMediaTemplate 用于删除转码模板。
|
static void |
describeMediaTemplates(COSClient client)
DescribeMediaTemplates 用于查询转码模板。
|
static void |
main(String[] args) |
static void |
updateMediaTemplate(COSClient client)
UpdateMediaTemplate 用于更新转码模板。
|
static void |
updateMediaTemplateWithAigcMetadata(COSClient client)
UpdateMediaTemplate 用于更新转码模板。
|
public static void createMediaTemplate(COSClient client) throws UnsupportedEncodingException
client - UnsupportedEncodingExceptionpublic static void createMediaTemplateWithAigcMetadata(COSClient client) throws UnsupportedEncodingException
client - UnsupportedEncodingExceptionpublic static void deleteMediaTemplate(COSClient client)
client - public static void describeMediaTemplates(COSClient client)
client - public static void updateMediaTemplate(COSClient client) throws UnsupportedEncodingException
client - UnsupportedEncodingExceptionpublic static void updateMediaTemplateWithAigcMetadata(COSClient client) throws UnsupportedEncodingException
client - UnsupportedEncodingExceptionCopyright © 2025. All rights reserved.