tencentcloud-sdk-nodejs-intl-en 3.0.1000 → 3.0.1002
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,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1002";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -51,6 +51,7 @@ const DescribeStreamLiveChannelAlertsRequest = models.DescribeStreamLiveChannelA
|
|
|
51
51
|
const AudioSelectorInfo = models.AudioSelectorInfo;
|
|
52
52
|
const LogInfo = models.LogInfo;
|
|
53
53
|
const DescribeStreamLiveWatermarkRequest = models.DescribeStreamLiveWatermarkRequest;
|
|
54
|
+
const CaptionSelector = models.CaptionSelector;
|
|
54
55
|
const DrmSettingsInfo = models.DrmSettingsInfo;
|
|
55
56
|
const PipelineOutputStatistics = models.PipelineOutputStatistics;
|
|
56
57
|
const DeleteStreamLivePlanResponse = models.DeleteStreamLivePlanResponse;
|
|
@@ -157,14 +158,14 @@ const Scte35SettingsInfo = models.Scte35SettingsInfo;
|
|
|
157
158
|
const ModifyStreamLiveWatermarkResponse = models.ModifyStreamLiveWatermarkResponse;
|
|
158
159
|
const DescribeMediaLiveHighlightResultRequest = models.DescribeMediaLiveHighlightResultRequest;
|
|
159
160
|
const DescribeTextSettings = models.DescribeTextSettings;
|
|
160
|
-
const
|
|
161
|
+
const DescribeStreamLiveInputSecurityGroupsRequest = models.DescribeStreamLiveInputSecurityGroupsRequest;
|
|
161
162
|
const DeleteStreamLiveWatermarkResponse = models.DeleteStreamLiveWatermarkResponse;
|
|
162
163
|
const CreateStreamLiveInputResponse = models.CreateStreamLiveInputResponse;
|
|
163
164
|
const DescribeStreamLiveInputSecurityGroupResponse = models.DescribeStreamLiveInputSecurityGroupResponse;
|
|
164
165
|
const StreamLiveChannelInfo = models.StreamLiveChannelInfo;
|
|
165
166
|
const SegmentationDescriptorInfo = models.SegmentationDescriptorInfo;
|
|
166
167
|
const InputSettingInfo = models.InputSettingInfo;
|
|
167
|
-
const
|
|
168
|
+
const DescribeImageSettings = models.DescribeImageSettings;
|
|
168
169
|
const DeleteStreamLiveChannelRequest = models.DeleteStreamLiveChannelRequest;
|
|
169
170
|
|
|
170
171
|
|
|
@@ -1910,6 +1910,41 @@ class DescribeStreamLiveWatermarkRequest extends AbstractModel {
|
|
|
1910
1910
|
}
|
|
1911
1911
|
}
|
|
1912
1912
|
|
|
1913
|
+
/**
|
|
1914
|
+
* Caption selector.
|
|
1915
|
+
* @class
|
|
1916
|
+
*/
|
|
1917
|
+
class CaptionSelector extends AbstractModel {
|
|
1918
|
+
constructor(){
|
|
1919
|
+
super();
|
|
1920
|
+
|
|
1921
|
+
/**
|
|
1922
|
+
* Caption selector name, which can contain 1-32 letters, digits, and underscores.
|
|
1923
|
+
* @type {string || null}
|
|
1924
|
+
*/
|
|
1925
|
+
this.Name = null;
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* Caption source type, only support `SCTE-128`.
|
|
1929
|
+
* @type {string || null}
|
|
1930
|
+
*/
|
|
1931
|
+
this.CaptionSourceType = null;
|
|
1932
|
+
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* @private
|
|
1937
|
+
*/
|
|
1938
|
+
deserialize(params) {
|
|
1939
|
+
if (!params) {
|
|
1940
|
+
return;
|
|
1941
|
+
}
|
|
1942
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1943
|
+
this.CaptionSourceType = 'CaptionSourceType' in params ? params.CaptionSourceType : null;
|
|
1944
|
+
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1913
1948
|
/**
|
|
1914
1949
|
* DRM configuration information, which takes effect only for HLS and DASH.
|
|
1915
1950
|
* @class
|
|
@@ -2433,6 +2468,12 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
2433
2468
|
*/
|
|
2434
2469
|
this.FailOverSettings = null;
|
|
2435
2470
|
|
|
2471
|
+
/**
|
|
2472
|
+
* Caption selector for the input. There can be 0 to 1 audio selectors.
|
|
2473
|
+
* @type {Array.<CaptionSelector> || null}
|
|
2474
|
+
*/
|
|
2475
|
+
this.CaptionSelectors = null;
|
|
2476
|
+
|
|
2436
2477
|
}
|
|
2437
2478
|
|
|
2438
2479
|
/**
|
|
@@ -2460,6 +2501,15 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
2460
2501
|
this.FailOverSettings = obj;
|
|
2461
2502
|
}
|
|
2462
2503
|
|
|
2504
|
+
if (params.CaptionSelectors) {
|
|
2505
|
+
this.CaptionSelectors = new Array();
|
|
2506
|
+
for (let z in params.CaptionSelectors) {
|
|
2507
|
+
let obj = new CaptionSelector();
|
|
2508
|
+
obj.deserialize(params.CaptionSelectors[z]);
|
|
2509
|
+
this.CaptionSelectors.push(obj);
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
|
|
2463
2513
|
}
|
|
2464
2514
|
}
|
|
2465
2515
|
|
|
@@ -4519,51 +4569,57 @@ class SubtitleConf extends AbstractModel {
|
|
|
4519
4569
|
this.Name = null;
|
|
4520
4570
|
|
|
4521
4571
|
/**
|
|
4522
|
-
*
|
|
4572
|
+
* Name of caption selector. Required when CaptionSource selects `INPUT`.
|
|
4573
|
+
* @type {string || null}
|
|
4574
|
+
*/
|
|
4575
|
+
this.CaptionSelectorName = null;
|
|
4576
|
+
|
|
4577
|
+
/**
|
|
4578
|
+
* Optional values: INPUT (source subtitle information), ANALYSIS (intelligent speech recognition to subtitles).
|
|
4523
4579
|
* @type {string || null}
|
|
4524
4580
|
*/
|
|
4525
4581
|
this.CaptionSource = null;
|
|
4526
4582
|
|
|
4527
4583
|
/**
|
|
4528
|
-
* Optional values: 1 Source, 2 Source+Target, 3 Target (original language only, original language + translation language, translation language).
|
|
4584
|
+
* Optional values: 1 Source, 2 Source+Target, 3 Target (original language only, original language + translation language, translation language). Required when CaptionSource selects `ANALYSIS `.
|
|
4529
4585
|
* @type {number || null}
|
|
4530
4586
|
*/
|
|
4531
4587
|
this.ContentType = null;
|
|
4532
4588
|
|
|
4533
4589
|
/**
|
|
4534
|
-
* Output mode: 1 Burn in
|
|
4590
|
+
* Output mode: 1 Burn in, 2 Embedded. Support `2` when CaptionSource selects `INPUT`. Support `1` when CaptionSource selects `ANALYSIS `.
|
|
4535
4591
|
* @type {number || null}
|
|
4536
4592
|
*/
|
|
4537
4593
|
this.TargetType = null;
|
|
4538
4594
|
|
|
4539
4595
|
/**
|
|
4540
4596
|
* Original phonetic language.
|
|
4541
|
-
Optional values: Chinese, English, Japanese, Korean.
|
|
4597
|
+
Optional values: Chinese, English, Japanese, Korean. Required when CaptionSource selects `ANALYSIS `.
|
|
4542
4598
|
* @type {string || null}
|
|
4543
4599
|
*/
|
|
4544
4600
|
this.SourceLanguage = null;
|
|
4545
4601
|
|
|
4546
4602
|
/**
|
|
4547
4603
|
* Target language.
|
|
4548
|
-
Optional values: Chinese, English, Japanese, Korean.
|
|
4604
|
+
Optional values: Chinese, English, Japanese, Korean. Required when CaptionSource selects `ANALYSIS `.
|
|
4549
4605
|
* @type {string || null}
|
|
4550
4606
|
*/
|
|
4551
4607
|
this.TargetLanguage = null;
|
|
4552
4608
|
|
|
4553
4609
|
/**
|
|
4554
|
-
* Font style configuration.
|
|
4610
|
+
* Font style configuration. Required when CaptionSource selects `ANALYSIS `.
|
|
4555
4611
|
* @type {SubtitleFontConf || null}
|
|
4556
4612
|
*/
|
|
4557
4613
|
this.FontStyle = null;
|
|
4558
4614
|
|
|
4559
4615
|
/**
|
|
4560
|
-
* There are two modes: STEADY and DYNAMIC, corresponding to steady state and unstable state respectively; the default is STEADY.
|
|
4616
|
+
* There are two modes: STEADY and DYNAMIC, corresponding to steady state and unstable state respectively; the default is STEADY. Required when CaptionSource selects `ANALYSIS `.
|
|
4561
4617
|
* @type {string || null}
|
|
4562
4618
|
*/
|
|
4563
4619
|
this.StateEffectMode = null;
|
|
4564
4620
|
|
|
4565
4621
|
/**
|
|
4566
|
-
* Steady-state delay time, unit seconds; optional values: 10, 20, default 10.
|
|
4622
|
+
* Steady-state delay time, unit seconds; optional values: 10, 20, default 10. Required when CaptionSource selects `ANALYSIS `.
|
|
4567
4623
|
* @type {number || null}
|
|
4568
4624
|
*/
|
|
4569
4625
|
this.SteadyStateDelayedTime = null;
|
|
@@ -4578,6 +4634,7 @@ Optional values: Chinese, English, Japanese, Korean.
|
|
|
4578
4634
|
return;
|
|
4579
4635
|
}
|
|
4580
4636
|
this.Name = 'Name' in params ? params.Name : null;
|
|
4637
|
+
this.CaptionSelectorName = 'CaptionSelectorName' in params ? params.CaptionSelectorName : null;
|
|
4581
4638
|
this.CaptionSource = 'CaptionSource' in params ? params.CaptionSource : null;
|
|
4582
4639
|
this.ContentType = 'ContentType' in params ? params.ContentType : null;
|
|
4583
4640
|
this.TargetType = 'TargetType' in params ? params.TargetType : null;
|
|
@@ -7506,43 +7563,13 @@ class DescribeTextSettings extends AbstractModel {
|
|
|
7506
7563
|
}
|
|
7507
7564
|
|
|
7508
7565
|
/**
|
|
7509
|
-
*
|
|
7566
|
+
* DescribeStreamLiveInputSecurityGroups request structure.
|
|
7510
7567
|
* @class
|
|
7511
7568
|
*/
|
|
7512
|
-
class
|
|
7569
|
+
class DescribeStreamLiveInputSecurityGroupsRequest extends AbstractModel {
|
|
7513
7570
|
constructor(){
|
|
7514
7571
|
super();
|
|
7515
7572
|
|
|
7516
|
-
/**
|
|
7517
|
-
* Origin
|
|
7518
|
-
* @type {string || null}
|
|
7519
|
-
*/
|
|
7520
|
-
this.Location = null;
|
|
7521
|
-
|
|
7522
|
-
/**
|
|
7523
|
-
* The watermark image’s horizontal distance from the origin as a percentage of the video width
|
|
7524
|
-
* @type {number || null}
|
|
7525
|
-
*/
|
|
7526
|
-
this.XPos = null;
|
|
7527
|
-
|
|
7528
|
-
/**
|
|
7529
|
-
* The watermark image’s vertical distance from the origin as a percentage of the video height
|
|
7530
|
-
* @type {number || null}
|
|
7531
|
-
*/
|
|
7532
|
-
this.YPos = null;
|
|
7533
|
-
|
|
7534
|
-
/**
|
|
7535
|
-
* The watermark image’s width as a percentage of the video width
|
|
7536
|
-
* @type {number || null}
|
|
7537
|
-
*/
|
|
7538
|
-
this.Width = null;
|
|
7539
|
-
|
|
7540
|
-
/**
|
|
7541
|
-
* The watermark image’s height as a percentage of the video height
|
|
7542
|
-
* @type {number || null}
|
|
7543
|
-
*/
|
|
7544
|
-
this.Height = null;
|
|
7545
|
-
|
|
7546
7573
|
}
|
|
7547
7574
|
|
|
7548
7575
|
/**
|
|
@@ -7552,11 +7579,6 @@ class DescribeImageSettings extends AbstractModel {
|
|
|
7552
7579
|
if (!params) {
|
|
7553
7580
|
return;
|
|
7554
7581
|
}
|
|
7555
|
-
this.Location = 'Location' in params ? params.Location : null;
|
|
7556
|
-
this.XPos = 'XPos' in params ? params.XPos : null;
|
|
7557
|
-
this.YPos = 'YPos' in params ? params.YPos : null;
|
|
7558
|
-
this.Width = 'Width' in params ? params.Width : null;
|
|
7559
|
-
this.Height = 'Height' in params ? params.Height : null;
|
|
7560
7582
|
|
|
7561
7583
|
}
|
|
7562
7584
|
}
|
|
@@ -8092,13 +8114,43 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
8092
8114
|
}
|
|
8093
8115
|
|
|
8094
8116
|
/**
|
|
8095
|
-
*
|
|
8117
|
+
* Watermark image settings
|
|
8096
8118
|
* @class
|
|
8097
8119
|
*/
|
|
8098
|
-
class
|
|
8120
|
+
class DescribeImageSettings extends AbstractModel {
|
|
8099
8121
|
constructor(){
|
|
8100
8122
|
super();
|
|
8101
8123
|
|
|
8124
|
+
/**
|
|
8125
|
+
* Origin
|
|
8126
|
+
* @type {string || null}
|
|
8127
|
+
*/
|
|
8128
|
+
this.Location = null;
|
|
8129
|
+
|
|
8130
|
+
/**
|
|
8131
|
+
* The watermark image’s horizontal distance from the origin as a percentage of the video width
|
|
8132
|
+
* @type {number || null}
|
|
8133
|
+
*/
|
|
8134
|
+
this.XPos = null;
|
|
8135
|
+
|
|
8136
|
+
/**
|
|
8137
|
+
* The watermark image’s vertical distance from the origin as a percentage of the video height
|
|
8138
|
+
* @type {number || null}
|
|
8139
|
+
*/
|
|
8140
|
+
this.YPos = null;
|
|
8141
|
+
|
|
8142
|
+
/**
|
|
8143
|
+
* The watermark image’s width as a percentage of the video width
|
|
8144
|
+
* @type {number || null}
|
|
8145
|
+
*/
|
|
8146
|
+
this.Width = null;
|
|
8147
|
+
|
|
8148
|
+
/**
|
|
8149
|
+
* The watermark image’s height as a percentage of the video height
|
|
8150
|
+
* @type {number || null}
|
|
8151
|
+
*/
|
|
8152
|
+
this.Height = null;
|
|
8153
|
+
|
|
8102
8154
|
}
|
|
8103
8155
|
|
|
8104
8156
|
/**
|
|
@@ -8108,6 +8160,11 @@ class DescribeStreamLiveInputSecurityGroupsRequest extends AbstractModel {
|
|
|
8108
8160
|
if (!params) {
|
|
8109
8161
|
return;
|
|
8110
8162
|
}
|
|
8163
|
+
this.Location = 'Location' in params ? params.Location : null;
|
|
8164
|
+
this.XPos = 'XPos' in params ? params.XPos : null;
|
|
8165
|
+
this.YPos = 'YPos' in params ? params.YPos : null;
|
|
8166
|
+
this.Width = 'Width' in params ? params.Width : null;
|
|
8167
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
8111
8168
|
|
|
8112
8169
|
}
|
|
8113
8170
|
}
|
|
@@ -8176,6 +8233,7 @@ module.exports = {
|
|
|
8176
8233
|
AudioSelectorInfo: AudioSelectorInfo,
|
|
8177
8234
|
LogInfo: LogInfo,
|
|
8178
8235
|
DescribeStreamLiveWatermarkRequest: DescribeStreamLiveWatermarkRequest,
|
|
8236
|
+
CaptionSelector: CaptionSelector,
|
|
8179
8237
|
DrmSettingsInfo: DrmSettingsInfo,
|
|
8180
8238
|
PipelineOutputStatistics: PipelineOutputStatistics,
|
|
8181
8239
|
DeleteStreamLivePlanResponse: DeleteStreamLivePlanResponse,
|
|
@@ -8282,14 +8340,14 @@ module.exports = {
|
|
|
8282
8340
|
ModifyStreamLiveWatermarkResponse: ModifyStreamLiveWatermarkResponse,
|
|
8283
8341
|
DescribeMediaLiveHighlightResultRequest: DescribeMediaLiveHighlightResultRequest,
|
|
8284
8342
|
DescribeTextSettings: DescribeTextSettings,
|
|
8285
|
-
|
|
8343
|
+
DescribeStreamLiveInputSecurityGroupsRequest: DescribeStreamLiveInputSecurityGroupsRequest,
|
|
8286
8344
|
DeleteStreamLiveWatermarkResponse: DeleteStreamLiveWatermarkResponse,
|
|
8287
8345
|
CreateStreamLiveInputResponse: CreateStreamLiveInputResponse,
|
|
8288
8346
|
DescribeStreamLiveInputSecurityGroupResponse: DescribeStreamLiveInputSecurityGroupResponse,
|
|
8289
8347
|
StreamLiveChannelInfo: StreamLiveChannelInfo,
|
|
8290
8348
|
SegmentationDescriptorInfo: SegmentationDescriptorInfo,
|
|
8291
8349
|
InputSettingInfo: InputSettingInfo,
|
|
8292
|
-
|
|
8350
|
+
DescribeImageSettings: DescribeImageSettings,
|
|
8293
8351
|
DeleteStreamLiveChannelRequest: DeleteStreamLiveChannelRequest,
|
|
8294
8352
|
|
|
8295
8353
|
}
|