提交的内容

This commit is contained in:
2025-05-12 15:45:02 +08:00
parent 629c4750da
commit b48c692775
3043 changed files with 34732 additions and 60810 deletions

15
vendor/qcloud/cos-sdk-v5/sample/describeMediaJobs.php vendored Executable file → Normal file
View File

@ -8,7 +8,7 @@ $region = "ap-beijing"; //替换为用户的 region已创建桶归属的regio
$cosClient = new Qcloud\Cos\Client(
array(
'region' => $region,
'schema' => 'https', //协议头部默认为http
'scheme' => 'https', //协议头部默认为http
'credentials'=> array(
'secretId' => $secretId,
'secretKey' => $secretKey)));
@ -16,12 +16,21 @@ try {
/*
拉取符合条件的任务, 支持
Transcode、Snapshot、Animation、Concat、SmartCover、VideoProcess、VideoMontage、VoiceSeparate、SDRtoHDR、
DigitalWatermark、ExtractDigitalWatermark、SuperResolution、VideoTag、PicProcess、Segment
DigitalWatermark、ExtractDigitalWatermark、SuperResolution、VideoTag、PicProcess、Segment
*/
$result = $cosClient->describeMediaJobs(array(
'Bucket' => 'examplebucket-125000000', //存储桶名称由BucketName-Appid 组成可以在COS控制台查看 https://console.cloud.tencent.com/cos5/bucket
'Tag' => 'Transcode', // 任务 的Tag
'QueueId' => 'paaf4fce5521a40888a3034a5dxxxxxxx', // queueId
// 'QueueId' => '', // queueId
// 'OrderByTime' => '',
// 'NextToken' => '',
// 'Size' => '',
// 'States' => '',
// 'StartCreationTime' => '',
// 'EndCreationTime' => '',
// 'WorkflowId' => '',
// 'InventoryTriggerJobId' => '',
// 'InputObject' => '',
));
// 请求成功
print_r($result);