tencentcloud-sdk-nodejs-mps 4.0.1044 → 4.0.1054

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-mps",
3
- "version": "4.0.1044",
4
- "description": "Tencent Cloud API NODEJS SDK",
3
+ "version": "4.0.1054",
4
+ "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
7
7
  "test": "mocha -t 10000",
@@ -22,7 +22,7 @@
22
22
  "author": "tencentcloudapi",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "tencentcloud-sdk-nodejs-common": "^4.0.488",
25
+ "tencentcloud-sdk-nodejs-common": "*",
26
26
  "tslib": "1.13.0"
27
27
  },
28
28
  "directories": {
@@ -35,14 +35,19 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/form-data": "^2.5.0",
38
+ "@types/json-bigint": "^1.0.1",
38
39
  "@types/node": "^14.0.26",
39
40
  "@types/node-fetch": "^2.5.7",
41
+ "@types/uuid": "^9.0.8",
40
42
  "@typescript-eslint/eslint-plugin": "^2.34.0",
41
43
  "@typescript-eslint/parser": "^2.34.0",
44
+ "babel-eslint": "^10.0.2",
42
45
  "chai": "^4.2.0",
43
46
  "eslint": "^6.8.0",
47
+ "eslint-plugin-react": "^7.17.0",
44
48
  "mocha": "^8.1.1",
49
+ "prettier": "^2.3.0",
45
50
  "ts-node": "^8.10.2",
46
51
  "typescript": "^3.9.7"
47
52
  }
48
- }
53
+ }
@@ -405,6 +405,7 @@ import {
405
405
  ImageSpriteTemplate,
406
406
  AiRecognitionTaskOcrFullTextSegmentTextItem,
407
407
  QualityControlItem,
408
+ SpekeDrm,
408
409
  DeleteStreamLinkFlowResponse,
409
410
  LiveStreamAsrFullTextRecognitionResult,
410
411
  AiReviewPornOcrTaskOutput,
@@ -1354,6 +1354,22 @@ export interface MediaTranscodeItem {
1354
1354
  * 视频流信息。
1355
1355
  */
1356
1356
  VideoStreamSet?: Array<MediaVideoStreamItem>
1357
+ /**
1358
+ * 视频转码使用增强项说明,增强项解释
1359
+ <li>hdr:HDR配置</li>
1360
+ <li>wd_fps:插帧帧率配置</li>
1361
+ <li>video_super_resolution: 超分配置</li>
1362
+ <li>repair:综合增强配置</li>
1363
+ <li>denoise:视频降噪配置</li>
1364
+ <li>color_enhance:色彩增强配置</li>
1365
+ <li>scratch:去划痕配置</li>
1366
+ <li>artifact:去伪影(毛刺)配置</li>
1367
+ <li>sharp:细节增强配置</li>
1368
+ <li>low_light:低光照增强配置</li>
1369
+ <li>face_enhance:人脸增强配置</li>
1370
+ 注意:此字段可能返回 null,表示取不到有效值。
1371
+ */
1372
+ CallBackExtInfo?: string
1357
1373
  }
1358
1374
 
1359
1375
  /**
@@ -9433,7 +9449,7 @@ export interface AiAnalysisTaskTagInput {
9433
9449
  /**
9434
9450
  * 视频智能标签模板 ID。
9435
9451
  */
9436
- Definition: number
9452
+ Definition?: number
9437
9453
  }
9438
9454
 
9439
9455
  /**
@@ -10092,6 +10108,41 @@ export interface QualityControlItem {
10092
10108
  AreaCoordSet?: Array<number | bigint>
10093
10109
  }
10094
10110
 
10111
+ /**
10112
+ * FairPlay,WideVine,PlayReady 等Drm加密方式。
10113
+ */
10114
+ export interface SpekeDrm {
10115
+ /**
10116
+ * 资源标记,
10117
+ 支持1-128个字符的数字、字母、下划线(_)、中划线(-)。
10118
+ */
10119
+ ResourceId: string
10120
+ /**
10121
+ * drm厂商访问地址;
10122
+
10123
+ 注: 不同DRM厂商对子流的数量限制不一样,如 pallycon 限制不能超过5条子流,drmtoday厂商最多仅支持9条子流加密
10124
+ */
10125
+ KeyServerUrl: string
10126
+ /**
10127
+ * 加密初始化向量(32字节字符串)。
10128
+ */
10129
+ Vector: string
10130
+ /**
10131
+ * 加密方式,FairPlay 默认cbcs,PlayReady,Widevine 默认cenc
10132
+
10133
+ cbcs:PlayReady,Widevine,FairPlay 支持;
10134
+ cenc:PlayReady,Widevine支持;
10135
+ */
10136
+ EncryptionMethod?: string
10137
+ /**
10138
+ * 子流加密规则,默认 preset0
10139
+ preset0:全部子流使用同一个key加密;
10140
+ preset1:每个子流使用不同的key加密;
10141
+
10142
+ */
10143
+ EncryptionPreset?: string
10144
+ }
10145
+
10095
10146
  /**
10096
10147
  * DeleteStreamLinkFlow返回参数结构体
10097
10148
  */
@@ -14361,6 +14412,10 @@ export interface DrmInfo {
14361
14412
  注意:此字段可能返回 null,表示取不到有效值。
14362
14413
  */
14363
14414
  SimpleAesDrm?: SimpleAesDrm
14415
+ /**
14416
+ * FairPlay, WideVine, PlayReady 加密信息。
14417
+ */
14418
+ SpekeDrm?: SpekeDrm
14364
14419
  }
14365
14420
 
14366
14421
  /**
@@ -1287,6 +1287,22 @@ export interface MediaTranscodeItem {
1287
1287
  * 视频流信息。
1288
1288
  */
1289
1289
  VideoStreamSet?: Array<MediaVideoStreamItem>;
1290
+ /**
1291
+ * 视频转码使用增强项说明,增强项解释
1292
+ <li>hdr:HDR配置</li>
1293
+ <li>wd_fps:插帧帧率配置</li>
1294
+ <li>video_super_resolution: 超分配置</li>
1295
+ <li>repair:综合增强配置</li>
1296
+ <li>denoise:视频降噪配置</li>
1297
+ <li>color_enhance:色彩增强配置</li>
1298
+ <li>scratch:去划痕配置</li>
1299
+ <li>artifact:去伪影(毛刺)配置</li>
1300
+ <li>sharp:细节增强配置</li>
1301
+ <li>low_light:低光照增强配置</li>
1302
+ <li>face_enhance:人脸增强配置</li>
1303
+ 注意:此字段可能返回 null,表示取不到有效值。
1304
+ */
1305
+ CallBackExtInfo?: string;
1290
1306
  }
1291
1307
  /**
1292
1308
  * 诊断结果项。
@@ -9053,7 +9069,7 @@ export interface AiAnalysisTaskTagInput {
9053
9069
  /**
9054
9070
  * 视频智能标签模板 ID。
9055
9071
  */
9056
- Definition: number;
9072
+ Definition?: number;
9057
9073
  }
9058
9074
  /**
9059
9075
  * 智能描述结果类型
@@ -9687,6 +9703,40 @@ export interface QualityControlItem {
9687
9703
  */
9688
9704
  AreaCoordSet?: Array<number | bigint>;
9689
9705
  }
9706
+ /**
9707
+ * FairPlay,WideVine,PlayReady 等Drm加密方式。
9708
+ */
9709
+ export interface SpekeDrm {
9710
+ /**
9711
+ * 资源标记,
9712
+ 支持1-128个字符的数字、字母、下划线(_)、中划线(-)。
9713
+ */
9714
+ ResourceId: string;
9715
+ /**
9716
+ * drm厂商访问地址;
9717
+
9718
+ 注: 不同DRM厂商对子流的数量限制不一样,如 pallycon 限制不能超过5条子流,drmtoday厂商最多仅支持9条子流加密
9719
+ */
9720
+ KeyServerUrl: string;
9721
+ /**
9722
+ * 加密初始化向量(32字节字符串)。
9723
+ */
9724
+ Vector: string;
9725
+ /**
9726
+ * 加密方式,FairPlay 默认cbcs,PlayReady,Widevine 默认cenc
9727
+
9728
+ cbcs:PlayReady,Widevine,FairPlay 支持;
9729
+ cenc:PlayReady,Widevine支持;
9730
+ */
9731
+ EncryptionMethod?: string;
9732
+ /**
9733
+ * 子流加密规则,默认 preset0
9734
+ preset0:全部子流使用同一个key加密;
9735
+ preset1:每个子流使用不同的key加密;
9736
+
9737
+ */
9738
+ EncryptionPreset?: string;
9739
+ }
9690
9740
  /**
9691
9741
  * DeleteStreamLinkFlow返回参数结构体
9692
9742
  */
@@ -13783,6 +13833,10 @@ export interface DrmInfo {
13783
13833
  注意:此字段可能返回 null,表示取不到有效值。
13784
13834
  */
13785
13835
  SimpleAesDrm?: SimpleAesDrm;
13836
+ /**
13837
+ * FairPlay, WideVine, PlayReady 加密信息。
13838
+ */
13839
+ SpekeDrm?: SpekeDrm;
13786
13840
  }
13787
13841
  /**
13788
13842
  * DescribeSampleSnapshotTemplates返回参数结构体