tencentcloud-sdk-nodejs-intl-en 3.0.1300 → 3.0.1302
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/common/sdk_version.js +1 -1
- package/tencentcloud/hunyuan/v20230901/hunyuan_client.js +57 -2
- package/tencentcloud/hunyuan/v20230901/models.js +427 -40
- package/tencentcloud/mdl/v20200326/mdl_client.js +6 -3
- package/tencentcloud/mdl/v20200326/models.js +292 -66
- package/tencentcloud/mdp/v20200527/models.js +124 -11
|
@@ -74,6 +74,7 @@ const QueryInputStreamStateResponse = models.QueryInputStreamStateResponse;
|
|
|
74
74
|
const DescribeStreamLiveWatermarksRequest = models.DescribeStreamLiveWatermarksRequest;
|
|
75
75
|
const DescribeWatermarkDetectionsRequest = models.DescribeWatermarkDetectionsRequest;
|
|
76
76
|
const TimedMetadataInfo = models.TimedMetadataInfo;
|
|
77
|
+
const AbWatermarkSettingsResp = models.AbWatermarkSettingsResp;
|
|
77
78
|
const DescribeStreamLiveRegionsRequest = models.DescribeStreamLiveRegionsRequest;
|
|
78
79
|
const DescribeTranscodeDetailInfo = models.DescribeTranscodeDetailInfo;
|
|
79
80
|
const AbWatermarkInputInfo = models.AbWatermarkInputInfo;
|
|
@@ -117,14 +118,14 @@ const DescribeStreamLiveTranscodeDetailResponse = models.DescribeStreamLiveTrans
|
|
|
117
118
|
const CreateStreamLiveWatermarkResponse = models.CreateStreamLiveWatermarkResponse;
|
|
118
119
|
const DescribeStreamLiveInputsResponse = models.DescribeStreamLiveInputsResponse;
|
|
119
120
|
const ModifyStreamLiveInputResponse = models.ModifyStreamLiveInputResponse;
|
|
120
|
-
const
|
|
121
|
+
const DescribeStreamLiveChannelAlertsResponse = models.DescribeStreamLiveChannelAlertsResponse;
|
|
121
122
|
const ThumbnailSettings = models.ThumbnailSettings;
|
|
122
123
|
const PlanResp = models.PlanResp;
|
|
123
124
|
const AudioNormalizationSettings = models.AudioNormalizationSettings;
|
|
124
125
|
const DescribeStreamLivePlansResponse = models.DescribeStreamLivePlansResponse;
|
|
125
126
|
const DescribeStreamLiveChannelLogsRequest = models.DescribeStreamLiveChannelLogsRequest;
|
|
126
127
|
const CreateStreamLiveInputSecurityGroupRequest = models.CreateStreamLiveInputSecurityGroupRequest;
|
|
127
|
-
const
|
|
128
|
+
const AdBreakSetting = models.AdBreakSetting;
|
|
128
129
|
const DescribeStreamLiveChannelOutputStatisticsResponse = models.DescribeStreamLiveChannelOutputStatisticsResponse;
|
|
129
130
|
const GetAbWatermarkPlayUrlRequest = models.GetAbWatermarkPlayUrlRequest;
|
|
130
131
|
const DescribeWatermarkInfo = models.DescribeWatermarkInfo;
|
|
@@ -134,7 +135,7 @@ const EventSettingsReq = models.EventSettingsReq;
|
|
|
134
135
|
const CreateStreamLiveInputResponse = models.CreateStreamLiveInputResponse;
|
|
135
136
|
const EventSettingsDestinationResp = models.EventSettingsDestinationResp;
|
|
136
137
|
const OutputInfo = models.OutputInfo;
|
|
137
|
-
const
|
|
138
|
+
const DescribeWatermarkDetectionsResponse = models.DescribeWatermarkDetectionsResponse;
|
|
138
139
|
const StaticImageDeactivateSetting = models.StaticImageDeactivateSetting;
|
|
139
140
|
const VideoCodecDetail = models.VideoCodecDetail;
|
|
140
141
|
const CreateStreamLiveChannelResponse = models.CreateStreamLiveChannelResponse;
|
|
@@ -151,6 +152,7 @@ const PlanSettings = models.PlanSettings;
|
|
|
151
152
|
const DescribeStreamLiveInputSecurityGroupsResponse = models.DescribeStreamLiveInputSecurityGroupsResponse;
|
|
152
153
|
const StartStreamLiveChannelRequest = models.StartStreamLiveChannelRequest;
|
|
153
154
|
const AbWatermarkSettingsReq = models.AbWatermarkSettingsReq;
|
|
155
|
+
const GeneralSetting = models.GeneralSetting;
|
|
154
156
|
const EventNotifySetting = models.EventNotifySetting;
|
|
155
157
|
const DeleteStreamLiveInputResponse = models.DeleteStreamLiveInputResponse;
|
|
156
158
|
const MotionGraphicsActivateSetting = models.MotionGraphicsActivateSetting;
|
|
@@ -158,6 +160,7 @@ const TimingSettingsResp = models.TimingSettingsResp;
|
|
|
158
160
|
const DescribeStreamLiveWatermarkResponse = models.DescribeStreamLiveWatermarkResponse;
|
|
159
161
|
const StreamScte35Info = models.StreamScte35Info;
|
|
160
162
|
const StreamAudioInfo = models.StreamAudioInfo;
|
|
163
|
+
const LSqueezeSetting = models.LSqueezeSetting;
|
|
161
164
|
const DrmKey = models.DrmKey;
|
|
162
165
|
const OutputsStatistics = models.OutputsStatistics;
|
|
163
166
|
const InputSecurityGroupInfo = models.InputSecurityGroupInfo;
|
|
@@ -2460,6 +2460,12 @@ In seconds, indicating data time.
|
|
|
2460
2460
|
*/
|
|
2461
2461
|
this.NetworkOut = null;
|
|
2462
2462
|
|
|
2463
|
+
/**
|
|
2464
|
+
* Is the Network parameter valid? 0 indicates invalid, 1 indicates valid
|
|
2465
|
+
* @type {number || null}
|
|
2466
|
+
*/
|
|
2467
|
+
this.NetworkValid = null;
|
|
2468
|
+
|
|
2463
2469
|
}
|
|
2464
2470
|
|
|
2465
2471
|
/**
|
|
@@ -2471,6 +2477,7 @@ In seconds, indicating data time.
|
|
|
2471
2477
|
}
|
|
2472
2478
|
this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
|
|
2473
2479
|
this.NetworkOut = 'NetworkOut' in params ? params.NetworkOut : null;
|
|
2480
|
+
this.NetworkValid = 'NetworkValid' in params ? params.NetworkValid : null;
|
|
2474
2481
|
|
|
2475
2482
|
}
|
|
2476
2483
|
}
|
|
@@ -2524,13 +2531,13 @@ class CreateTextSettings extends AbstractModel {
|
|
|
2524
2531
|
this.Location = null;
|
|
2525
2532
|
|
|
2526
2533
|
/**
|
|
2527
|
-
* The watermark
|
|
2534
|
+
* The watermark's horizontal distance from the origin as a percentage of the video width. Value range: 0-100. Default: 10.
|
|
2528
2535
|
* @type {number || null}
|
|
2529
2536
|
*/
|
|
2530
2537
|
this.XPos = null;
|
|
2531
2538
|
|
|
2532
2539
|
/**
|
|
2533
|
-
* The watermark
|
|
2540
|
+
* The watermark's vertical distance from the origin as a percentage of the video height. Value range: 0-100. Default: 10.
|
|
2534
2541
|
* @type {number || null}
|
|
2535
2542
|
*/
|
|
2536
2543
|
this.YPos = null;
|
|
@@ -3086,6 +3093,41 @@ class TimedMetadataInfo extends AbstractModel {
|
|
|
3086
3093
|
}
|
|
3087
3094
|
}
|
|
3088
3095
|
|
|
3096
|
+
/**
|
|
3097
|
+
* AbWatermarkSettingsResp
|
|
3098
|
+
* @class
|
|
3099
|
+
*/
|
|
3100
|
+
class AbWatermarkSettingsResp extends AbstractModel {
|
|
3101
|
+
constructor(){
|
|
3102
|
+
super();
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* AB watermark type.
|
|
3106
|
+
* @type {string || null}
|
|
3107
|
+
*/
|
|
3108
|
+
this.Type = null;
|
|
3109
|
+
|
|
3110
|
+
/**
|
|
3111
|
+
* Watermark payload.
|
|
3112
|
+
* @type {string || null}
|
|
3113
|
+
*/
|
|
3114
|
+
this.Content = null;
|
|
3115
|
+
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
/**
|
|
3119
|
+
* @private
|
|
3120
|
+
*/
|
|
3121
|
+
deserialize(params) {
|
|
3122
|
+
if (!params) {
|
|
3123
|
+
return;
|
|
3124
|
+
}
|
|
3125
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
3126
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
3127
|
+
|
|
3128
|
+
}
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3089
3131
|
/**
|
|
3090
3132
|
* DescribeStreamLiveRegions request structure.
|
|
3091
3133
|
* @class
|
|
@@ -3726,7 +3768,7 @@ class SegmentationDescriptorRespInfo extends AbstractModel {
|
|
|
3726
3768
|
this.TypeID = null;
|
|
3727
3769
|
|
|
3728
3770
|
/**
|
|
3729
|
-
* Corresponds to SCTE-35 segment_num
|
|
3771
|
+
* Corresponds to SCTE-35 segment_num. This field provides support for numbering segments within a given collection of segments.
|
|
3730
3772
|
* @type {number || null}
|
|
3731
3773
|
*/
|
|
3732
3774
|
this.Num = null;
|
|
@@ -4435,6 +4477,12 @@ class EventSettingsResp extends AbstractModel {
|
|
|
4435
4477
|
*/
|
|
4436
4478
|
this.MotionGraphicsActivateSetting = null;
|
|
4437
4479
|
|
|
4480
|
+
/**
|
|
4481
|
+
* Ad Settings
|
|
4482
|
+
* @type {AdBreakSetting || null}
|
|
4483
|
+
*/
|
|
4484
|
+
this.AdBreakSetting = null;
|
|
4485
|
+
|
|
4438
4486
|
}
|
|
4439
4487
|
|
|
4440
4488
|
/**
|
|
@@ -4494,6 +4542,12 @@ class EventSettingsResp extends AbstractModel {
|
|
|
4494
4542
|
this.MotionGraphicsActivateSetting = obj;
|
|
4495
4543
|
}
|
|
4496
4544
|
|
|
4545
|
+
if (params.AdBreakSetting) {
|
|
4546
|
+
let obj = new AdBreakSetting();
|
|
4547
|
+
obj.deserialize(params.AdBreakSetting)
|
|
4548
|
+
this.AdBreakSetting = obj;
|
|
4549
|
+
}
|
|
4550
|
+
|
|
4497
4551
|
}
|
|
4498
4552
|
}
|
|
4499
4553
|
|
|
@@ -5771,24 +5825,18 @@ class ModifyStreamLiveInputResponse extends AbstractModel {
|
|
|
5771
5825
|
}
|
|
5772
5826
|
|
|
5773
5827
|
/**
|
|
5774
|
-
*
|
|
5828
|
+
* DescribeStreamLiveChannelAlerts response structure.
|
|
5775
5829
|
* @class
|
|
5776
5830
|
*/
|
|
5777
|
-
class
|
|
5831
|
+
class DescribeStreamLiveChannelAlertsResponse extends AbstractModel {
|
|
5778
5832
|
constructor(){
|
|
5779
5833
|
super();
|
|
5780
5834
|
|
|
5781
5835
|
/**
|
|
5782
|
-
*
|
|
5783
|
-
* @type {
|
|
5784
|
-
*/
|
|
5785
|
-
this.TaskInfos = null;
|
|
5786
|
-
|
|
5787
|
-
/**
|
|
5788
|
-
* number of tasks
|
|
5789
|
-
* @type {number || null}
|
|
5836
|
+
* Alarm information of the channel's two pipelines
|
|
5837
|
+
* @type {ChannelAlertInfos || null}
|
|
5790
5838
|
*/
|
|
5791
|
-
this.
|
|
5839
|
+
this.Infos = null;
|
|
5792
5840
|
|
|
5793
5841
|
/**
|
|
5794
5842
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
@@ -5806,15 +5854,11 @@ class DescribeWatermarkDetectionsResponse extends AbstractModel {
|
|
|
5806
5854
|
return;
|
|
5807
5855
|
}
|
|
5808
5856
|
|
|
5809
|
-
if (params.
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
obj.deserialize(params.TaskInfos[z]);
|
|
5814
|
-
this.TaskInfos.push(obj);
|
|
5815
|
-
}
|
|
5857
|
+
if (params.Infos) {
|
|
5858
|
+
let obj = new ChannelAlertInfos();
|
|
5859
|
+
obj.deserialize(params.Infos)
|
|
5860
|
+
this.Infos = obj;
|
|
5816
5861
|
}
|
|
5817
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
5818
5862
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5819
5863
|
|
|
5820
5864
|
}
|
|
@@ -6059,30 +6103,36 @@ class CreateStreamLiveInputSecurityGroupRequest extends AbstractModel {
|
|
|
6059
6103
|
}
|
|
6060
6104
|
|
|
6061
6105
|
/**
|
|
6062
|
-
*
|
|
6106
|
+
* AdBreakSetting
|
|
6063
6107
|
* @class
|
|
6064
6108
|
*/
|
|
6065
|
-
class
|
|
6109
|
+
class AdBreakSetting extends AbstractModel {
|
|
6066
6110
|
constructor(){
|
|
6067
6111
|
super();
|
|
6068
6112
|
|
|
6069
6113
|
/**
|
|
6070
|
-
*
|
|
6071
|
-
* @type {
|
|
6114
|
+
* Advertising type, currently supports L-SQUEEZE
|
|
6115
|
+
* @type {string || null}
|
|
6072
6116
|
*/
|
|
6073
|
-
this.
|
|
6117
|
+
this.Format = null;
|
|
6074
6118
|
|
|
6075
6119
|
/**
|
|
6076
|
-
*
|
|
6077
|
-
* @type {
|
|
6120
|
+
* Duration, in milliseconds, requires 1000<duration<=600000. The current accuracy is seconds, which is a multiple of 1000
|
|
6121
|
+
* @type {number || null}
|
|
6078
6122
|
*/
|
|
6079
|
-
this.
|
|
6123
|
+
this.Duration = null;
|
|
6080
6124
|
|
|
6081
6125
|
/**
|
|
6082
|
-
*
|
|
6083
|
-
* @type {
|
|
6126
|
+
* L-type compression recovery configuration
|
|
6127
|
+
* @type {LSqueezeSetting || null}
|
|
6084
6128
|
*/
|
|
6085
|
-
this.
|
|
6129
|
+
this.LSqueezeSetting = null;
|
|
6130
|
+
|
|
6131
|
+
/**
|
|
6132
|
+
* AdSource type, supports UPLOAD_CREATIVES
|
|
6133
|
+
* @type {string || null}
|
|
6134
|
+
*/
|
|
6135
|
+
this.AdSource = null;
|
|
6086
6136
|
|
|
6087
6137
|
}
|
|
6088
6138
|
|
|
@@ -6093,24 +6143,15 @@ class GeneralSetting extends AbstractModel {
|
|
|
6093
6143
|
if (!params) {
|
|
6094
6144
|
return;
|
|
6095
6145
|
}
|
|
6146
|
+
this.Format = 'Format' in params ? params.Format : null;
|
|
6147
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
6096
6148
|
|
|
6097
|
-
if (params.
|
|
6098
|
-
let obj = new
|
|
6099
|
-
obj.deserialize(params.
|
|
6100
|
-
this.
|
|
6101
|
-
}
|
|
6102
|
-
|
|
6103
|
-
if (params.MotionGraphicsSettings) {
|
|
6104
|
-
let obj = new MotionGraphicsSetting();
|
|
6105
|
-
obj.deserialize(params.MotionGraphicsSettings)
|
|
6106
|
-
this.MotionGraphicsSettings = obj;
|
|
6107
|
-
}
|
|
6108
|
-
|
|
6109
|
-
if (params.ThumbnailSettings) {
|
|
6110
|
-
let obj = new ThumbnailSettings();
|
|
6111
|
-
obj.deserialize(params.ThumbnailSettings)
|
|
6112
|
-
this.ThumbnailSettings = obj;
|
|
6149
|
+
if (params.LSqueezeSetting) {
|
|
6150
|
+
let obj = new LSqueezeSetting();
|
|
6151
|
+
obj.deserialize(params.LSqueezeSetting)
|
|
6152
|
+
this.LSqueezeSetting = obj;
|
|
6113
6153
|
}
|
|
6154
|
+
this.AdSource = 'AdSource' in params ? params.AdSource : null;
|
|
6114
6155
|
|
|
6115
6156
|
}
|
|
6116
6157
|
}
|
|
@@ -6254,6 +6295,12 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
6254
6295
|
*/
|
|
6255
6296
|
this.AttachedChannels = null;
|
|
6256
6297
|
|
|
6298
|
+
/**
|
|
6299
|
+
* AB watermark configuration.
|
|
6300
|
+
* @type {AbWatermarkSettingsResp || null}
|
|
6301
|
+
*/
|
|
6302
|
+
this.AbWatermarkSettings = null;
|
|
6303
|
+
|
|
6257
6304
|
}
|
|
6258
6305
|
|
|
6259
6306
|
/**
|
|
@@ -6281,6 +6328,12 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
6281
6328
|
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
6282
6329
|
this.AttachedChannels = 'AttachedChannels' in params ? params.AttachedChannels : null;
|
|
6283
6330
|
|
|
6331
|
+
if (params.AbWatermarkSettings) {
|
|
6332
|
+
let obj = new AbWatermarkSettingsResp();
|
|
6333
|
+
obj.deserialize(params.AbWatermarkSettings)
|
|
6334
|
+
this.AbWatermarkSettings = obj;
|
|
6335
|
+
}
|
|
6336
|
+
|
|
6284
6337
|
}
|
|
6285
6338
|
}
|
|
6286
6339
|
|
|
@@ -6440,6 +6493,12 @@ class EventSettingsReq extends AbstractModel {
|
|
|
6440
6493
|
*/
|
|
6441
6494
|
this.MotionGraphicsActivateSetting = null;
|
|
6442
6495
|
|
|
6496
|
+
/**
|
|
6497
|
+
* Ad Settings
|
|
6498
|
+
* @type {AdBreakSetting || null}
|
|
6499
|
+
*/
|
|
6500
|
+
this.AdBreakSetting = null;
|
|
6501
|
+
|
|
6443
6502
|
}
|
|
6444
6503
|
|
|
6445
6504
|
/**
|
|
@@ -6499,6 +6558,12 @@ class EventSettingsReq extends AbstractModel {
|
|
|
6499
6558
|
this.MotionGraphicsActivateSetting = obj;
|
|
6500
6559
|
}
|
|
6501
6560
|
|
|
6561
|
+
if (params.AdBreakSetting) {
|
|
6562
|
+
let obj = new AdBreakSetting();
|
|
6563
|
+
obj.deserialize(params.AdBreakSetting)
|
|
6564
|
+
this.AdBreakSetting = obj;
|
|
6565
|
+
}
|
|
6566
|
+
|
|
6502
6567
|
}
|
|
6503
6568
|
}
|
|
6504
6569
|
|
|
@@ -6625,6 +6690,12 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
6625
6690
|
*/
|
|
6626
6691
|
this.FrameCaptureTemplateNames = null;
|
|
6627
6692
|
|
|
6693
|
+
/**
|
|
6694
|
+
* Name modification for sub m3u8.
|
|
6695
|
+
* @type {string || null}
|
|
6696
|
+
*/
|
|
6697
|
+
this.NameModifier = null;
|
|
6698
|
+
|
|
6628
6699
|
}
|
|
6629
6700
|
|
|
6630
6701
|
/**
|
|
@@ -6652,23 +6723,30 @@ Note: this field may return `null`, indicating that no valid value was found.
|
|
|
6652
6723
|
this.TimedMetadataSettings = obj;
|
|
6653
6724
|
}
|
|
6654
6725
|
this.FrameCaptureTemplateNames = 'FrameCaptureTemplateNames' in params ? params.FrameCaptureTemplateNames : null;
|
|
6726
|
+
this.NameModifier = 'NameModifier' in params ? params.NameModifier : null;
|
|
6655
6727
|
|
|
6656
6728
|
}
|
|
6657
6729
|
}
|
|
6658
6730
|
|
|
6659
6731
|
/**
|
|
6660
|
-
*
|
|
6732
|
+
* DescribeWatermarkDetections response structure.
|
|
6661
6733
|
* @class
|
|
6662
6734
|
*/
|
|
6663
|
-
class
|
|
6735
|
+
class DescribeWatermarkDetectionsResponse extends AbstractModel {
|
|
6664
6736
|
constructor(){
|
|
6665
6737
|
super();
|
|
6666
6738
|
|
|
6667
6739
|
/**
|
|
6668
|
-
*
|
|
6669
|
-
* @type {
|
|
6740
|
+
* Watermark detection information
|
|
6741
|
+
* @type {Array.<AbWatermarkDetectionInfo> || null}
|
|
6670
6742
|
*/
|
|
6671
|
-
this.
|
|
6743
|
+
this.TaskInfos = null;
|
|
6744
|
+
|
|
6745
|
+
/**
|
|
6746
|
+
* number of tasks
|
|
6747
|
+
* @type {number || null}
|
|
6748
|
+
*/
|
|
6749
|
+
this.TotalCount = null;
|
|
6672
6750
|
|
|
6673
6751
|
/**
|
|
6674
6752
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
@@ -6686,11 +6764,15 @@ class DescribeStreamLiveChannelAlertsResponse extends AbstractModel {
|
|
|
6686
6764
|
return;
|
|
6687
6765
|
}
|
|
6688
6766
|
|
|
6689
|
-
if (params.
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6767
|
+
if (params.TaskInfos) {
|
|
6768
|
+
this.TaskInfos = new Array();
|
|
6769
|
+
for (let z in params.TaskInfos) {
|
|
6770
|
+
let obj = new AbWatermarkDetectionInfo();
|
|
6771
|
+
obj.deserialize(params.TaskInfos[z]);
|
|
6772
|
+
this.TaskInfos.push(obj);
|
|
6773
|
+
}
|
|
6693
6774
|
}
|
|
6775
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
6694
6776
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6695
6777
|
|
|
6696
6778
|
}
|
|
@@ -6990,19 +7072,19 @@ class CreateImageSettings extends AbstractModel {
|
|
|
6990
7072
|
this.Location = null;
|
|
6991
7073
|
|
|
6992
7074
|
/**
|
|
6993
|
-
* The watermark
|
|
7075
|
+
* The watermark's horizontal distance from the origin as a percentage of the video width. Value range: 0-100. Default: 10.
|
|
6994
7076
|
* @type {number || null}
|
|
6995
7077
|
*/
|
|
6996
7078
|
this.XPos = null;
|
|
6997
7079
|
|
|
6998
7080
|
/**
|
|
6999
|
-
* The watermark
|
|
7081
|
+
* The watermark's vertical distance from the origin as a percentage of the video height. Value range: 0-100. Default: 10.
|
|
7000
7082
|
* @type {number || null}
|
|
7001
7083
|
*/
|
|
7002
7084
|
this.YPos = null;
|
|
7003
7085
|
|
|
7004
7086
|
/**
|
|
7005
|
-
* The watermark image
|
|
7087
|
+
* The watermark image's width as a percentage of the video width. Value range: 0-100. Default: 10.
|
|
7006
7088
|
`0` means to scale the width proportionally to the height.
|
|
7007
7089
|
You cannot set both `Width` and `Height` to `0`.
|
|
7008
7090
|
* @type {number || null}
|
|
@@ -7010,7 +7092,7 @@ You cannot set both `Width` and `Height` to `0`.
|
|
|
7010
7092
|
this.Width = null;
|
|
7011
7093
|
|
|
7012
7094
|
/**
|
|
7013
|
-
* The watermark image
|
|
7095
|
+
* The watermark image's height as a percentage of the video height. Value range: 0-100. Default: 10.
|
|
7014
7096
|
`0` means to scale the height proportionally to the width.
|
|
7015
7097
|
You cannot set both `Width` and `Height` to `0`.
|
|
7016
7098
|
* @type {number || null}
|
|
@@ -7415,6 +7497,63 @@ class AbWatermarkSettingsReq extends AbstractModel {
|
|
|
7415
7497
|
}
|
|
7416
7498
|
}
|
|
7417
7499
|
|
|
7500
|
+
/**
|
|
7501
|
+
* General setting.
|
|
7502
|
+
* @class
|
|
7503
|
+
*/
|
|
7504
|
+
class GeneralSetting extends AbstractModel {
|
|
7505
|
+
constructor(){
|
|
7506
|
+
super();
|
|
7507
|
+
|
|
7508
|
+
/**
|
|
7509
|
+
* Static graphic overlay configuration.
|
|
7510
|
+
* @type {StaticImageSettings || null}
|
|
7511
|
+
*/
|
|
7512
|
+
this.StaticImageSettings = null;
|
|
7513
|
+
|
|
7514
|
+
/**
|
|
7515
|
+
* Dynamic graphic overlay configuration.
|
|
7516
|
+
* @type {MotionGraphicsSetting || null}
|
|
7517
|
+
*/
|
|
7518
|
+
this.MotionGraphicsSettings = null;
|
|
7519
|
+
|
|
7520
|
+
/**
|
|
7521
|
+
* Thumbnail Configuration.
|
|
7522
|
+
* @type {ThumbnailSettings || null}
|
|
7523
|
+
*/
|
|
7524
|
+
this.ThumbnailSettings = null;
|
|
7525
|
+
|
|
7526
|
+
}
|
|
7527
|
+
|
|
7528
|
+
/**
|
|
7529
|
+
* @private
|
|
7530
|
+
*/
|
|
7531
|
+
deserialize(params) {
|
|
7532
|
+
if (!params) {
|
|
7533
|
+
return;
|
|
7534
|
+
}
|
|
7535
|
+
|
|
7536
|
+
if (params.StaticImageSettings) {
|
|
7537
|
+
let obj = new StaticImageSettings();
|
|
7538
|
+
obj.deserialize(params.StaticImageSettings)
|
|
7539
|
+
this.StaticImageSettings = obj;
|
|
7540
|
+
}
|
|
7541
|
+
|
|
7542
|
+
if (params.MotionGraphicsSettings) {
|
|
7543
|
+
let obj = new MotionGraphicsSetting();
|
|
7544
|
+
obj.deserialize(params.MotionGraphicsSettings)
|
|
7545
|
+
this.MotionGraphicsSettings = obj;
|
|
7546
|
+
}
|
|
7547
|
+
|
|
7548
|
+
if (params.ThumbnailSettings) {
|
|
7549
|
+
let obj = new ThumbnailSettings();
|
|
7550
|
+
obj.deserialize(params.ThumbnailSettings)
|
|
7551
|
+
this.ThumbnailSettings = obj;
|
|
7552
|
+
}
|
|
7553
|
+
|
|
7554
|
+
}
|
|
7555
|
+
}
|
|
7556
|
+
|
|
7418
7557
|
/**
|
|
7419
7558
|
* The callback settings.
|
|
7420
7559
|
* @class
|
|
@@ -7700,6 +7839,69 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
7700
7839
|
}
|
|
7701
7840
|
}
|
|
7702
7841
|
|
|
7842
|
+
/**
|
|
7843
|
+
*
|
|
7844
|
+
* @class
|
|
7845
|
+
*/
|
|
7846
|
+
class LSqueezeSetting extends AbstractModel {
|
|
7847
|
+
constructor(){
|
|
7848
|
+
super();
|
|
7849
|
+
|
|
7850
|
+
/**
|
|
7851
|
+
* Advertising benchmark position, 0 top left, 1 top right, 2 bottom right, 3 bottom left, default value 0, corresponding TOP_LEFT,TOP_RIGHT,BOTTOM_RIGHT,BOTTOM_LEFT
|
|
7852
|
+
* @type {number || null}
|
|
7853
|
+
*/
|
|
7854
|
+
this.Location = null;
|
|
7855
|
+
|
|
7856
|
+
/**
|
|
7857
|
+
* The default value for the percentage in the X-axis direction is 20, with a range of 0-50
|
|
7858
|
+
* @type {number || null}
|
|
7859
|
+
*/
|
|
7860
|
+
this.OffsetX = null;
|
|
7861
|
+
|
|
7862
|
+
/**
|
|
7863
|
+
* The default value for the percentage in the Y-axis direction is 20, with a range of 0-50
|
|
7864
|
+
* @type {number || null}
|
|
7865
|
+
*/
|
|
7866
|
+
this.OffsetY = null;
|
|
7867
|
+
|
|
7868
|
+
/**
|
|
7869
|
+
* Background image URL, starting with http/https and ending in jpg/jpeg/png
|
|
7870
|
+
* @type {string || null}
|
|
7871
|
+
*/
|
|
7872
|
+
this.BackgroundImgUrl = null;
|
|
7873
|
+
|
|
7874
|
+
/**
|
|
7875
|
+
* Compress time. Unit ms, default value 2000, range: 500-10000, SqueezeInPeriod+SqueezeOutPeriod cannot be greater than duration, included in duration
|
|
7876
|
+
* @type {number || null}
|
|
7877
|
+
*/
|
|
7878
|
+
this.SqueezeInPeriod = null;
|
|
7879
|
+
|
|
7880
|
+
/**
|
|
7881
|
+
* Restore to full screen time. Unit ms, default value 2000, range 500-10000, SqueezeInPeriod+SqueezeOutPeriod cannot be greater than duration, included in duration
|
|
7882
|
+
* @type {number || null}
|
|
7883
|
+
*/
|
|
7884
|
+
this.SqueezeOutPeriod = null;
|
|
7885
|
+
|
|
7886
|
+
}
|
|
7887
|
+
|
|
7888
|
+
/**
|
|
7889
|
+
* @private
|
|
7890
|
+
*/
|
|
7891
|
+
deserialize(params) {
|
|
7892
|
+
if (!params) {
|
|
7893
|
+
return;
|
|
7894
|
+
}
|
|
7895
|
+
this.Location = 'Location' in params ? params.Location : null;
|
|
7896
|
+
this.OffsetX = 'OffsetX' in params ? params.OffsetX : null;
|
|
7897
|
+
this.OffsetY = 'OffsetY' in params ? params.OffsetY : null;
|
|
7898
|
+
this.BackgroundImgUrl = 'BackgroundImgUrl' in params ? params.BackgroundImgUrl : null;
|
|
7899
|
+
this.SqueezeInPeriod = 'SqueezeInPeriod' in params ? params.SqueezeInPeriod : null;
|
|
7900
|
+
this.SqueezeOutPeriod = 'SqueezeOutPeriod' in params ? params.SqueezeOutPeriod : null;
|
|
7901
|
+
|
|
7902
|
+
}
|
|
7903
|
+
}
|
|
7904
|
+
|
|
7703
7905
|
/**
|
|
7704
7906
|
* Custom DRM key.
|
|
7705
7907
|
* @class
|
|
@@ -8045,6 +8247,24 @@ For other inputs, the quantity is 1.
|
|
|
8045
8247
|
*/
|
|
8046
8248
|
this.Audio = null;
|
|
8047
8249
|
|
|
8250
|
+
/**
|
|
8251
|
+
* Session ID
|
|
8252
|
+
* @type {string || null}
|
|
8253
|
+
*/
|
|
8254
|
+
this.SessionId = null;
|
|
8255
|
+
|
|
8256
|
+
/**
|
|
8257
|
+
* Rtt time, in milliseconds
|
|
8258
|
+
* @type {number || null}
|
|
8259
|
+
*/
|
|
8260
|
+
this.RTT = null;
|
|
8261
|
+
|
|
8262
|
+
/**
|
|
8263
|
+
* Is the Network parameter valid? 0 indicates invalid, 1 indicates valid
|
|
8264
|
+
* @type {number || null}
|
|
8265
|
+
*/
|
|
8266
|
+
this.NetworkValid = null;
|
|
8267
|
+
|
|
8048
8268
|
}
|
|
8049
8269
|
|
|
8050
8270
|
/**
|
|
@@ -8074,6 +8294,9 @@ For other inputs, the quantity is 1.
|
|
|
8074
8294
|
this.Audio.push(obj);
|
|
8075
8295
|
}
|
|
8076
8296
|
}
|
|
8297
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
8298
|
+
this.RTT = 'RTT' in params ? params.RTT : null;
|
|
8299
|
+
this.NetworkValid = 'NetworkValid' in params ? params.NetworkValid : null;
|
|
8077
8300
|
|
|
8078
8301
|
}
|
|
8079
8302
|
}
|
|
@@ -9139,7 +9362,7 @@ class SegmentationDescriptorInfo extends AbstractModel {
|
|
|
9139
9362
|
this.TypeID = null;
|
|
9140
9363
|
|
|
9141
9364
|
/**
|
|
9142
|
-
* Corresponds to SCTE-35 segment_num
|
|
9365
|
+
* Corresponds to SCTE-35 segment_num. This field provides support for numbering segments within a given collection of segments.
|
|
9143
9366
|
* @type {number || null}
|
|
9144
9367
|
*/
|
|
9145
9368
|
this.Num = null;
|
|
@@ -9472,6 +9695,7 @@ module.exports = {
|
|
|
9472
9695
|
DescribeStreamLiveWatermarksRequest: DescribeStreamLiveWatermarksRequest,
|
|
9473
9696
|
DescribeWatermarkDetectionsRequest: DescribeWatermarkDetectionsRequest,
|
|
9474
9697
|
TimedMetadataInfo: TimedMetadataInfo,
|
|
9698
|
+
AbWatermarkSettingsResp: AbWatermarkSettingsResp,
|
|
9475
9699
|
DescribeStreamLiveRegionsRequest: DescribeStreamLiveRegionsRequest,
|
|
9476
9700
|
DescribeTranscodeDetailInfo: DescribeTranscodeDetailInfo,
|
|
9477
9701
|
AbWatermarkInputInfo: AbWatermarkInputInfo,
|
|
@@ -9515,14 +9739,14 @@ module.exports = {
|
|
|
9515
9739
|
CreateStreamLiveWatermarkResponse: CreateStreamLiveWatermarkResponse,
|
|
9516
9740
|
DescribeStreamLiveInputsResponse: DescribeStreamLiveInputsResponse,
|
|
9517
9741
|
ModifyStreamLiveInputResponse: ModifyStreamLiveInputResponse,
|
|
9518
|
-
|
|
9742
|
+
DescribeStreamLiveChannelAlertsResponse: DescribeStreamLiveChannelAlertsResponse,
|
|
9519
9743
|
ThumbnailSettings: ThumbnailSettings,
|
|
9520
9744
|
PlanResp: PlanResp,
|
|
9521
9745
|
AudioNormalizationSettings: AudioNormalizationSettings,
|
|
9522
9746
|
DescribeStreamLivePlansResponse: DescribeStreamLivePlansResponse,
|
|
9523
9747
|
DescribeStreamLiveChannelLogsRequest: DescribeStreamLiveChannelLogsRequest,
|
|
9524
9748
|
CreateStreamLiveInputSecurityGroupRequest: CreateStreamLiveInputSecurityGroupRequest,
|
|
9525
|
-
|
|
9749
|
+
AdBreakSetting: AdBreakSetting,
|
|
9526
9750
|
DescribeStreamLiveChannelOutputStatisticsResponse: DescribeStreamLiveChannelOutputStatisticsResponse,
|
|
9527
9751
|
GetAbWatermarkPlayUrlRequest: GetAbWatermarkPlayUrlRequest,
|
|
9528
9752
|
DescribeWatermarkInfo: DescribeWatermarkInfo,
|
|
@@ -9532,7 +9756,7 @@ module.exports = {
|
|
|
9532
9756
|
CreateStreamLiveInputResponse: CreateStreamLiveInputResponse,
|
|
9533
9757
|
EventSettingsDestinationResp: EventSettingsDestinationResp,
|
|
9534
9758
|
OutputInfo: OutputInfo,
|
|
9535
|
-
|
|
9759
|
+
DescribeWatermarkDetectionsResponse: DescribeWatermarkDetectionsResponse,
|
|
9536
9760
|
StaticImageDeactivateSetting: StaticImageDeactivateSetting,
|
|
9537
9761
|
VideoCodecDetail: VideoCodecDetail,
|
|
9538
9762
|
CreateStreamLiveChannelResponse: CreateStreamLiveChannelResponse,
|
|
@@ -9549,6 +9773,7 @@ module.exports = {
|
|
|
9549
9773
|
DescribeStreamLiveInputSecurityGroupsResponse: DescribeStreamLiveInputSecurityGroupsResponse,
|
|
9550
9774
|
StartStreamLiveChannelRequest: StartStreamLiveChannelRequest,
|
|
9551
9775
|
AbWatermarkSettingsReq: AbWatermarkSettingsReq,
|
|
9776
|
+
GeneralSetting: GeneralSetting,
|
|
9552
9777
|
EventNotifySetting: EventNotifySetting,
|
|
9553
9778
|
DeleteStreamLiveInputResponse: DeleteStreamLiveInputResponse,
|
|
9554
9779
|
MotionGraphicsActivateSetting: MotionGraphicsActivateSetting,
|
|
@@ -9556,6 +9781,7 @@ module.exports = {
|
|
|
9556
9781
|
DescribeStreamLiveWatermarkResponse: DescribeStreamLiveWatermarkResponse,
|
|
9557
9782
|
StreamScte35Info: StreamScte35Info,
|
|
9558
9783
|
StreamAudioInfo: StreamAudioInfo,
|
|
9784
|
+
LSqueezeSetting: LSqueezeSetting,
|
|
9559
9785
|
DrmKey: DrmKey,
|
|
9560
9786
|
OutputsStatistics: OutputsStatistics,
|
|
9561
9787
|
InputSecurityGroupInfo: InputSecurityGroupInfo,
|