tencentcloud-sdk-nodejs 4.0.354 → 4.0.355
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +172 -0
- package/SERVICE_CHANGELOG.md +269 -33
- package/package.json +1 -1
- package/products.md +11 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/api/v20201106/api_models.ts +2 -2
- package/src/services/cdn/v20180606/cdn_client.ts +27 -15
- package/src/services/cdn/v20180606/cdn_models.ts +87 -52
- package/src/services/cpdp/v20190820/cpdp_client.ts +237 -48
- package/src/services/cpdp/v20190820/cpdp_models.ts +1892 -521
- package/src/services/dlc/v20210125/dlc_models.ts +7 -1
- package/src/services/ess/v20201111/ess_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/mongodb/v20190725/mongodb_models.ts +5 -0
- package/src/services/soe/v20180724/soe_models.ts +2 -2
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +11 -1
- package/src/services/tan/index.ts +5 -0
- package/src/services/tan/v20220420/index.ts +6 -0
- package/src/services/tan/v20220420/tan_client.ts +40 -0
- package/src/services/tan/v20220420/tan_models.ts +46 -0
- package/src/services/trtc/v20190722/trtc_client.ts +91 -61
- package/src/services/trtc/v20190722/trtc_models.ts +1145 -994
- package/src/services/tts/v20190823/tts_client.ts +11 -0
- package/src/services/tts/v20190823/tts_models.ts +2 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/api/v20201106/api_models.d.ts +2 -2
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +9 -5
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +12 -6
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +76 -46
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +65 -9
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +96 -12
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1636 -467
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +6 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +4 -0
- package/tencentcloud/services/soe/v20180724/soe_models.d.ts +2 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +9 -1
- package/tencentcloud/services/tan/index.d.ts +6 -0
- package/tencentcloud/services/tan/index.js +7 -0
- package/tencentcloud/services/tan/v20220420/index.d.ts +6 -0
- package/tencentcloud/services/tan/v20220420/index.js +9 -0
- package/tencentcloud/services/tan/v20220420/tan_client.d.ts +14 -0
- package/tencentcloud/services/tan/v20220420/tan_client.js +37 -0
- package/tencentcloud/services/tan/v20220420/tan_models.d.ts +26 -0
- package/tencentcloud/services/tan/v20220420/tan_models.js +18 -0
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +17 -5
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +22 -6
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +976 -849
- package/tencentcloud/services/tts/v20190823/tts_client.d.ts +11 -0
- package/tencentcloud/services/tts/v20190823/tts_client.js +11 -0
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +2 -2
- package/test/cdn.v20180606.test.js +14 -4
- package/test/cpdp.v20190820.test.js +148 -8
- package/test/tan.v20220420.test.js +31 -0
- package/test/trtc.v20190722.test.js +24 -4
|
@@ -349,7 +349,7 @@ export interface DetachUserPolicyRequest {
|
|
|
349
349
|
*/
|
|
350
350
|
export interface DescribeSparkAppTasksResponse {
|
|
351
351
|
/**
|
|
352
|
-
*
|
|
352
|
+
* 任务结果(该字段已废弃)
|
|
353
353
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
354
354
|
*/
|
|
355
355
|
Tasks: TaskResponseInfo;
|
|
@@ -357,6 +357,11 @@ export interface DescribeSparkAppTasksResponse {
|
|
|
357
357
|
* 任务总数
|
|
358
358
|
*/
|
|
359
359
|
TotalCount: number;
|
|
360
|
+
/**
|
|
361
|
+
* 任务结果列表
|
|
362
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
363
|
+
*/
|
|
364
|
+
SparkAppTasks: Array<TaskResponseInfo>;
|
|
360
365
|
/**
|
|
361
366
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
362
367
|
*/
|
|
@@ -153,6 +153,7 @@ export { ssm } from "./ssm";
|
|
|
153
153
|
export { sts } from "./sts";
|
|
154
154
|
export { taf } from "./taf";
|
|
155
155
|
export { tag } from "./tag";
|
|
156
|
+
export { tan } from "./tan";
|
|
156
157
|
export { tat } from "./tat";
|
|
157
158
|
export { tav } from "./tav";
|
|
158
159
|
export { tbaas } from "./tbaas";
|
|
@@ -310,6 +310,8 @@ var taf_1 = require("./taf");
|
|
|
310
310
|
Object.defineProperty(exports, "taf", { enumerable: true, get: function () { return taf_1.taf; } });
|
|
311
311
|
var tag_1 = require("./tag");
|
|
312
312
|
Object.defineProperty(exports, "tag", { enumerable: true, get: function () { return tag_1.tag; } });
|
|
313
|
+
var tan_1 = require("./tan");
|
|
314
|
+
Object.defineProperty(exports, "tan", { enumerable: true, get: function () { return tan_1.tan; } });
|
|
313
315
|
var tat_1 = require("./tat");
|
|
314
316
|
Object.defineProperty(exports, "tat", { enumerable: true, get: function () { return tat_1.tat; } });
|
|
315
317
|
var tav_1 = require("./tav");
|
|
@@ -270,7 +270,7 @@ export interface TransmitOralProcessResponse {
|
|
|
270
270
|
*/
|
|
271
271
|
Status: string;
|
|
272
272
|
/**
|
|
273
|
-
* 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(
|
|
273
|
+
* 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracy)× 完整度(PronCompletion)×(2 - 完整度(PronCompletion)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
|
|
274
274
|
*/
|
|
275
275
|
SuggestedScore: number;
|
|
276
276
|
/**
|
|
@@ -412,7 +412,7 @@ export interface KeywordScore {
|
|
|
412
412
|
*/
|
|
413
413
|
Words: Array<WordRsp>;
|
|
414
414
|
/**
|
|
415
|
-
* 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(
|
|
415
|
+
* 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracy)× 完整度(PronCompletion)×(2 - 完整度(PronCompletion)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
|
|
416
416
|
*/
|
|
417
417
|
SuggestedScore: number;
|
|
418
418
|
}
|
|
@@ -1539,7 +1539,15 @@ export interface RemoveBackupsRequest {
|
|
|
1539
1539
|
/**
|
|
1540
1540
|
* 待删除的备份名称,备份名称可通过DescribeBackups接口的FileName字段获得。单次请求批量删除备份数不能超过10个。
|
|
1541
1541
|
*/
|
|
1542
|
-
BackupNames
|
|
1542
|
+
BackupNames?: Array<string>;
|
|
1543
|
+
/**
|
|
1544
|
+
* 批量删除手动备份起始时间
|
|
1545
|
+
*/
|
|
1546
|
+
StartTime?: string;
|
|
1547
|
+
/**
|
|
1548
|
+
* 批量删除手动备份截止时间
|
|
1549
|
+
*/
|
|
1550
|
+
EndTime?: string;
|
|
1543
1551
|
}
|
|
1544
1552
|
/**
|
|
1545
1553
|
* 数据库创建信息
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20220420 = void 0;
|
|
4
|
+
const Models = require("./tan_models");
|
|
5
|
+
const tan_client_1 = require("./tan_client");
|
|
6
|
+
exports.v20220420 = {
|
|
7
|
+
Client: tan_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { CreateBlockNodeRecordsRequest, CreateBlockNodeRecordsResponse } from "./tan_models";
|
|
4
|
+
/**
|
|
5
|
+
* tan client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 创建节点记录
|
|
12
|
+
*/
|
|
13
|
+
CreateBlockNodeRecords(req: CreateBlockNodeRecordsRequest, cb?: (error: string, rep: CreateBlockNodeRecordsResponse) => void): Promise<CreateBlockNodeRecordsResponse>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Client = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing,
|
|
15
|
+
* software distributed under the License is distributed on an
|
|
16
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
+
* KIND, either express or implied. See the License for the
|
|
18
|
+
* specific language governing permissions and limitations
|
|
19
|
+
* under the License.
|
|
20
|
+
*/
|
|
21
|
+
const abstract_client_1 = require("../../../common/abstract_client");
|
|
22
|
+
/**
|
|
23
|
+
* tan client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("tan.tencentcloudapi.com", "2022-04-20", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 创建节点记录
|
|
32
|
+
*/
|
|
33
|
+
async CreateBlockNodeRecords(req, cb) {
|
|
34
|
+
return this.request("CreateBlockNodeRecords", req, cb);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.Client = Client;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateBlockNodeRecords请求参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface CreateBlockNodeRecordsRequest {
|
|
5
|
+
/**
|
|
6
|
+
* 盘查实例id
|
|
7
|
+
*/
|
|
8
|
+
GroupId: string;
|
|
9
|
+
/**
|
|
10
|
+
* 节点id
|
|
11
|
+
*/
|
|
12
|
+
NodeId: string;
|
|
13
|
+
/**
|
|
14
|
+
* 节点记录-json
|
|
15
|
+
*/
|
|
16
|
+
Records: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* CreateBlockNodeRecords返回参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateBlockNodeRecordsResponse {
|
|
22
|
+
/**
|
|
23
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
24
|
+
*/
|
|
25
|
+
RequestId?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import {
|
|
3
|
+
import { DescribeAbnormalEventResponse, DescribeAbnormalEventRequest, CreatePictureRequest, DescribeHistoryScaleRequest, DescribeCallDetailRequest, RemoveUserByStrRoomIdResponse, StartMCUMixTranscodeRequest, StartMCUMixTranscodeByStrRoomIdRequest, CreateTroubleInfoRequest, DescribeDetailEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeRoomInformationRequest, DescribeRecordStatisticResponse, StartMCUMixTranscodeByStrRoomIdResponse, DismissRoomByStrRoomIdRequest, DescribeRecordStatisticRequest, MeasureTrtcMcuExternalResponse, DescribeUserInformationRequest, ModifyPictureRequest, MeasureTrtcMcuExternalRequest, ModifyPictureResponse, StopMCUMixTranscodeResponse, RemoveUserRequest, DismissRoomRequest, DescribeCloudRecordingRequest, StopMCUMixTranscodeRequest, CreateCloudRecordingRequest, DeleteCloudRecordingResponse, CreateTroubleInfoResponse, StopMCUMixTranscodeByStrRoomIdRequest, DeletePictureResponse, ModifyCloudRecordingRequest, CreateCloudRecordingResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, DescribeExternalTrtcMeasureResponse, DescribePictureResponse, DescribeTrtcMcuTranscodeTimeRequest, DescribeDetailEventRequest, DismissRoomByStrRoomIdResponse, ModifyCloudRecordingResponse, DescribeCloudRecordingResponse, DismissRoomResponse, DescribeUserInformationResponse, DescribeCallDetailResponse, DeletePictureRequest, DescribeRoomInformationResponse, DescribeExternalTrtcMeasureRequest, RemoveUserByStrRoomIdRequest, CreatePictureResponse, RemoveUserResponse, DescribeHistoryScaleResponse } from "./trtc_models";
|
|
4
4
|
/**
|
|
5
5
|
* trtc client
|
|
6
6
|
* @class
|
|
@@ -60,15 +60,19 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
60
60
|
* 接口说明:将用户从房间移出,适用于主播/房主/管理员踢人等场景。支持所有平台,Android、iOS、Windows 和 macOS 需升级到 TRTC SDK 6.6及以上版本。
|
|
61
61
|
*/
|
|
62
62
|
RemoveUser(req: RemoveUserRequest, cb?: (error: string, rep: RemoveUserResponse) => void): Promise<RemoveUserResponse>;
|
|
63
|
-
/**
|
|
64
|
-
* 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
|
|
65
|
-
*/
|
|
66
|
-
ModifyCloudRecording(req: ModifyCloudRecordingRequest, cb?: (error: string, rep: ModifyCloudRecordingResponse) => void): Promise<ModifyCloudRecordingResponse>;
|
|
67
63
|
/**
|
|
68
64
|
* 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType,UserIds为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。
|
|
69
65
|
**注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
|
70
66
|
*/
|
|
71
67
|
DescribeCallDetail(req: DescribeCallDetailRequest, cb?: (error: string, rep: DescribeCallDetailResponse) => void): Promise<DescribeCallDetailResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* 查询旁路转码计费时长。
|
|
70
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
71
|
+
- 单次查询统计区间最多不能超过2天。
|
|
72
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
73
|
+
- 日结后付费将于次日上午推送账单,建议次日上午9点以后再来查询前一天的用量。
|
|
74
|
+
*/
|
|
75
|
+
MeasureTrtcMcuExternal(req: MeasureTrtcMcuExternalRequest, cb?: (error: string, rep: MeasureTrtcMcuExternalResponse) => void): Promise<MeasureTrtcMcuExternalResponse>;
|
|
72
76
|
/**
|
|
73
77
|
* ###接口说明:
|
|
74
78
|
启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制有或者多路视频画面混流一路。
|
|
@@ -84,10 +88,18 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
84
88
|
* 混流录制:将房间内订阅UserId的音视频混录成一个音视频文件,并将录制文件(M3U8/TS)上传至云存储。
|
|
85
89
|
*/
|
|
86
90
|
CreateCloudRecording(req: CreateCloudRecordingRequest, cb?: (error: string, rep: CreateCloudRecordingResponse) => void): Promise<CreateCloudRecordingResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* 获取Trtc的用量统计数据。走计费渠道二期 只允许查两天的数据
|
|
93
|
+
*/
|
|
94
|
+
DescribeExternalTrtcMeasure(req: DescribeExternalTrtcMeasureRequest, cb?: (error: string, rep: DescribeExternalTrtcMeasureResponse) => void): Promise<DescribeExternalTrtcMeasureResponse>;
|
|
87
95
|
/**
|
|
88
96
|
* 接口说明:结束云端混流
|
|
89
97
|
*/
|
|
90
98
|
StopMCUMixTranscodeByStrRoomId(req: StopMCUMixTranscodeByStrRoomIdRequest, cb?: (error: string, rep: StopMCUMixTranscodeByStrRoomIdResponse) => void): Promise<StopMCUMixTranscodeByStrRoomIdResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
|
|
101
|
+
*/
|
|
102
|
+
ModifyCloudRecording(req: ModifyCloudRecordingRequest, cb?: (error: string, rep: ModifyCloudRecordingResponse) => void): Promise<ModifyCloudRecordingResponse>;
|
|
91
103
|
/**
|
|
92
104
|
* 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁修改自定义背景图或水印素材,可通过此接口修改已上传的图片。无需频繁修改图片素材的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
|
93
105
|
*/
|
|
@@ -96,12 +96,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
96
96
|
async RemoveUser(req, cb) {
|
|
97
97
|
return this.request("RemoveUser", req, cb);
|
|
98
98
|
}
|
|
99
|
-
/**
|
|
100
|
-
* 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
|
|
101
|
-
*/
|
|
102
|
-
async ModifyCloudRecording(req, cb) {
|
|
103
|
-
return this.request("ModifyCloudRecording", req, cb);
|
|
104
|
-
}
|
|
105
99
|
/**
|
|
106
100
|
* 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType,UserIds为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。
|
|
107
101
|
**注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
|
@@ -109,6 +103,16 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
109
103
|
async DescribeCallDetail(req, cb) {
|
|
110
104
|
return this.request("DescribeCallDetail", req, cb);
|
|
111
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* 查询旁路转码计费时长。
|
|
108
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
109
|
+
- 单次查询统计区间最多不能超过2天。
|
|
110
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
111
|
+
- 日结后付费将于次日上午推送账单,建议次日上午9点以后再来查询前一天的用量。
|
|
112
|
+
*/
|
|
113
|
+
async MeasureTrtcMcuExternal(req, cb) {
|
|
114
|
+
return this.request("MeasureTrtcMcuExternal", req, cb);
|
|
115
|
+
}
|
|
112
116
|
/**
|
|
113
117
|
* ###接口说明:
|
|
114
118
|
启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制有或者多路视频画面混流一路。
|
|
@@ -126,12 +130,24 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
126
130
|
async CreateCloudRecording(req, cb) {
|
|
127
131
|
return this.request("CreateCloudRecording", req, cb);
|
|
128
132
|
}
|
|
133
|
+
/**
|
|
134
|
+
* 获取Trtc的用量统计数据。走计费渠道二期 只允许查两天的数据
|
|
135
|
+
*/
|
|
136
|
+
async DescribeExternalTrtcMeasure(req, cb) {
|
|
137
|
+
return this.request("DescribeExternalTrtcMeasure", req, cb);
|
|
138
|
+
}
|
|
129
139
|
/**
|
|
130
140
|
* 接口说明:结束云端混流
|
|
131
141
|
*/
|
|
132
142
|
async StopMCUMixTranscodeByStrRoomId(req, cb) {
|
|
133
143
|
return this.request("StopMCUMixTranscodeByStrRoomId", req, cb);
|
|
134
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
|
|
147
|
+
*/
|
|
148
|
+
async ModifyCloudRecording(req, cb) {
|
|
149
|
+
return this.request("ModifyCloudRecording", req, cb);
|
|
150
|
+
}
|
|
135
151
|
/**
|
|
136
152
|
* 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁修改自定义背景图或水印素材,可通过此接口修改已上传的图片。无需频繁修改图片素材的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
|
137
153
|
*/
|