tencentcloud-sdk-nodejs-intl-en 3.0.772 → 3.0.774

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.772",
3
+ "version": "3.0.774",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.772";
1
+ const sdkVersion = "3.0.774";
2
2
  module.exports = sdkVersion
@@ -19,6 +19,7 @@ const AbstractClient = require('../../common/abstract_client')
19
19
  const DeleteStreamLiveChannelResponse = models.DeleteStreamLiveChannelResponse;
20
20
  const VideoPipelineInputStatistics = models.VideoPipelineInputStatistics;
21
21
  const CreateStreamLiveInputSecurityGroupResponse = models.CreateStreamLiveInputSecurityGroupResponse;
22
+ const InputLossBehaviorInfo = models.InputLossBehaviorInfo;
22
23
  const StreamVideoInfo = models.StreamVideoInfo;
23
24
  const CreateStreamLivePlanRequest = models.CreateStreamLivePlanRequest;
24
25
  const DescribeStreamLiveWatermarksResponse = models.DescribeStreamLiveWatermarksResponse;
@@ -121,6 +121,55 @@ class CreateStreamLiveInputSecurityGroupResponse extends AbstractModel {
121
121
  }
122
122
  }
123
123
 
124
+ /**
125
+ * Complement the last video frame related settings.
126
+ * @class
127
+ */
128
+ class InputLossBehaviorInfo extends AbstractModel {
129
+ constructor(){
130
+ super();
131
+
132
+ /**
133
+ * The time to fill in the last video frame, unit ms, range 0-1000000, 1000000 means always inserting, default 0 means filling in black screen frame.
134
+ * @type {number || null}
135
+ */
136
+ this.RepeatLastFrameMs = null;
137
+
138
+ /**
139
+ * Fill frame type, COLOR means solid color filling, IMAGE means picture filling, the default is COLOR.
140
+ * @type {string || null}
141
+ */
142
+ this.InputLossImageType = null;
143
+
144
+ /**
145
+ * When the type is COLOR, the corresponding rgb value
146
+ * @type {string || null}
147
+ */
148
+ this.ColorRGB = null;
149
+
150
+ /**
151
+ * When the type is IMAGE, the corresponding image url value
152
+ * @type {string || null}
153
+ */
154
+ this.ImageUrl = null;
155
+
156
+ }
157
+
158
+ /**
159
+ * @private
160
+ */
161
+ deserialize(params) {
162
+ if (!params) {
163
+ return;
164
+ }
165
+ this.RepeatLastFrameMs = 'RepeatLastFrameMs' in params ? params.RepeatLastFrameMs : null;
166
+ this.InputLossImageType = 'InputLossImageType' in params ? params.InputLossImageType : null;
167
+ this.ColorRGB = 'ColorRGB' in params ? params.ColorRGB : null;
168
+ this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
169
+
170
+ }
171
+ }
172
+
124
173
  /**
125
174
  * Video information of pushed streams.
126
175
  * @class
@@ -3396,6 +3445,12 @@ class CreateStreamLiveChannelRequest extends AbstractModel {
3396
3445
  */
3397
3446
  this.EventNotifySettings = null;
3398
3447
 
3448
+ /**
3449
+ * Complement the last video frame settings.
3450
+ * @type {InputLossBehaviorInfo || null}
3451
+ */
3452
+ this.InputLossBehavior = null;
3453
+
3399
3454
  }
3400
3455
 
3401
3456
  /**
@@ -3464,6 +3519,12 @@ class CreateStreamLiveChannelRequest extends AbstractModel {
3464
3519
  this.EventNotifySettings = obj;
3465
3520
  }
3466
3521
 
3522
+ if (params.InputLossBehavior) {
3523
+ let obj = new InputLossBehaviorInfo();
3524
+ obj.deserialize(params.InputLossBehavior)
3525
+ this.InputLossBehavior = obj;
3526
+ }
3527
+
3467
3528
  }
3468
3529
  }
3469
3530
 
@@ -5652,6 +5713,12 @@ class ModifyStreamLiveChannelRequest extends AbstractModel {
5652
5713
  */
5653
5714
  this.EventNotifySettings = null;
5654
5715
 
5716
+ /**
5717
+ * Complement the last video frame settings.
5718
+ * @type {InputLossBehaviorInfo || null}
5719
+ */
5720
+ this.InputLossBehavior = null;
5721
+
5655
5722
  }
5656
5723
 
5657
5724
  /**
@@ -5721,6 +5788,12 @@ class ModifyStreamLiveChannelRequest extends AbstractModel {
5721
5788
  this.EventNotifySettings = obj;
5722
5789
  }
5723
5790
 
5791
+ if (params.InputLossBehavior) {
5792
+ let obj = new InputLossBehaviorInfo();
5793
+ obj.deserialize(params.InputLossBehavior)
5794
+ this.InputLossBehavior = obj;
5795
+ }
5796
+
5724
5797
  }
5725
5798
  }
5726
5799
 
@@ -6019,6 +6092,12 @@ Note: This field may return `null`, indicating that no valid value was found.
6019
6092
  */
6020
6093
  this.EventNotifySettings = null;
6021
6094
 
6095
+ /**
6096
+ * Supplement the last video frame configuration settings.
6097
+ * @type {InputLossBehaviorInfo || null}
6098
+ */
6099
+ this.InputLossBehavior = null;
6100
+
6022
6101
  }
6023
6102
 
6024
6103
  /**
@@ -6089,6 +6168,12 @@ Note: This field may return `null`, indicating that no valid value was found.
6089
6168
  this.EventNotifySettings = obj;
6090
6169
  }
6091
6170
 
6171
+ if (params.InputLossBehavior) {
6172
+ let obj = new InputLossBehaviorInfo();
6173
+ obj.deserialize(params.InputLossBehavior)
6174
+ this.InputLossBehavior = obj;
6175
+ }
6176
+
6092
6177
  }
6093
6178
  }
6094
6179
 
@@ -6345,6 +6430,7 @@ module.exports = {
6345
6430
  DeleteStreamLiveChannelResponse: DeleteStreamLiveChannelResponse,
6346
6431
  VideoPipelineInputStatistics: VideoPipelineInputStatistics,
6347
6432
  CreateStreamLiveInputSecurityGroupResponse: CreateStreamLiveInputSecurityGroupResponse,
6433
+ InputLossBehaviorInfo: InputLossBehaviorInfo,
6348
6434
  StreamVideoInfo: StreamVideoInfo,
6349
6435
  CreateStreamLivePlanRequest: CreateStreamLivePlanRequest,
6350
6436
  DescribeStreamLiveWatermarksResponse: DescribeStreamLiveWatermarksResponse,