提交的内容

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

6
vendor/qcloud/cos-sdk-v5/sample/createMediaVoiceSeparateJobs.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)));
@ -29,6 +29,8 @@ try {
'Bucket' => 'examplebucket-125000000', //存储桶名称由BucketName-Appid 组成可以在COS控制台查看 https://console.cloud.tencent.com/cos5/bucket
'Object' => 'VoiceSeparate01.mp3',
'AuObject' => 'VoiceSeparate02.mp3',
'BassObject' => 'VoiceSeparate03.mp3',
'DrumObject' => 'VoiceSeparate04.mp3',
),
// 'UserData' => 'xxx', // 透传用户信息
// 'JobLevel' => '0', // 任务优先级级别限制0 、1 、2。级别越大任务优先级越高默认为0
@ -52,6 +54,8 @@ try {
'Bucket' => 'examplebucket-125000000', //存储桶名称由BucketName-Appid 组成可以在COS控制台查看 https://console.cloud.tencent.com/cos5/bucket
'Object' => 'VoiceSeparate01.mp3',
'AuObject' => 'VoiceSeparate02.mp3',
'BassObject' => 'VoiceSeparate03.mp3',
'DrumObject' => 'VoiceSeparate04.mp3',
),
'VoiceSeparate' => array(
'AudioMode' => 'AudioAndBackground',