tencentcloud-sdk-nodejs-mps 4.0.1054 → 4.1.1
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/README.md +18 -4
- package/es/index.js +1 -0
- package/es/services/index.js +1 -0
- package/es/services/mps/index.js +4 -0
- package/es/services/mps/v20190612/index.js +6 -0
- package/es/services/mps/v20190612/mps_client.js +390 -0
- package/es/services/mps/v20190612/mps_models.js +0 -0
- package/package.json +16 -5
- package/tencentcloud/services/mps/v20190612/index.js +2 -1
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +42 -5
- package/tencentcloud/services/mps/v20190612/mps_client.js +63 -7
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1322 -216
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/index.ts +0 -1
- package/src/services/mps/index.ts +0 -5
- package/src/services/mps/v20190612/index.ts +0 -6
- package/src/services/mps/v20190612/mps_client.ts +0 -1953
- package/src/services/mps/v20190612/mps_models.ts +0 -17000
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Client = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
6
|
/*
|
|
6
7
|
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
@@ -18,7 +19,7 @@ exports.Client = void 0;
|
|
|
18
19
|
* specific language governing permissions and limitations
|
|
19
20
|
* under the License.
|
|
20
21
|
*/
|
|
21
|
-
const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
|
|
22
|
+
const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
|
|
22
23
|
/**
|
|
23
24
|
* mps client
|
|
24
25
|
* @class
|
|
@@ -27,6 +28,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
27
28
|
constructor(clientConfig) {
|
|
28
29
|
super("mps.tencentcloudapi.com", "2019-06-12", clientConfig);
|
|
29
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* 查询智能字幕热词库
|
|
33
|
+
*/
|
|
34
|
+
async DescribeAsrHotwords(req, cb) {
|
|
35
|
+
return this.request("DescribeAsrHotwords", req, cb);
|
|
36
|
+
}
|
|
30
37
|
/**
|
|
31
38
|
* 创建用户自定义指定时间点截图模板,数量上限:16。
|
|
32
39
|
*/
|
|
@@ -39,6 +46,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
39
46
|
async DescribeStreamLinkFlowRealtimeStatus(req, cb) {
|
|
40
47
|
return this.request("DescribeStreamLinkFlowRealtimeStatus", req, cb);
|
|
41
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* 创建用户自定义转动图模板,数量上限:16。
|
|
51
|
+
*/
|
|
52
|
+
async CreateAnimatedGraphicsTemplate(req, cb) {
|
|
53
|
+
return this.request("CreateAnimatedGraphicsTemplate", req, cb);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* 修改用户自定义智能字幕模板。
|
|
57
|
+
*/
|
|
58
|
+
async ModifySmartSubtitleTemplate(req, cb) {
|
|
59
|
+
return this.request("ModifySmartSubtitleTemplate", req, cb);
|
|
60
|
+
}
|
|
42
61
|
/**
|
|
43
62
|
* 修改直播录制模板
|
|
44
63
|
*/
|
|
@@ -81,6 +100,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
81
100
|
async DescribeAIAnalysisTemplates(req, cb) {
|
|
82
101
|
return this.request("DescribeAIAnalysisTemplates", req, cb);
|
|
83
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* 删除用户自定义智能字幕模板。
|
|
105
|
+
*/
|
|
106
|
+
async DeleteSmartSubtitleTemplate(req, cb) {
|
|
107
|
+
return this.request("DeleteSmartSubtitleTemplate", req, cb);
|
|
108
|
+
}
|
|
84
109
|
/**
|
|
85
110
|
* 从 CMQ 获取到消息后,从消息的 msgBody 字段中解析出 MPS 直播流处理事件通知的内容。
|
|
86
111
|
该接口不用于发起网络调用,而是用来帮助生成各个语言平台的 SDK,您可以参考 SDK 中的解析实现事件通知的解析。
|
|
@@ -118,6 +143,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
118
143
|
8. 智能内容分析(标签、分类、封面、按帧标签、拆条、集锦、片头片尾、游戏打点);
|
|
119
144
|
9. 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词、语音翻译、物体识别)。
|
|
120
145
|
10. 媒体质检(直播流格式诊断、音画内容检测(抖动、模糊、低光照、过曝光、黑边、白边、黑屏、白屏、花屏、噪点、马赛克、二维码等)、无参考打分)
|
|
146
|
+
11. 智能字幕(语音全文、语音热词、语音翻译)
|
|
121
147
|
*/
|
|
122
148
|
async ProcessMedia(req, cb) {
|
|
123
149
|
return this.request("ProcessMedia", req, cb);
|
|
@@ -174,10 +200,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
174
200
|
return this.request("DescribeLiveRecordTemplates", req, cb);
|
|
175
201
|
}
|
|
176
202
|
/**
|
|
177
|
-
*
|
|
203
|
+
* 删除智能字幕热词库
|
|
178
204
|
*/
|
|
179
|
-
async
|
|
180
|
-
return this.request("
|
|
205
|
+
async DeleteAsrHotwords(req, cb) {
|
|
206
|
+
return this.request("DeleteAsrHotwords", req, cb);
|
|
181
207
|
}
|
|
182
208
|
/**
|
|
183
209
|
* 启用工作流。
|
|
@@ -191,6 +217,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
191
217
|
async RecognizeMediaForZhiXue(req, cb) {
|
|
192
218
|
return this.request("RecognizeMediaForZhiXue", req, cb);
|
|
193
219
|
}
|
|
220
|
+
/**
|
|
221
|
+
* 获取热词库列表
|
|
222
|
+
*/
|
|
223
|
+
async DescribeAsrHotwordsList(req, cb) {
|
|
224
|
+
return this.request("DescribeAsrHotwordsList", req, cb);
|
|
225
|
+
}
|
|
194
226
|
/**
|
|
195
227
|
* 修改媒体传输的传输流配置信息。
|
|
196
228
|
*/
|
|
@@ -365,6 +397,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
365
397
|
async ModifyStreamLinkInput(req, cb) {
|
|
366
398
|
return this.request("ModifyStreamLinkInput", req, cb);
|
|
367
399
|
}
|
|
400
|
+
/**
|
|
401
|
+
* 创建自定义智能字幕模板
|
|
402
|
+
*/
|
|
403
|
+
async CreateSmartSubtitleTemplate(req, cb) {
|
|
404
|
+
return this.request("CreateSmartSubtitleTemplate", req, cb);
|
|
405
|
+
}
|
|
368
406
|
/**
|
|
369
407
|
* 查询媒体传输所有地区。
|
|
370
408
|
*/
|
|
@@ -425,6 +463,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
425
463
|
async DescribeStreamLinkEventAttachedFlows(req, cb) {
|
|
426
464
|
return this.request("DescribeStreamLinkEventAttachedFlows", req, cb);
|
|
427
465
|
}
|
|
466
|
+
/**
|
|
467
|
+
* 根据智能字幕 模板唯一标识,获取智能字幕模板详情列表。返回结果包含符合条件的所有用户自定义智能字幕模板及系统预置智能字幕模板
|
|
468
|
+
*/
|
|
469
|
+
async DescribeSmartSubtitleTemplates(req, cb) {
|
|
470
|
+
return this.request("DescribeSmartSubtitleTemplates", req, cb);
|
|
471
|
+
}
|
|
428
472
|
/**
|
|
429
473
|
* 修改媒体传输流的输出配置。
|
|
430
474
|
*/
|
|
@@ -455,6 +499,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
455
499
|
async DescribeStreamLinkEvents(req, cb) {
|
|
456
500
|
return this.request("DescribeStreamLinkEvents", req, cb);
|
|
457
501
|
}
|
|
502
|
+
/**
|
|
503
|
+
* 智能字幕更新热词库接口
|
|
504
|
+
*/
|
|
505
|
+
async ModifyAsrHotwords(req, cb) {
|
|
506
|
+
return this.request("ModifyAsrHotwords", req, cb);
|
|
507
|
+
}
|
|
458
508
|
/**
|
|
459
509
|
* 查询媒体传输流的SRT质量数据。
|
|
460
510
|
*/
|
|
@@ -665,10 +715,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
665
715
|
return this.request("DeletePersonSample", req, cb);
|
|
666
716
|
}
|
|
667
717
|
/**
|
|
668
|
-
*
|
|
718
|
+
* 删除用户自定义指定时间点截图模板。
|
|
669
719
|
*/
|
|
670
|
-
async
|
|
671
|
-
return this.request("
|
|
720
|
+
async DeleteSnapshotByTimeOffsetTemplate(req, cb) {
|
|
721
|
+
return this.request("DeleteSnapshotByTimeOffsetTemplate", req, cb);
|
|
672
722
|
}
|
|
673
723
|
/**
|
|
674
724
|
* 启用自动化触发编排任务。
|
|
@@ -722,6 +772,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
722
772
|
async DescribeStreamLinkFlowMediaStatistics(req, cb) {
|
|
723
773
|
return this.request("DescribeStreamLinkFlowMediaStatistics", req, cb);
|
|
724
774
|
}
|
|
775
|
+
/**
|
|
776
|
+
* 智能字幕新建热词库接口
|
|
777
|
+
*/
|
|
778
|
+
async CreateAsrHotwords(req, cb) {
|
|
779
|
+
return this.request("CreateAsrHotwords", req, cb);
|
|
780
|
+
}
|
|
725
781
|
/**
|
|
726
782
|
* 创建媒体传输的事件Event。
|
|
727
783
|
*/
|