tencentcloud-sdk-nodejs-intl-en 3.0.1218 → 3.0.1220
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 +1 -1
- package/tencentcloud/as/v20180419/as_client.js +0 -2
- package/tencentcloud/as/v20180419/models.js +6 -8
- package/tencentcloud/billing/v20180709/billing_client.js +13 -0
- package/tencentcloud/billing/v20180709/models.js +114 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +13 -0
- package/tencentcloud/cynosdb/v20190107/models.js +115 -0
- package/tencentcloud/faceid/v20180301/models.js +17 -18
- package/tencentcloud/ims/v20201229/ims_client.js +1 -1
- package/tencentcloud/ims/v20201229/models.js +7 -0
- package/tencentcloud/mps/v20190612/models.js +333 -150
- package/tencentcloud/ocr/v20181119/models.js +435 -146
- package/tencentcloud/ocr/v20181119/ocr_client.js +21 -2
- package/tencentcloud/tms/v20201229/models.js +7 -0
- package/tencentcloud/tms/v20201229/tms_client.js +1 -1
- package/tencentcloud/trtc/v20190722/models.js +493 -112
- package/tencentcloud/trtc/v20190722/trtc_client.js +44 -3
|
@@ -537,29 +537,25 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
537
537
|
this.TEHDConfig = null;
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
|
-
*
|
|
541
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
540
|
+
* Subtitle stream configuration parameter.
|
|
542
541
|
* @type {SubtitleTemplate || null}
|
|
543
542
|
*/
|
|
544
543
|
this.SubtitleTemplate = null;
|
|
545
544
|
|
|
546
545
|
/**
|
|
547
|
-
*
|
|
548
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
546
|
+
* Specifies the external audio track parameter.
|
|
549
547
|
* @type {Array.<MediaInputInfo> || null}
|
|
550
548
|
*/
|
|
551
549
|
this.AddonAudioStream = null;
|
|
552
550
|
|
|
553
551
|
/**
|
|
554
|
-
*
|
|
555
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
552
|
+
* Extension field for transcoding.
|
|
556
553
|
* @type {string || null}
|
|
557
554
|
*/
|
|
558
555
|
this.StdExtInfo = null;
|
|
559
556
|
|
|
560
557
|
/**
|
|
561
|
-
*
|
|
562
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
558
|
+
* Subtitle file to be inserted.
|
|
563
559
|
* @type {Array.<AddOnSubtitle> || null}
|
|
564
560
|
*/
|
|
565
561
|
this.AddOnSubtitles = null;
|
|
@@ -1494,6 +1490,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1494
1490
|
*/
|
|
1495
1491
|
this.Paragraphs = null;
|
|
1496
1492
|
|
|
1493
|
+
/**
|
|
1494
|
+
* Address of the mind map of a summary task.
|
|
1495
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
1496
|
+
* @type {string || null}
|
|
1497
|
+
*/
|
|
1498
|
+
this.MindMapUrl = null;
|
|
1499
|
+
|
|
1497
1500
|
}
|
|
1498
1501
|
|
|
1499
1502
|
/**
|
|
@@ -1516,6 +1519,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1516
1519
|
this.Paragraphs.push(obj);
|
|
1517
1520
|
}
|
|
1518
1521
|
}
|
|
1522
|
+
this.MindMapUrl = 'MindMapUrl' in params ? params.MindMapUrl : null;
|
|
1519
1523
|
|
|
1520
1524
|
}
|
|
1521
1525
|
}
|
|
@@ -2900,8 +2904,12 @@ class RawWatermarkParameter extends AbstractModel {
|
|
|
2900
2904
|
this.Type = null;
|
|
2901
2905
|
|
|
2902
2906
|
/**
|
|
2903
|
-
* Origin position
|
|
2904
|
-
<
|
|
2907
|
+
* Origin position. valid values:.
|
|
2908
|
+
<Li>TopLeft: indicates that the coordinate origin is at the top left corner of the video image and the watermark origin is at the top left corner of the image or text.</li>.
|
|
2909
|
+
<Li>TopRight: indicates that the coordinate origin is at the top right corner of the video image and the watermark origin is at the top right corner of the image or text.</li>.
|
|
2910
|
+
<Li>BottomLeft: indicates that the coordinate origin is at the bottom-left corner of the video image and the watermark origin is at the bottom-left corner of the image or text.</li>.
|
|
2911
|
+
<li>BottomRight: indicates that the coordinate origin is at the bottom right corner of the video image and the watermark origin is at the bottom right corner of the image or text.</li>
|
|
2912
|
+
|
|
2905
2913
|
Default value: TopLeft.
|
|
2906
2914
|
* @type {string || null}
|
|
2907
2915
|
*/
|
|
@@ -4409,16 +4417,13 @@ Note: when this field return null, means no valid values can be obtained.
|
|
|
4409
4417
|
this.SessionContext = null;
|
|
4410
4418
|
|
|
4411
4419
|
/**
|
|
4412
|
-
* -
|
|
4413
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
4420
|
+
* - expiration time, event notification signature expiration in UNIX Timestamp format. - notifications from media processing default to an expiration time of 10 minutes. if the time specified by the Timestamp value in a message notification has expired, the notification can be deemed invalid, furthermore preventing network replay attacks. - the Timestamp format is decimal UNIX Timestamp, seconds elapsed since midnight (UTC/GMT) on january 1, 1970.
|
|
4414
4421
|
* @type {number || null}
|
|
4415
4422
|
*/
|
|
4416
4423
|
this.Timestamp = null;
|
|
4417
4424
|
|
|
4418
4425
|
/**
|
|
4419
4426
|
* Event notification security signature. Sign = MD5 (Timestamp + NotifyKey). Note: Media Processing Service concatenates Timestamp and NotifyKey from TaskNotifyConfig as a string and calculates the Sign value through MD5. This value is included in the notification message. Your backend server can verify whether the Sign is correct using the same algorithm, to confirm whether the message is indeed from the Media Processing Service backend.
|
|
4420
|
-
|
|
4421
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
4422
4427
|
* @type {string || null}
|
|
4423
4428
|
*/
|
|
4424
4429
|
this.Sign = null;
|
|
@@ -7049,10 +7054,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7049
7054
|
|
|
7050
7055
|
/**
|
|
7051
7056
|
* Origin position. Valid values:
|
|
7052
|
-
<li>
|
|
7053
|
-
<li>
|
|
7054
|
-
<li>
|
|
7055
|
-
<li>
|
|
7057
|
+
<li>TopLeft: indicates that the coordinate origin is at the top left corner of the video image and the watermark origin is at the top left corner of the image or text.</li>
|
|
7058
|
+
<li>TopRight: indicates that the coordinate origin is at the top right corner of the video image and the watermark origin is at the top right corner of the image or text.</li>
|
|
7059
|
+
<li>BottomLeft: indicates that the coordinate origin is at the bottom left corner of the video image and the watermark origin is at the bottom left corner of the image or text.</li>
|
|
7060
|
+
<li>BottomRight: indicates that the coordinate origin is at the bottom right corner of the video image and the watermark origin is at the bottom right corner of the image or text.</li>
|
|
7056
7061
|
* @type {string || null}
|
|
7057
7062
|
*/
|
|
7058
7063
|
this.CoordinateOrigin = null;
|
|
@@ -7196,8 +7201,7 @@ class DescribeWordSamplesResponse extends AbstractModel {
|
|
|
7196
7201
|
super();
|
|
7197
7202
|
|
|
7198
7203
|
/**
|
|
7199
|
-
*
|
|
7200
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7204
|
+
* Total number of qualified records.
|
|
7201
7205
|
* @type {number || null}
|
|
7202
7206
|
*/
|
|
7203
7207
|
this.TotalCount = null;
|
|
@@ -7726,12 +7730,23 @@ class ScheduleRecognitionTaskResult extends AbstractModel {
|
|
|
7726
7730
|
this.Input = null;
|
|
7727
7731
|
|
|
7728
7732
|
/**
|
|
7729
|
-
*
|
|
7730
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7733
|
+
* Output of the identification task.
|
|
7731
7734
|
* @type {Array.<AiRecognitionResult> || null}
|
|
7732
7735
|
*/
|
|
7733
7736
|
this.Output = null;
|
|
7734
7737
|
|
|
7738
|
+
/**
|
|
7739
|
+
* Task execution start time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
|
|
7740
|
+
* @type {string || null}
|
|
7741
|
+
*/
|
|
7742
|
+
this.BeginProcessTime = null;
|
|
7743
|
+
|
|
7744
|
+
/**
|
|
7745
|
+
* Task execution completion time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
|
|
7746
|
+
* @type {string || null}
|
|
7747
|
+
*/
|
|
7748
|
+
this.FinishTime = null;
|
|
7749
|
+
|
|
7735
7750
|
}
|
|
7736
7751
|
|
|
7737
7752
|
/**
|
|
@@ -7760,6 +7775,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7760
7775
|
this.Output.push(obj);
|
|
7761
7776
|
}
|
|
7762
7777
|
}
|
|
7778
|
+
this.BeginProcessTime = 'BeginProcessTime' in params ? params.BeginProcessTime : null;
|
|
7779
|
+
this.FinishTime = 'FinishTime' in params ? params.FinishTime : null;
|
|
7763
7780
|
|
|
7764
7781
|
}
|
|
7765
7782
|
}
|
|
@@ -9596,12 +9613,23 @@ class MediaProcessTaskImageSpriteResult extends AbstractModel {
|
|
|
9596
9613
|
this.Input = null;
|
|
9597
9614
|
|
|
9598
9615
|
/**
|
|
9599
|
-
*
|
|
9600
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9616
|
+
* Specifies the output of an image sprite task for a video.
|
|
9601
9617
|
* @type {MediaImageSpriteItem || null}
|
|
9602
9618
|
*/
|
|
9603
9619
|
this.Output = null;
|
|
9604
9620
|
|
|
9621
|
+
/**
|
|
9622
|
+
* Task execution start time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
|
|
9623
|
+
* @type {string || null}
|
|
9624
|
+
*/
|
|
9625
|
+
this.BeginProcessTime = null;
|
|
9626
|
+
|
|
9627
|
+
/**
|
|
9628
|
+
* Task execution completion time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
|
|
9629
|
+
* @type {string || null}
|
|
9630
|
+
*/
|
|
9631
|
+
this.FinishTime = null;
|
|
9632
|
+
|
|
9605
9633
|
}
|
|
9606
9634
|
|
|
9607
9635
|
/**
|
|
@@ -9627,6 +9655,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
9627
9655
|
obj.deserialize(params.Output)
|
|
9628
9656
|
this.Output = obj;
|
|
9629
9657
|
}
|
|
9658
|
+
this.BeginProcessTime = 'BeginProcessTime' in params ? params.BeginProcessTime : null;
|
|
9659
|
+
this.FinishTime = 'FinishTime' in params ? params.FinishTime : null;
|
|
9630
9660
|
|
|
9631
9661
|
}
|
|
9632
9662
|
}
|
|
@@ -10665,7 +10695,6 @@ Default value: 0.
|
|
|
10665
10695
|
|
|
10666
10696
|
/**
|
|
10667
10697
|
* Additional parameter, which is a serialized JSON string.
|
|
10668
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
10669
10698
|
* @type {string || null}
|
|
10670
10699
|
*/
|
|
10671
10700
|
this.StdExtInfo = null;
|
|
@@ -12203,7 +12232,7 @@ class MediaAnimatedGraphicsItem extends AbstractModel {
|
|
|
12203
12232
|
this.Path = null;
|
|
12204
12233
|
|
|
12205
12234
|
/**
|
|
12206
|
-
*
|
|
12235
|
+
* Specifies the rotating image template ID. see [rotating image template](https://intl.cloud.tencent.com/document/product/862/77168?from_cn_redirect=1#.E8.BD.AC.E5.8A.A8.E5.9B.BE.E6.A8.A1.E6.9D.BF.5B.5D(ID.3Amove)).
|
|
12207
12236
|
* @type {number || null}
|
|
12208
12237
|
*/
|
|
12209
12238
|
this.Definition = null;
|
|
@@ -13449,20 +13478,19 @@ class MediaProcessTaskSnapshotByTimeOffsetResult extends AbstractModel {
|
|
|
13449
13478
|
this.Input = null;
|
|
13450
13479
|
|
|
13451
13480
|
/**
|
|
13452
|
-
*
|
|
13453
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
13481
|
+
* Specifies the output of a screenshot task at specified time points for a video.
|
|
13454
13482
|
* @type {MediaSnapshotByTimeOffsetItem || null}
|
|
13455
13483
|
*/
|
|
13456
13484
|
this.Output = null;
|
|
13457
13485
|
|
|
13458
13486
|
/**
|
|
13459
|
-
*
|
|
13487
|
+
* Task execution start time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
|
|
13460
13488
|
* @type {string || null}
|
|
13461
13489
|
*/
|
|
13462
13490
|
this.BeginProcessTime = null;
|
|
13463
13491
|
|
|
13464
13492
|
/**
|
|
13465
|
-
*
|
|
13493
|
+
* Task execution completion time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
|
|
13466
13494
|
* @type {string || null}
|
|
13467
13495
|
*/
|
|
13468
13496
|
this.FinishTime = null;
|
|
@@ -14113,8 +14141,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
14113
14141
|
this.Output = null;
|
|
14114
14142
|
|
|
14115
14143
|
/**
|
|
14116
|
-
* Transcoding progress
|
|
14117
|
-
Note: This field may return `null`, indicating that no valid value was found.
|
|
14144
|
+
* Transcoding progress, with a value range of [0-100].
|
|
14118
14145
|
* @type {number || null}
|
|
14119
14146
|
*/
|
|
14120
14147
|
this.Progress = null;
|
|
@@ -14824,29 +14851,25 @@ class ScheduleSmartSubtitleTaskResult extends AbstractModel {
|
|
|
14824
14851
|
this.Message = null;
|
|
14825
14852
|
|
|
14826
14853
|
/**
|
|
14827
|
-
*
|
|
14828
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
14854
|
+
* Input of the recognition task.
|
|
14829
14855
|
* @type {SmartSubtitlesTaskInput || null}
|
|
14830
14856
|
*/
|
|
14831
14857
|
this.Input = null;
|
|
14832
14858
|
|
|
14833
14859
|
/**
|
|
14834
|
-
*
|
|
14835
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
14860
|
+
* Output of the identification task.
|
|
14836
14861
|
* @type {Array.<SmartSubtitlesResult> || null}
|
|
14837
14862
|
*/
|
|
14838
14863
|
this.Output = null;
|
|
14839
14864
|
|
|
14840
14865
|
/**
|
|
14841
14866
|
* Task execution start time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
|
|
14842
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
14843
14867
|
* @type {string || null}
|
|
14844
14868
|
*/
|
|
14845
14869
|
this.BeginProcessTime = null;
|
|
14846
14870
|
|
|
14847
14871
|
/**
|
|
14848
14872
|
* Task execution completion time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
|
|
14849
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
14850
14873
|
* @type {string || null}
|
|
14851
14874
|
*/
|
|
14852
14875
|
this.FinishTime = null;
|
|
@@ -17120,6 +17143,13 @@ class CreateQualityControlTemplateRequest extends AbstractModel {
|
|
|
17120
17143
|
*/
|
|
17121
17144
|
this.Comment = null;
|
|
17122
17145
|
|
|
17146
|
+
/**
|
|
17147
|
+
* Recording file format. Valid values:
|
|
17148
|
+
<li>PNG: PNG image.</li>
|
|
17149
|
+
* @type {string || null}
|
|
17150
|
+
*/
|
|
17151
|
+
this.RecordFormat = null;
|
|
17152
|
+
|
|
17123
17153
|
}
|
|
17124
17154
|
|
|
17125
17155
|
/**
|
|
@@ -17140,6 +17170,7 @@ class CreateQualityControlTemplateRequest extends AbstractModel {
|
|
|
17140
17170
|
}
|
|
17141
17171
|
}
|
|
17142
17172
|
this.Comment = 'Comment' in params ? params.Comment : null;
|
|
17173
|
+
this.RecordFormat = 'RecordFormat' in params ? params.RecordFormat : null;
|
|
17143
17174
|
|
|
17144
17175
|
}
|
|
17145
17176
|
}
|
|
@@ -19409,6 +19440,30 @@ class LiveStreamAsrFullTextRecognitionResult extends AbstractModel {
|
|
|
19409
19440
|
*/
|
|
19410
19441
|
this.Confidence = null;
|
|
19411
19442
|
|
|
19443
|
+
/**
|
|
19444
|
+
*
|
|
19445
|
+
* @type {string || null}
|
|
19446
|
+
*/
|
|
19447
|
+
this.StartTime = null;
|
|
19448
|
+
|
|
19449
|
+
/**
|
|
19450
|
+
*
|
|
19451
|
+
* @type {string || null}
|
|
19452
|
+
*/
|
|
19453
|
+
this.EndTime = null;
|
|
19454
|
+
|
|
19455
|
+
/**
|
|
19456
|
+
*
|
|
19457
|
+
* @type {boolean || null}
|
|
19458
|
+
*/
|
|
19459
|
+
this.SteadyState = null;
|
|
19460
|
+
|
|
19461
|
+
/**
|
|
19462
|
+
* User ID in the result of recognition via WebSocket and TRTC.Note: This field may return null, indicating that no valid value can be obtained.
|
|
19463
|
+
* @type {string || null}
|
|
19464
|
+
*/
|
|
19465
|
+
this.UserId = null;
|
|
19466
|
+
|
|
19412
19467
|
}
|
|
19413
19468
|
|
|
19414
19469
|
/**
|
|
@@ -19422,6 +19477,10 @@ class LiveStreamAsrFullTextRecognitionResult extends AbstractModel {
|
|
|
19422
19477
|
this.StartPtsTime = 'StartPtsTime' in params ? params.StartPtsTime : null;
|
|
19423
19478
|
this.EndPtsTime = 'EndPtsTime' in params ? params.EndPtsTime : null;
|
|
19424
19479
|
this.Confidence = 'Confidence' in params ? params.Confidence : null;
|
|
19480
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
19481
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
19482
|
+
this.SteadyState = 'SteadyState' in params ? params.SteadyState : null;
|
|
19483
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
19425
19484
|
|
|
19426
19485
|
}
|
|
19427
19486
|
}
|
|
@@ -19636,28 +19695,25 @@ class SegmentRecognitionItem extends AbstractModel {
|
|
|
19636
19695
|
this.EndTimeOffset = null;
|
|
19637
19696
|
|
|
19638
19697
|
/**
|
|
19639
|
-
*
|
|
19698
|
+
* Specifies the split segment URL.
|
|
19640
19699
|
* @type {string || null}
|
|
19641
19700
|
*/
|
|
19642
19701
|
this.SegmentUrl = null;
|
|
19643
19702
|
|
|
19644
19703
|
/**
|
|
19645
|
-
*
|
|
19646
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
19704
|
+
* Specifies the segment cover.
|
|
19647
19705
|
* @type {string || null}
|
|
19648
19706
|
*/
|
|
19649
19707
|
this.CovImgUrl = null;
|
|
19650
19708
|
|
|
19651
19709
|
/**
|
|
19652
19710
|
* Segment title.
|
|
19653
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
19654
19711
|
* @type {string || null}
|
|
19655
19712
|
*/
|
|
19656
19713
|
this.Title = null;
|
|
19657
19714
|
|
|
19658
19715
|
/**
|
|
19659
|
-
*
|
|
19660
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
19716
|
+
* Specifies the segment summary.
|
|
19661
19717
|
* @type {string || null}
|
|
19662
19718
|
*/
|
|
19663
19719
|
this.Summary = null;
|
|
@@ -19669,15 +19725,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
19669
19725
|
this.Keywords = null;
|
|
19670
19726
|
|
|
19671
19727
|
/**
|
|
19672
|
-
*
|
|
19673
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
19728
|
+
* Specifies the start time of a live streaming segment in the ISO date format.
|
|
19674
19729
|
* @type {string || null}
|
|
19675
19730
|
*/
|
|
19676
19731
|
this.BeginTime = null;
|
|
19677
19732
|
|
|
19678
19733
|
/**
|
|
19679
|
-
*
|
|
19680
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
19734
|
+
* Specifies the end time of a live streaming segment in the ISO date format.
|
|
19681
19735
|
* @type {string || null}
|
|
19682
19736
|
*/
|
|
19683
19737
|
this.EndTime = null;
|
|
@@ -20248,34 +20302,52 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
20248
20302
|
this.Path = null;
|
|
20249
20303
|
|
|
20250
20304
|
/**
|
|
20251
|
-
*
|
|
20252
|
-
|
|
20305
|
+
* Specifies the subtitle track for embedding subtitles into the video. the Streamindex parameter takes value starting from 0, where 0 indicates usage of the first subtitle track in the source video. if Path is specified, use Path preferentially. either Path or Streamindex should be specified.
|
|
20306
|
+
|
|
20307
|
+
-Note: StreamIndex must match the subtitle track index in the source file. for example, if the subtitle track in the source file is stream#0:3, StreamIndex should be 3. otherwise, task processing failed.
|
|
20308
|
+
|
|
20309
|
+
|
|
20310
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
20253
20311
|
* @type {number || null}
|
|
20254
20312
|
*/
|
|
20255
20313
|
this.StreamIndex = null;
|
|
20256
20314
|
|
|
20257
20315
|
/**
|
|
20258
|
-
*
|
|
20259
|
-
<li
|
|
20260
|
-
<li
|
|
20261
|
-
<
|
|
20262
|
-
<li
|
|
20263
|
-
|
|
20264
|
-
|
|
20316
|
+
* Font type. valid values:.
|
|
20317
|
+
<li>hei.ttf: simhei.</li>.
|
|
20318
|
+
<li>song.ttf: simsun.</li>.
|
|
20319
|
+
<Li>Kai.Ttf (recommend) or simkai.ttf: kaiti.</li>.
|
|
20320
|
+
<li>msyh.ttf: microsoft yahei</li>.
|
|
20321
|
+
<li>msyhbd.ttf: microsoft yahei in bold.</li>.
|
|
20322
|
+
<li>hkjgt.ttf: dynafont king gothic</li>.
|
|
20323
|
+
<li>dhttx.ttf: dianheitexiti.</li>.
|
|
20324
|
+
<li>xqgdzt.ttf: xiqueguzidianti</li>.
|
|
20325
|
+
<li>qpcyt.ttf: smart splice super round body.</li>.
|
|
20326
|
+
<li>arial.ttf: english only.</li>.
|
|
20327
|
+
<li>dinalternate.ttf:DIN Alternate Bold</li>
|
|
20328
|
+
<li>helveticalt.ttf:Helvetica</li>
|
|
20329
|
+
<li>helveticains.ttf:Helvetica Inserat</li>
|
|
20330
|
+
<li>trajanpro.ttf:TrajanPro-Bold</li>
|
|
20331
|
+
<li>korean.ttf: specifies the korean language.</li>.
|
|
20332
|
+
<li>japanese.ttf: specifies the japanese language.</li>.
|
|
20333
|
+
<li>thai.ttf: specifies the thai language.</li>.
|
|
20334
|
+
Default: hei.ttf (heiti). note: kaiti is recommended for use with kai.ttf.
|
|
20335
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
20265
20336
|
* @type {string || null}
|
|
20266
20337
|
*/
|
|
20267
20338
|
this.FontType = null;
|
|
20268
20339
|
|
|
20269
20340
|
/**
|
|
20270
|
-
*
|
|
20271
|
-
|
|
20341
|
+
* Font size. Format: Npx, where N is a numerical value. If it is not specified, the font size of the subtitle file applies.
|
|
20342
|
+
It is 5% of the source video height by default.
|
|
20343
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
20272
20344
|
* @type {string || null}
|
|
20273
20345
|
*/
|
|
20274
20346
|
this.FontSize = null;
|
|
20275
20347
|
|
|
20276
20348
|
/**
|
|
20277
|
-
*
|
|
20278
|
-
Note: This field may return null, indicating that no valid
|
|
20349
|
+
* Font color. Format: 0xRRGGBB. Default value: 0xFFFFFF (white).
|
|
20350
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
20279
20351
|
* @type {string || null}
|
|
20280
20352
|
*/
|
|
20281
20353
|
this.FontColor = null;
|
|
@@ -20290,6 +20362,71 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
20290
20362
|
*/
|
|
20291
20363
|
this.FontAlpha = null;
|
|
20292
20364
|
|
|
20365
|
+
/**
|
|
20366
|
+
* Subtitle position on the Y-axis. If this parameter is specified, the built-in coordinates in the subtitle file will be ignored. The pixel and percentage formats are supported.
|
|
20367
|
+
|
|
20368
|
+
- Pixel: Npx. Value range of N: [0,4096].
|
|
20369
|
+
- Percentage: N%. Value range of N: [0,100]. For example, 10% indicates that the subtitle position on the Y-axis is 10% of the video height.
|
|
20370
|
+
|
|
20371
|
+
By default, the position is 4% of the source video height.
|
|
20372
|
+
Note: The origin of the coordinate axes is at the bottom of the central axis of the source video, and the subtitle reference position is at the bottom of the central axis of the subtitles, as shown in the figure below.
|
|
20373
|
+

|
|
20374
|
+
|
|
20375
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
20376
|
+
* @type {string || null}
|
|
20377
|
+
*/
|
|
20378
|
+
this.YPos = null;
|
|
20379
|
+
|
|
20380
|
+
/**
|
|
20381
|
+
* Subtitle background position on the Y-axis. Pixel and percentage formats are supported.
|
|
20382
|
+
|
|
20383
|
+
- Pixel: Npx. Value range of N: [0,4096].
|
|
20384
|
+
- Percentage: N%. Value range of N: [0,100]. For example, 10% indicates that the subtitle background position on the Y-axis is 10% of the video height.
|
|
20385
|
+
|
|
20386
|
+
If this parameter is not specified, the subtitle background is disabled.
|
|
20387
|
+
Note: The origin of the coordinate axes is at the bottom of the central axis of the source video, and the reference position of the subtitle background is at the bottom of the central axis of the source video, as shown in the figure below.
|
|
20388
|
+

|
|
20389
|
+
|
|
20390
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
20391
|
+
* @type {string || null}
|
|
20392
|
+
*/
|
|
20393
|
+
this.BoardY = null;
|
|
20394
|
+
|
|
20395
|
+
/**
|
|
20396
|
+
* Board width. Unit: pixels. Value range: [0,4096].
|
|
20397
|
+
It is 90% of the source video width by default.
|
|
20398
|
+
|
|
20399
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
20400
|
+
* @type {number || null}
|
|
20401
|
+
*/
|
|
20402
|
+
this.BoardWidth = null;
|
|
20403
|
+
|
|
20404
|
+
/**
|
|
20405
|
+
* Board height. Unit: pixels. Value range: [0,4096].
|
|
20406
|
+
It is 15% of the source video height by default.
|
|
20407
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
20408
|
+
* @type {number || null}
|
|
20409
|
+
*/
|
|
20410
|
+
this.BoardHeight = null;
|
|
20411
|
+
|
|
20412
|
+
/**
|
|
20413
|
+
* Board color. Format: 0xRRGGBB.
|
|
20414
|
+
Default value: 0x000000 (black).
|
|
20415
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
20416
|
+
* @type {string || null}
|
|
20417
|
+
*/
|
|
20418
|
+
this.BoardColor = null;
|
|
20419
|
+
|
|
20420
|
+
/**
|
|
20421
|
+
* Subtitle background transparency. Value range: [0, 1].
|
|
20422
|
+
<li>0: completely transparent.</li>
|
|
20423
|
+
<li>1: completely opaque.</li>
|
|
20424
|
+
Default value: 0.8.
|
|
20425
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
20426
|
+
* @type {number || null}
|
|
20427
|
+
*/
|
|
20428
|
+
this.BoardAlpha = null;
|
|
20429
|
+
|
|
20293
20430
|
}
|
|
20294
20431
|
|
|
20295
20432
|
/**
|
|
@@ -20305,6 +20442,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
20305
20442
|
this.FontSize = 'FontSize' in params ? params.FontSize : null;
|
|
20306
20443
|
this.FontColor = 'FontColor' in params ? params.FontColor : null;
|
|
20307
20444
|
this.FontAlpha = 'FontAlpha' in params ? params.FontAlpha : null;
|
|
20445
|
+
this.YPos = 'YPos' in params ? params.YPos : null;
|
|
20446
|
+
this.BoardY = 'BoardY' in params ? params.BoardY : null;
|
|
20447
|
+
this.BoardWidth = 'BoardWidth' in params ? params.BoardWidth : null;
|
|
20448
|
+
this.BoardHeight = 'BoardHeight' in params ? params.BoardHeight : null;
|
|
20449
|
+
this.BoardColor = 'BoardColor' in params ? params.BoardColor : null;
|
|
20450
|
+
this.BoardAlpha = 'BoardAlpha' in params ? params.BoardAlpha : null;
|
|
20308
20451
|
|
|
20309
20452
|
}
|
|
20310
20453
|
}
|
|
@@ -20693,14 +20836,12 @@ class AiAnalysisTaskDelLogoOutput extends AbstractModel {
|
|
|
20693
20836
|
|
|
20694
20837
|
/**
|
|
20695
20838
|
* Path of a subtitle file extracted from a video.
|
|
20696
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
20697
20839
|
* @type {string || null}
|
|
20698
20840
|
*/
|
|
20699
20841
|
this.OriginSubtitlePath = null;
|
|
20700
20842
|
|
|
20701
20843
|
/**
|
|
20702
20844
|
* Path of a subtitle translation file extracted from a video.
|
|
20703
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
20704
20845
|
* @type {string || null}
|
|
20705
20846
|
*/
|
|
20706
20847
|
this.TranslateSubtitlePath = null;
|
|
@@ -21420,8 +21561,8 @@ class TranscodeTaskInput extends AbstractModel {
|
|
|
21420
21561
|
this.Definition = null;
|
|
21421
21562
|
|
|
21422
21563
|
/**
|
|
21423
|
-
* Custom video transcoding parameter
|
|
21424
|
-
This parameter is used in
|
|
21564
|
+
* Custom video transcoding parameter. valid when Definition is set to 0.
|
|
21565
|
+
This parameter is used in high customization scenarios. it is recommended that you preferentially use Definition to specify transcoding parameters.
|
|
21425
21566
|
* @type {RawTranscodeParameter || null}
|
|
21426
21567
|
*/
|
|
21427
21568
|
this.RawParameter = null;
|
|
@@ -21436,8 +21577,7 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
21436
21577
|
this.OverrideParameter = null;
|
|
21437
21578
|
|
|
21438
21579
|
/**
|
|
21439
|
-
*
|
|
21440
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
21580
|
+
* Watermark list. Multiple image or text watermarks up to a maximum of 10 are supported.
|
|
21441
21581
|
* @type {Array.<WatermarkInput> || null}
|
|
21442
21582
|
*/
|
|
21443
21583
|
this.WatermarkSet = null;
|
|
@@ -22146,32 +22286,28 @@ class DescribeAsrHotwordsResponse extends AbstractModel {
|
|
|
22146
22286
|
this.HotwordsId = null;
|
|
22147
22287
|
|
|
22148
22288
|
/**
|
|
22149
|
-
* Current
|
|
22150
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
22289
|
+
* Current hotword lexicon id status. a value of 0 indicates that no template is bound to this hotword lexicon at the query moment and it can be deleted.
|
|
22151
22290
|
* @type {number || null}
|
|
22152
22291
|
*/
|
|
22153
22292
|
this.Status = null;
|
|
22154
22293
|
|
|
22155
22294
|
/**
|
|
22156
|
-
*
|
|
22157
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
22295
|
+
* Name of the hot lexicon.
|
|
22158
22296
|
* @type {string || null}
|
|
22159
22297
|
*/
|
|
22160
22298
|
this.Name = null;
|
|
22161
22299
|
|
|
22162
22300
|
/**
|
|
22163
|
-
*
|
|
22164
|
-
|
|
22301
|
+
* Specifies the value is 0 for a temporary hotword lexicon and returns the string provided during creation.
|
|
22302
|
+
Specifies the value is 1 for a file-based hotword lexicon, and returns the content of the file uploaded during creation.
|
|
22165
22303
|
|
|
22166
22304
|
|
|
22167
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
22168
22305
|
* @type {number || null}
|
|
22169
22306
|
*/
|
|
22170
22307
|
this.Type = null;
|
|
22171
22308
|
|
|
22172
22309
|
/**
|
|
22173
22310
|
* Name of the uploaded hotword file.
|
|
22174
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
22175
22311
|
* @type {string || null}
|
|
22176
22312
|
*/
|
|
22177
22313
|
this.FileName = null;
|
|
@@ -22186,42 +22322,36 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
22186
22322
|
* Hotword text, which depends on the value of Type.
|
|
22187
22323
|
If the value of Type is 0, the hotword string is returned.
|
|
22188
22324
|
If the value of Type is 1, the base64-encoded content of the hotword file is returned.
|
|
22189
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
22190
22325
|
* @type {string || null}
|
|
22191
22326
|
*/
|
|
22192
22327
|
this.Content = null;
|
|
22193
22328
|
|
|
22194
22329
|
/**
|
|
22195
22330
|
* Number of words contained in the hotword lexicon.
|
|
22196
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
22197
22331
|
* @type {number || null}
|
|
22198
22332
|
*/
|
|
22199
22333
|
this.WordCount = null;
|
|
22200
22334
|
|
|
22201
22335
|
/**
|
|
22202
22336
|
* Paging offset. Default value: 0.
|
|
22203
|
-
|
|
22204
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
22205
22337
|
* @type {number || null}
|
|
22206
22338
|
*/
|
|
22207
22339
|
this.Offset = null;
|
|
22208
22340
|
|
|
22209
22341
|
/**
|
|
22210
22342
|
* Number of returned entries. Default value: 10. Maximum value: 100.
|
|
22211
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
22212
22343
|
* @type {number || null}
|
|
22213
22344
|
*/
|
|
22214
22345
|
this.Limit = null;
|
|
22215
22346
|
|
|
22216
22347
|
/**
|
|
22217
|
-
*
|
|
22348
|
+
* Hot word lexicon createtime in ISOUTC format "2006-01-02T15:04:05Z".
|
|
22218
22349
|
* @type {string || null}
|
|
22219
22350
|
*/
|
|
22220
22351
|
this.CreateTime = null;
|
|
22221
22352
|
|
|
22222
22353
|
/**
|
|
22223
|
-
*
|
|
22224
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
22354
|
+
* Hot lexicon last modified in ISOUTC format "2006-01-02T15:04:05Z".
|
|
22225
22355
|
* @type {string || null}
|
|
22226
22356
|
*/
|
|
22227
22357
|
this.UpdateTime = null;
|
|
@@ -22419,20 +22549,19 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
22419
22549
|
this.Input = null;
|
|
22420
22550
|
|
|
22421
22551
|
/**
|
|
22422
|
-
*
|
|
22423
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
22552
|
+
* Specifies the output of a sampling screenshot task for a video.
|
|
22424
22553
|
* @type {MediaSampleSnapshotItem || null}
|
|
22425
22554
|
*/
|
|
22426
22555
|
this.Output = null;
|
|
22427
22556
|
|
|
22428
22557
|
/**
|
|
22429
|
-
*
|
|
22558
|
+
* Task execution start time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
|
|
22430
22559
|
* @type {string || null}
|
|
22431
22560
|
*/
|
|
22432
22561
|
this.BeginProcessTime = null;
|
|
22433
22562
|
|
|
22434
22563
|
/**
|
|
22435
|
-
*
|
|
22564
|
+
* Task execution completion time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
|
|
22436
22565
|
* @type {string || null}
|
|
22437
22566
|
*/
|
|
22438
22567
|
this.FinishTime = null;
|
|
@@ -23140,8 +23269,7 @@ class DescribeBatchTaskDetailResponse extends AbstractModel {
|
|
|
23140
23269
|
this.TaskId = null;
|
|
23141
23270
|
|
|
23142
23271
|
/**
|
|
23143
|
-
* Video processing task information.
|
|
23144
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
23272
|
+
* Video processing task information. this field has a value only when TaskType is BatchTask.
|
|
23145
23273
|
* @type {BatchSubTaskResult || null}
|
|
23146
23274
|
*/
|
|
23147
23275
|
this.BatchTaskResult = null;
|
|
@@ -24044,6 +24172,31 @@ class LiveStreamTransTextRecognitionResult extends AbstractModel {
|
|
|
24044
24172
|
*/
|
|
24045
24173
|
this.Trans = null;
|
|
24046
24174
|
|
|
24175
|
+
/**
|
|
24176
|
+
*
|
|
24177
|
+
* @type {string || null}
|
|
24178
|
+
*/
|
|
24179
|
+
this.StartTime = null;
|
|
24180
|
+
|
|
24181
|
+
/**
|
|
24182
|
+
*
|
|
24183
|
+
* @type {string || null}
|
|
24184
|
+
*/
|
|
24185
|
+
this.EndTime = null;
|
|
24186
|
+
|
|
24187
|
+
/**
|
|
24188
|
+
*
|
|
24189
|
+
* @type {boolean || null}
|
|
24190
|
+
*/
|
|
24191
|
+
this.SteadyState = null;
|
|
24192
|
+
|
|
24193
|
+
/**
|
|
24194
|
+
* User ID in the result of real-time translation via WebSocket and TRTC.
|
|
24195
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
24196
|
+
* @type {string || null}
|
|
24197
|
+
*/
|
|
24198
|
+
this.UserId = null;
|
|
24199
|
+
|
|
24047
24200
|
}
|
|
24048
24201
|
|
|
24049
24202
|
/**
|
|
@@ -24058,6 +24211,10 @@ class LiveStreamTransTextRecognitionResult extends AbstractModel {
|
|
|
24058
24211
|
this.EndPtsTime = 'EndPtsTime' in params ? params.EndPtsTime : null;
|
|
24059
24212
|
this.Confidence = 'Confidence' in params ? params.Confidence : null;
|
|
24060
24213
|
this.Trans = 'Trans' in params ? params.Trans : null;
|
|
24214
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
24215
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
24216
|
+
this.SteadyState = 'SteadyState' in params ? params.SteadyState : null;
|
|
24217
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
24061
24218
|
|
|
24062
24219
|
}
|
|
24063
24220
|
}
|
|
@@ -24294,30 +24451,28 @@ class Activity extends AbstractModel {
|
|
|
24294
24451
|
|
|
24295
24452
|
/**
|
|
24296
24453
|
* Atomic task type.
|
|
24297
|
-
<li>input:
|
|
24298
|
-
<li
|
|
24299
|
-
<li>action-trans: transcoding
|
|
24300
|
-
<li>action-samplesnapshot: sampled screenshot
|
|
24301
|
-
<li>action-AIAnalysis: analysis
|
|
24302
|
-
<li>action-AIRecognition: recognition
|
|
24303
|
-
<li>action-aiReview: review
|
|
24304
|
-
<li>action-animated-graphics:
|
|
24305
|
-
<li>action-image-sprite:
|
|
24306
|
-
<li>action-snapshotByTimeOffset: time point screenshot
|
|
24307
|
-
<li>action-adaptive-substream: adaptive bitrate stream
|
|
24308
|
-
<li>action-AIQualityControl: media quality inspection
|
|
24309
|
-
<li>action-SmartSubtitles: smart
|
|
24454
|
+
<li>input: starting node.</li>.
|
|
24455
|
+
<li>`output`: termination node</li>.
|
|
24456
|
+
<li>action-trans: transcoding.</li>.
|
|
24457
|
+
<li>action-samplesnapshot: specifies sampled screenshot taking.</li>.
|
|
24458
|
+
<li>action-AIAnalysis: analysis.</li>.
|
|
24459
|
+
<li>action-AIRecognition: specifies recognition.</li>.
|
|
24460
|
+
<li>action-aiReview: specifies the review action.</li>.
|
|
24461
|
+
<li>action-animated-graphics: specifies the animated image.</li>.
|
|
24462
|
+
<li>action-image-sprite: specifies the sprite sheet.</li>.
|
|
24463
|
+
<li>action-snapshotByTimeOffset: specifies time point screenshot taking.</li>.
|
|
24464
|
+
<li>action-adaptive-substream: specifies the adaptive bitrate stream.</li>.
|
|
24465
|
+
<li>action-AIQualityControl: media quality inspection.</li>.
|
|
24466
|
+
<li>action-SmartSubtitles: specifies smart subtitling.</li>.
|
|
24310
24467
|
|
|
24311
24468
|
|
|
24312
24469
|
|
|
24313
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
24314
24470
|
* @type {string || null}
|
|
24315
24471
|
*/
|
|
24316
24472
|
this.ActivityType = null;
|
|
24317
24473
|
|
|
24318
24474
|
/**
|
|
24319
|
-
*
|
|
24320
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
24475
|
+
* Rear node index array.
|
|
24321
24476
|
* @type {Array.<number> || null}
|
|
24322
24477
|
*/
|
|
24323
24478
|
this.ReardriveIndex = null;
|
|
@@ -25056,20 +25211,25 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
25056
25211
|
|
|
25057
25212
|
/**
|
|
25058
25213
|
* Drm information.
|
|
25059
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
25060
25214
|
* @type {DrmInfo || null}
|
|
25061
25215
|
*/
|
|
25062
25216
|
this.DrmInfo = null;
|
|
25063
25217
|
|
|
25064
25218
|
/**
|
|
25065
25219
|
* Adaptive transcoding template type.
|
|
25066
|
-
Common: audio
|
|
25220
|
+
Common: audio/video type.
|
|
25067
25221
|
PureAudio: audio-only.
|
|
25068
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
25069
25222
|
* @type {string || null}
|
|
25070
25223
|
*/
|
|
25071
25224
|
this.DefinitionType = null;
|
|
25072
25225
|
|
|
25226
|
+
/**
|
|
25227
|
+
* Specifies the subtitle parameter.
|
|
25228
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
25229
|
+
* @type {SubtitleTemplate || null}
|
|
25230
|
+
*/
|
|
25231
|
+
this.SubtitleTemplate = null;
|
|
25232
|
+
|
|
25073
25233
|
}
|
|
25074
25234
|
|
|
25075
25235
|
/**
|
|
@@ -25115,6 +25275,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
25115
25275
|
}
|
|
25116
25276
|
this.DefinitionType = 'DefinitionType' in params ? params.DefinitionType : null;
|
|
25117
25277
|
|
|
25278
|
+
if (params.SubtitleTemplate) {
|
|
25279
|
+
let obj = new SubtitleTemplate();
|
|
25280
|
+
obj.deserialize(params.SubtitleTemplate)
|
|
25281
|
+
this.SubtitleTemplate = obj;
|
|
25282
|
+
}
|
|
25283
|
+
|
|
25118
25284
|
}
|
|
25119
25285
|
}
|
|
25120
25286
|
|
|
@@ -25150,6 +25316,13 @@ class ModifyQualityControlTemplateRequest extends AbstractModel {
|
|
|
25150
25316
|
*/
|
|
25151
25317
|
this.QualityControlItemSet = null;
|
|
25152
25318
|
|
|
25319
|
+
/**
|
|
25320
|
+
* Recording file format. Valid values:
|
|
25321
|
+
<li>PNG: PNG image.</li>
|
|
25322
|
+
* @type {string || null}
|
|
25323
|
+
*/
|
|
25324
|
+
this.RecordFormat = null;
|
|
25325
|
+
|
|
25153
25326
|
}
|
|
25154
25327
|
|
|
25155
25328
|
/**
|
|
@@ -25171,6 +25344,7 @@ class ModifyQualityControlTemplateRequest extends AbstractModel {
|
|
|
25171
25344
|
this.QualityControlItemSet.push(obj);
|
|
25172
25345
|
}
|
|
25173
25346
|
}
|
|
25347
|
+
this.RecordFormat = 'RecordFormat' in params ? params.RecordFormat : null;
|
|
25174
25348
|
|
|
25175
25349
|
}
|
|
25176
25350
|
}
|
|
@@ -25234,13 +25408,13 @@ class TaskNotifyConfig extends AbstractModel {
|
|
|
25234
25408
|
super();
|
|
25235
25409
|
|
|
25236
25410
|
/**
|
|
25237
|
-
*
|
|
25238
|
-
<li
|
|
25239
|
-
<
|
|
25240
|
-
<li
|
|
25241
|
-
<
|
|
25242
|
-
<
|
|
25243
|
-
<font color="red">
|
|
25411
|
+
* Notification type. available values:.
|
|
25412
|
+
<li>CMQ: offline. switch to TDMQ-CMQ.</li>.
|
|
25413
|
+
<Li>TDMQ-CMQ: message queue</li>.
|
|
25414
|
+
<li>URL: when a URL is specified, the HTTP callback is pushed to the address specified by NotifyUrl. the callback protocol is HTTP+json. the content of the packet body is the same as the output parameters of the parseeventnotification api.</li>.
|
|
25415
|
+
<Li>SCF: not recommended. additional configuration is required in the console.</li>.
|
|
25416
|
+
<Li>AWS-SQS: aws queue, suitable for aws tasks only and requires the same region.</li>.
|
|
25417
|
+
<font color="red">note: if left blank, it is TDMQ-CMQ by default. to use another type, you need to fill in the corresponding type value. if using TDMQ-CMQ message queue, an excessively large task response may cause queue failure.</font>.
|
|
25244
25418
|
* @type {string || null}
|
|
25245
25419
|
*/
|
|
25246
25420
|
this.NotifyType = null;
|
|
@@ -25290,8 +25464,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
25290
25464
|
this.AwsSQS = null;
|
|
25291
25465
|
|
|
25292
25466
|
/**
|
|
25293
|
-
*
|
|
25294
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
25467
|
+
* key used to generate a callback signature.
|
|
25295
25468
|
* @type {string || null}
|
|
25296
25469
|
*/
|
|
25297
25470
|
this.NotifyKey = null;
|
|
@@ -27766,7 +27939,13 @@ class ProcessLiveStreamRequest extends AbstractModel {
|
|
|
27766
27939
|
super();
|
|
27767
27940
|
|
|
27768
27941
|
/**
|
|
27769
|
-
* Live stream URL
|
|
27942
|
+
* Live stream URL. (It should be a live streaming file address. RTMP, HLS, FLV, and TRTC addresses are supported.)
|
|
27943
|
+
A TRTC address is as follows:
|
|
27944
|
+
trtc: //trtc.rtc.qq.com/mps/`<roomid>`?sdkappid=`<sdkappid>`&userid=`<userid>`&usersig=<`usersig>`
|
|
27945
|
+
`<roomid>` is the TRTC room ID, which is a number.
|
|
27946
|
+
`<sdkappid>` is the SDK app ID of TRTC.
|
|
27947
|
+
`<userid>` is the user ID for accessing a room, which can be used to distinguish robots.
|
|
27948
|
+
<`usersig>` is the TRTC user signature.
|
|
27770
27949
|
* @type {string || null}
|
|
27771
27950
|
*/
|
|
27772
27951
|
this.Url = null;
|
|
@@ -28126,7 +28305,7 @@ class ComposeSubtitleItem extends AbstractModel {
|
|
|
28126
28305
|
this.StyleId = null;
|
|
28127
28306
|
|
|
28128
28307
|
/**
|
|
28129
|
-
*
|
|
28308
|
+
* Subtitle text. note: long text may exceed the frame. recommend using \n for line breaks.
|
|
28130
28309
|
* @type {string || null}
|
|
28131
28310
|
*/
|
|
28132
28311
|
this.Text = null;
|
|
@@ -28661,11 +28840,25 @@ class DrmInfo extends AbstractModel {
|
|
|
28661
28840
|
|
|
28662
28841
|
/**
|
|
28663
28842
|
* Encryption type.
|
|
28664
|
-
|
|
28665
|
-
|
|
28666
|
-
|
|
28667
|
-
|
|
28668
|
-
|
|
28843
|
+
|
|
28844
|
+
- simpleaes
|
|
28845
|
+
Can only be used for HLS. format support ts and mp4.
|
|
28846
|
+
Only can be used in slice mode. cannot be used in singlefile mode.
|
|
28847
|
+
|
|
28848
|
+
- fairplay:
|
|
28849
|
+
Can only be used for HLS. valid values: mp4.
|
|
28850
|
+
Available for use in slice mode or singlefile mode.
|
|
28851
|
+
|
|
28852
|
+
- widevine:
|
|
28853
|
+
Can be used for HLS and DASH. format can only be mp4.
|
|
28854
|
+
Output HLS: available for use in slice mode or singlefile mode.
|
|
28855
|
+
Output DASH: can only be in singlefile mode.
|
|
28856
|
+
|
|
28857
|
+
- playready:
|
|
28858
|
+
Can be used for HLS and DASH. format can only be mp4.
|
|
28859
|
+
Output HLS: available for use in slice mode or singlefile mode.
|
|
28860
|
+
Output DASH: can only be singlefile mode.
|
|
28861
|
+
|
|
28669
28862
|
* @type {string || null}
|
|
28670
28863
|
*/
|
|
28671
28864
|
this.Type = null;
|
|
@@ -30107,8 +30300,7 @@ class ModifyPersonSampleResponse extends AbstractModel {
|
|
|
30107
30300
|
this.Person = null;
|
|
30108
30301
|
|
|
30109
30302
|
/**
|
|
30110
|
-
*
|
|
30111
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
30303
|
+
* Indicates the information of facial features with processing failure.
|
|
30112
30304
|
* @type {Array.<AiSampleFailFaceInfo> || null}
|
|
30113
30305
|
*/
|
|
30114
30306
|
this.FailFaceInfoSet = null;
|
|
@@ -33266,70 +33458,61 @@ class AiRecognitionTaskFaceResultItem extends AbstractModel {
|
|
|
33266
33458
|
this.SegmentSet = null;
|
|
33267
33459
|
|
|
33268
33460
|
/**
|
|
33269
|
-
*
|
|
33270
|
-
<
|
|
33271
|
-
<
|
|
33272
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
33461
|
+
* Gender of the person.
|
|
33462
|
+
<Li>Male: man.</li>.
|
|
33463
|
+
<Li>Female: specifies the woman.</li>.
|
|
33273
33464
|
* @type {string || null}
|
|
33274
33465
|
*/
|
|
33275
33466
|
this.Gender = null;
|
|
33276
33467
|
|
|
33277
33468
|
/**
|
|
33278
|
-
*
|
|
33279
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
33469
|
+
* Date of birth.
|
|
33280
33470
|
* @type {string || null}
|
|
33281
33471
|
*/
|
|
33282
33472
|
this.Birthday = null;
|
|
33283
33473
|
|
|
33284
33474
|
/**
|
|
33285
|
-
*
|
|
33286
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
33475
|
+
* Occupation or position of a person.
|
|
33287
33476
|
* @type {string || null}
|
|
33288
33477
|
*/
|
|
33289
33478
|
this.Profession = null;
|
|
33290
33479
|
|
|
33291
33480
|
/**
|
|
33292
|
-
*
|
|
33293
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
33481
|
+
* Specifies the graduation institution of the person.
|
|
33294
33482
|
* @type {string || null}
|
|
33295
33483
|
*/
|
|
33296
33484
|
this.SchoolOfGraduation = null;
|
|
33297
33485
|
|
|
33298
33486
|
/**
|
|
33299
|
-
*
|
|
33300
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
33487
|
+
* Description of the person.
|
|
33301
33488
|
* @type {string || null}
|
|
33302
33489
|
*/
|
|
33303
33490
|
this.Abstract = null;
|
|
33304
33491
|
|
|
33305
33492
|
/**
|
|
33306
|
-
*
|
|
33307
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
33493
|
+
* Specifies the birthplace or place of origin.
|
|
33308
33494
|
* @type {string || null}
|
|
33309
33495
|
*/
|
|
33310
33496
|
this.PlaceOfBirth = null;
|
|
33311
33497
|
|
|
33312
33498
|
/**
|
|
33313
|
-
*
|
|
33314
|
-
<
|
|
33315
|
-
<
|
|
33316
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
33499
|
+
* Person type.
|
|
33500
|
+
<Li>Politician: specifies the official.</li>.
|
|
33501
|
+
<Li>Artist: specifies the artist.</li>.
|
|
33317
33502
|
* @type {string || null}
|
|
33318
33503
|
*/
|
|
33319
33504
|
this.PersonType = null;
|
|
33320
33505
|
|
|
33321
33506
|
/**
|
|
33322
|
-
* Sensitivity
|
|
33323
|
-
<
|
|
33324
|
-
<
|
|
33325
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
33507
|
+
* Sensitivity labeling.
|
|
33508
|
+
<Li>Normal: specifies the scaling group is normal.</li>.
|
|
33509
|
+
<Li>Sensitive: specifies sensitivity.</li>.
|
|
33326
33510
|
* @type {string || null}
|
|
33327
33511
|
*/
|
|
33328
33512
|
this.Remark = null;
|
|
33329
33513
|
|
|
33330
33514
|
/**
|
|
33331
|
-
*
|
|
33332
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
33515
|
+
* Specifies the screenshot link.
|
|
33333
33516
|
* @type {string || null}
|
|
33334
33517
|
*/
|
|
33335
33518
|
this.Url = null;
|