tencentcloud-sdk-nodejs-intl-en 3.0.1349 → 3.0.1350
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/advisor/v20200721/models.js +11 -24
- package/tencentcloud/asr/v20190614/models.js +9 -2
- package/tencentcloud/billing/v20180709/billing_client.js +242 -64
- package/tencentcloud/billing/v20180709/models.js +10788 -4645
- package/tencentcloud/ciam/index.js +1 -1
- package/tencentcloud/cloudaudit/v20190319/cloudaudit_client.js +2 -30
- package/tencentcloud/cloudaudit/v20190319/models.js +132 -247
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/faceid_client.js +260 -143
- package/tencentcloud/faceid/v20180301/models.js +4283 -3113
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/organization/v20210331/models.js +1 -1
- package/tencentcloud/sms/index.js +1 -1
- package/tencentcloud/sms/v20210111/models.js +250 -31
- package/tencentcloud/sms/v20210111/sms_client.js +16 -3
- package/tencentcloud/sts/v20180813/models.js +42 -26
- package/tencentcloud/sts/v20180813/sts_client.js +30 -4
- package/tencentcloud/tag/v20180813/tag_client.js +1 -1
- package/tencentcloud/tchd/v20230306/models.js +1 -1
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/tke/index.js +1 -1
- package/tencentcloud/trtc/v20190722/models.js +263 -168
- package/tencentcloud/trtc/v20190722/trtc_client.js +11 -13
- package/tencentcloud/vod/index.js +1 -1
- package/tencentcloud/wedata/index.js +1 -1
|
@@ -184,78 +184,110 @@ class McuLayout extends AbstractModel {
|
|
|
184
184
|
super();
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
|
-
*
|
|
187
|
+
* User media stream parameters. if left blank, tencent cloud backend fills them automatically by the room entry sequence of the uplink host.
|
|
188
188
|
* @type {UserMediaStream || null}
|
|
189
189
|
*/
|
|
190
190
|
this.UserMediaStream = null;
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
|
-
* The
|
|
193
|
+
* The width of the sub-screen in the output, unit: pixel value. defaults to 0 if left blank.
|
|
194
194
|
* @type {number || null}
|
|
195
195
|
*/
|
|
196
196
|
this.ImageWidth = null;
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
|
-
* The
|
|
199
|
+
* The height of the sub-screen in the output, in pixel values. default is 0.
|
|
200
200
|
* @type {number || null}
|
|
201
201
|
*/
|
|
202
202
|
this.ImageHeight = null;
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
|
-
* The
|
|
205
|
+
* The X-axis offset of the sub-screen in the output, unit: pixel value. the sum of LocationX and ImageWidth must not exceed the total width of the mixed stream output. default is 0.
|
|
206
206
|
* @type {number || null}
|
|
207
207
|
*/
|
|
208
208
|
this.LocationX = null;
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
* The
|
|
211
|
+
* The Y-axis offset of the sub-screen in the output, unit: pixel value. the sum of LocationY and ImageHeight must not exceed the total height of the mixed stream output. default is 0 if left blank.
|
|
212
212
|
* @type {number || null}
|
|
213
213
|
*/
|
|
214
214
|
this.LocationY = null;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* The
|
|
217
|
+
* The hierarchy of the sub-screen in the output. default is 0.
|
|
218
218
|
* @type {number || null}
|
|
219
219
|
*/
|
|
220
220
|
this.ZOrder = null;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
|
-
* The
|
|
223
|
+
* The display mode of the sub-screen in the output: 0 for crop, 1 for scale and display background, 2 for scale and display black background. defaults to 0 if left blank.
|
|
224
224
|
* @type {number || null}
|
|
225
225
|
*/
|
|
226
226
|
this.RenderMode = null;
|
|
227
227
|
|
|
228
228
|
/**
|
|
229
|
-
*
|
|
230
|
-
Red:
|
|
231
|
-
Yellow:
|
|
232
|
-
Green:
|
|
233
|
-
Blue:
|
|
234
|
-
Black:
|
|
235
|
-
White:
|
|
236
|
-
|
|
229
|
+
* [This parameter configuration is invalid and not currently supported] the background color of the sub-picture. commonly used colors are:.
|
|
230
|
+
Red: 0xcc0033.
|
|
231
|
+
Yellow: 0xcc9900.
|
|
232
|
+
Green: 0xcccc33.
|
|
233
|
+
Blue: 0x99CCFF.
|
|
234
|
+
Black: 0x000000.
|
|
235
|
+
White: 0xFFFFFF.
|
|
236
|
+
Gray: 0x999999.
|
|
237
237
|
* @type {string || null}
|
|
238
238
|
*/
|
|
239
239
|
this.BackGroundColor = null;
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
|
-
* The
|
|
242
|
+
* The url of the placeholder image for the sub-window. fill in this parameter to specify the image displayed in the layout position when the user turns the camera off or has not joined the TRTC room. if the specified image has a different size ratio from the layout position, it will be stretched. this parameter has a higher priority than BackGroundColor. supported formats include png, jpg, jpeg, bmp, gif, and webm. the image size limit is no more than 5MB.
|
|
243
|
+
Note:.
|
|
244
|
+
1. make sure the image link is accessible. the backend single download timeout period is 10 seconds with a maximum of 3 retries. if the image download fails eventually, the placeholder image will not take effect.
|
|
245
|
+
2. supported character sets for urls: ['0-9', 'a-z', 'a-z', '-', '.', '_', '~', ':', '/', '?', '#', '[', ']', '@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|']. make sure url characters are within the supported character sets. if characters outside the supported character sets exist, the placeholder image will not take effect.
|
|
243
246
|
* @type {string || null}
|
|
244
247
|
*/
|
|
245
248
|
this.BackgroundImageUrl = null;
|
|
246
249
|
|
|
247
250
|
/**
|
|
248
|
-
*
|
|
251
|
+
* Customer custom crop, targeting the input stream.
|
|
249
252
|
* @type {McuCustomCrop || null}
|
|
250
253
|
*/
|
|
251
254
|
this.CustomCrop = null;
|
|
252
255
|
|
|
253
256
|
/**
|
|
254
|
-
* The display mode of the sub-background image
|
|
257
|
+
* The display mode of the sub-background image in the output: 0 for crop, 1 for scale and display background, 2 for scale and display black background, 3 for variable-scale scaling, 4 for custom rendering. defaults to 3 if left blank.
|
|
255
258
|
* @type {number || null}
|
|
256
259
|
*/
|
|
257
260
|
this.BackgroundRenderMode = null;
|
|
258
261
|
|
|
262
|
+
/**
|
|
263
|
+
* The sub-screen template url points to a template image with an alpha channel. fill in this parameter, and the backend will extract the alpha channel of the template image during compositing, scale it as the alpha channel of the target frame, and mix it with other frames. you can use the transparent template to achieve a semi-transparent effect and arbitrary shape cropping (such as rounded corners, stars, hearts) for the target frame. png format is supported. the image size limit is no more than 5MB.
|
|
264
|
+
Note:.
|
|
265
|
+
1. the image aspect ratio of the template should be close to the target frame aspect ratio to avoid deformation of the template effect when scaling to fit the target frame. 2. the transparent template only takes effect when RenderMode is 0 (crop). 3. make sure the image link is accessible. the backend single download timeout period is 10 seconds with a maximum of 3 retries. if the image download fails eventually, the transparent template will not take effect.
|
|
266
|
+
2. url supported character sets: ['0-9','a-z','a-z','-', '.', '_', '~', ':', '/', '?', '#', '[', ']','@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|']. make sure url characters are within the supported character sets. if characters outside the supported character sets exist, the transparent template will not take effect.
|
|
267
|
+
* @type {string || null}
|
|
268
|
+
*/
|
|
269
|
+
this.TransparentUrl = null;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @type {McuBackgroundCustomRender || null}
|
|
274
|
+
*/
|
|
275
|
+
this.BackgroundCustomRender = null;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Sub-Background color effective mode. default value 0 means disabled.
|
|
279
|
+
bit0 specifies whether placeholder image scaling takes effect.
|
|
280
|
+
bit1 specifies whether upstream flow scaling takes effect.
|
|
281
|
+
You can set the corresponding bit position to 1 to start up and take effect, such as:.
|
|
282
|
+
0(00) means the sub background color is disabled.
|
|
283
|
+
1(01) indicates the sub-background color is valid only when placeholder image scaling is enabled.
|
|
284
|
+
2(10) means the sub background color is valid only when upstream flow scaling.
|
|
285
|
+
3(11) indicates the sub-background color takes effect in both placeholder image scaling and upstream flow scaling.
|
|
286
|
+
|
|
287
|
+
* @type {number || null}
|
|
288
|
+
*/
|
|
289
|
+
this.BackGroundColorMode = null;
|
|
290
|
+
|
|
259
291
|
}
|
|
260
292
|
|
|
261
293
|
/**
|
|
@@ -286,6 +318,14 @@ Grey: `0x999999`
|
|
|
286
318
|
this.CustomCrop = obj;
|
|
287
319
|
}
|
|
288
320
|
this.BackgroundRenderMode = 'BackgroundRenderMode' in params ? params.BackgroundRenderMode : null;
|
|
321
|
+
this.TransparentUrl = 'TransparentUrl' in params ? params.TransparentUrl : null;
|
|
322
|
+
|
|
323
|
+
if (params.BackgroundCustomRender) {
|
|
324
|
+
let obj = new McuBackgroundCustomRender();
|
|
325
|
+
obj.deserialize(params.BackgroundCustomRender)
|
|
326
|
+
this.BackgroundCustomRender = obj;
|
|
327
|
+
}
|
|
328
|
+
this.BackGroundColorMode = 'BackGroundColorMode' in params ? params.BackGroundColorMode : null;
|
|
289
329
|
|
|
290
330
|
}
|
|
291
331
|
}
|
|
@@ -474,7 +514,7 @@ Example:.
|
|
|
474
514
|
}
|
|
475
515
|
|
|
476
516
|
/**
|
|
477
|
-
* Relay
|
|
517
|
+
* Relay recording parameters.
|
|
478
518
|
* @class
|
|
479
519
|
*/
|
|
480
520
|
class McuRecordParams extends AbstractModel {
|
|
@@ -482,80 +522,61 @@ class McuRecordParams extends AbstractModel {
|
|
|
482
522
|
super();
|
|
483
523
|
|
|
484
524
|
/**
|
|
485
|
-
*
|
|
486
|
-
0/blank:
|
|
487
|
-
1:
|
|
488
|
-
2:
|
|
489
|
-
3:
|
|
490
|
-
Example: 2
|
|
525
|
+
* Retweet recording mode.
|
|
526
|
+
0/Leave blank: not currently supported; behavior is undefined.
|
|
527
|
+
1: disable recording.
|
|
528
|
+
2: enable recording (via console automatic recording template parameters, see: [redirection document](https://www.tencentcloud.comom/document/product/647/111748?from_cn_redirect=1#.E5.BD.95.E5.88.B6.E6.8E.A7.E5.88.B6.E6.96.B9.E6.A1.88));.
|
|
529
|
+
3: enable recording (use API to specify parameter).
|
|
491
530
|
* @type {number || null}
|
|
492
531
|
*/
|
|
493
532
|
this.UniRecord = null;
|
|
494
533
|
|
|
495
534
|
/**
|
|
496
|
-
* Recording
|
|
497
|
-
|
|
498
|
-
[Format: Up to 128 bytes; only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-).]
|
|
499
|
-
Example: test_record_key_a
|
|
535
|
+
* Recording task key, identifies a recording task. you can record multiple relay tasks into a file by specifying this parameter. if this parameter is not specified, only the current relay task is recorded.
|
|
536
|
+
Limit length to 128 bytes, only allow a combination of uppercase and lowercase letters (a-zA-Z), digits (0-9), underscores (_), and hyphens (-).
|
|
500
537
|
* @type {string || null}
|
|
501
538
|
*/
|
|
502
539
|
this.RecordKey = null;
|
|
503
540
|
|
|
504
541
|
/**
|
|
505
|
-
* [Valid only when UniRecord=3]
|
|
506
|
-
|
|
507
|
-
Corresponds to template parameter "Resume Wait Duration." Unit: seconds.
|
|
508
|
-
Range: 5-86400 (24 hours). Default: 30. Recording stops if idle longer than this value.
|
|
509
|
-
Example: 30
|
|
542
|
+
* [Valid only when UniRecord=3.].
|
|
543
|
+
Resume recording waiting time, corresponding to the "wait time for resumption" in the recording template, unit: seconds. the value must be greater than or equal to 5 and less than or equal to 86400 (24 hours), with a default value of 30. when resumption is enabled, the recording task ends automatically if idle for a duration exceeding RecordWaitTime.
|
|
510
544
|
* @type {number || null}
|
|
511
545
|
*/
|
|
512
546
|
this.RecordWaitTime = null;
|
|
513
547
|
|
|
514
548
|
/**
|
|
515
|
-
* [Valid only when UniRecord=3]
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
Note: mp4 and aac formats are mutually exclusive.
|
|
519
|
-
Example (MP4 only): ["mp4"]
|
|
520
|
-
Example (MP4 + HLS): ["mp4","hls"]
|
|
549
|
+
* [Valid only when UniRecord=3.].
|
|
550
|
+
The list of output file formats for recording corresponds to the "file format" in the recording template. it supports three formats: "hls", "mp4", and "aac". the default value is "mp4". among them, "mp4" and "aac" formats cannot be specified simultaneously.
|
|
551
|
+
Record only the mp4 format, example value: ["mp4"]. record both mp4 and HLS formats simultaneously, example value: ["mp4","HLS"].
|
|
521
552
|
* @type {Array.<string> || null}
|
|
522
553
|
*/
|
|
523
554
|
this.RecordFormat = null;
|
|
524
555
|
|
|
525
556
|
/**
|
|
526
|
-
* [Valid only when UniRecord=3]
|
|
527
|
-
Single
|
|
528
|
-
Corresponds to template parameter "Max File Duration." Unit: minutes.
|
|
529
|
-
Range: 1-1440 (24 hours). Default: 1440. Applies only to mp4/aac. Actual duration is capped at 2GB file size.
|
|
530
|
-
Example: 1440
|
|
557
|
+
* [Valid only when UniRecord=3.].
|
|
558
|
+
Single file recording duration, corresponding to the "max recording time per file" in the recording template, unit: minutes. the value must be greater than or equal to 1 and less than or equal to 1440 (24 hours), with a default value of 1440. it only takes effect for "mp4" or "aac" format. the actual single file recording duration is also limited by the file size not exceeding 2G. if it exceeds 2G, the file will be forcibly split.
|
|
531
559
|
* @type {number || null}
|
|
532
560
|
*/
|
|
533
561
|
this.MaxMediaFileDuration = null;
|
|
534
562
|
|
|
535
563
|
/**
|
|
536
|
-
* [Valid only when UniRecord=3]
|
|
537
|
-
|
|
538
|
-
Corresponds to template parameter "Recording Format."
|
|
539
|
-
0: Audio+Video, 1: Audio only, 2: Video only. Output is the intersection of this setting and relay content.
|
|
540
|
-
Example: 0
|
|
564
|
+
* [Valid only when UniRecord=3.].
|
|
565
|
+
The audio and video type of the recording corresponds to the "recording format" in the recording template. valid values: 0 (audio and video), 1 (pure audio), 2 (video only). the final recording file content is the intersection of the specified type and the relayed content.
|
|
541
566
|
* @type {number || null}
|
|
542
567
|
*/
|
|
543
568
|
this.StreamType = null;
|
|
544
569
|
|
|
545
570
|
/**
|
|
546
|
-
* Recording
|
|
547
|
-
|
|
548
|
-
*Format: Letters (a-z, A-Z), numbers (0-9), underscores (_), hyphens (-).*
|
|
549
|
-
Example: mcu_record_prefix
|
|
571
|
+
* Recording file name prefix, no more than 64 characters. this parameter is valid only when store is vod.
|
|
572
|
+
Limit length to 64 bytes, only allow a combination of uppercase and lowercase letters (a-zA-Z), digits (0-9), underscores (_), and hyphens (-).
|
|
550
573
|
* @type {string || null}
|
|
551
574
|
*/
|
|
552
575
|
this.UserDefineRecordPrefix = null;
|
|
553
576
|
|
|
554
577
|
/**
|
|
555
|
-
* [Valid only when UniRecord=3]
|
|
556
|
-
Recording
|
|
557
|
-
Corresponds to console parameter "Storage Location." Supports Tencent VOD or COS (exclusively).
|
|
558
|
-
Example: {"McuCloudVod":{"McuTencentVod":{"ExpireTime":86400}}}
|
|
578
|
+
* [Valid only when UniRecord=3.].
|
|
579
|
+
Recording files storage parameters, corresponding console "storage location" and related parameters. currently supports VOD and COS storage methods. only one can be filled.
|
|
559
580
|
* @type {McuStorageParams || null}
|
|
560
581
|
*/
|
|
561
582
|
this.McuStorageParams = null;
|
|
@@ -694,44 +715,47 @@ class McuVideoParams extends AbstractModel {
|
|
|
694
715
|
super();
|
|
695
716
|
|
|
696
717
|
/**
|
|
697
|
-
*
|
|
718
|
+
* Video encoding parameter for the output stream.
|
|
698
719
|
* @type {VideoEncode || null}
|
|
699
720
|
*/
|
|
700
721
|
this.VideoEncode = null;
|
|
701
722
|
|
|
702
723
|
/**
|
|
703
|
-
*
|
|
724
|
+
* Stream mixing layout parameter.
|
|
704
725
|
* @type {McuLayoutParams || null}
|
|
705
726
|
*/
|
|
706
727
|
this.LayoutParams = null;
|
|
707
728
|
|
|
708
729
|
/**
|
|
709
|
-
* The canvas color.
|
|
710
|
-
Red: 0xcc0033
|
|
711
|
-
Yellow: 0xcc9900
|
|
712
|
-
Green: 0xcccc33
|
|
713
|
-
Blue: 0x99CCFF
|
|
714
|
-
Black: 0x000000
|
|
715
|
-
White: 0xFFFFFF
|
|
716
|
-
|
|
730
|
+
* The entire canvas background color. commonly used colors:.
|
|
731
|
+
Red: 0xcc0033.
|
|
732
|
+
Yellow: 0xcc9900.
|
|
733
|
+
Green: 0xcccc33.
|
|
734
|
+
Blue: 0x99CCFF.
|
|
735
|
+
Black: 0x000000.
|
|
736
|
+
White: 0xFFFFFF.
|
|
737
|
+
Gray: 0x999999.
|
|
717
738
|
* @type {string || null}
|
|
718
739
|
*/
|
|
719
740
|
this.BackGroundColor = null;
|
|
720
741
|
|
|
721
742
|
/**
|
|
722
|
-
* The
|
|
743
|
+
* The url of the background image for the entire canvas. priority is higher than BackGroundColor. supports png, jpg, and jpeg formats. image size limit is not more than 5MB.
|
|
744
|
+
Note:.
|
|
745
|
+
1. make sure the image link is accessible. the backend download timeout is 10 seconds with a maximum of 3 retries. if the image download fails eventually, the background image will not take effect.
|
|
746
|
+
2. url supported character sets: ['0-9','a-z','a-z','-', '.', '_', '~', ':', '/', '?', '#', '[', ']','@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|']. make sure url characters are within the supported character sets. if any character outside the supported character sets exists, the background image will not take effect.
|
|
723
747
|
* @type {string || null}
|
|
724
748
|
*/
|
|
725
749
|
this.BackgroundImageUrl = null;
|
|
726
750
|
|
|
727
751
|
/**
|
|
728
|
-
*
|
|
752
|
+
* Watermark parameters for the stream mixing layout.
|
|
729
753
|
* @type {Array.<McuWaterMarkParams> || null}
|
|
730
754
|
*/
|
|
731
755
|
this.WaterMarkList = null;
|
|
732
756
|
|
|
733
757
|
/**
|
|
734
|
-
*
|
|
758
|
+
* The display mode of the background image in the output: 0 for crop, 1 for scale and display black background, 2 for variable-scale scaling. the backend defaults to variable-scale scaling.
|
|
735
759
|
* @type {number || null}
|
|
736
760
|
*/
|
|
737
761
|
this.BackgroundRenderMode = null;
|
|
@@ -1227,7 +1251,49 @@ class SetUserBlockedResponse extends AbstractModel {
|
|
|
1227
1251
|
}
|
|
1228
1252
|
|
|
1229
1253
|
/**
|
|
1230
|
-
*
|
|
1254
|
+
*
|
|
1255
|
+
* @class
|
|
1256
|
+
*/
|
|
1257
|
+
class McuBackgroundCustomRender extends AbstractModel {
|
|
1258
|
+
constructor(){
|
|
1259
|
+
super();
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
*
|
|
1263
|
+
* @type {number || null}
|
|
1264
|
+
*/
|
|
1265
|
+
this.Width = null;
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
*
|
|
1269
|
+
* @type {number || null}
|
|
1270
|
+
*/
|
|
1271
|
+
this.Height = null;
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
*
|
|
1275
|
+
* @type {number || null}
|
|
1276
|
+
*/
|
|
1277
|
+
this.Radius = null;
|
|
1278
|
+
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* @private
|
|
1283
|
+
*/
|
|
1284
|
+
deserialize(params) {
|
|
1285
|
+
if (!params) {
|
|
1286
|
+
return;
|
|
1287
|
+
}
|
|
1288
|
+
this.Width = 'Width' in params ? params.Width : null;
|
|
1289
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
1290
|
+
this.Radius = 'Radius' in params ? params.Radius : null;
|
|
1291
|
+
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
/**
|
|
1296
|
+
*
|
|
1231
1297
|
* @class
|
|
1232
1298
|
*/
|
|
1233
1299
|
class WaterMarkChar extends AbstractModel {
|
|
@@ -1780,7 +1846,7 @@ class VideoEncode extends AbstractModel {
|
|
|
1780
1846
|
this.Width = null;
|
|
1781
1847
|
|
|
1782
1848
|
/**
|
|
1783
|
-
*
|
|
1849
|
+
* Output stream is high and required for audio and video output. value ranges from 0 to 1920. unit: pixel value.
|
|
1784
1850
|
* @type {number || null}
|
|
1785
1851
|
*/
|
|
1786
1852
|
this.Height = null;
|
|
@@ -2055,7 +2121,7 @@ class TranslationConfig extends AbstractModel {
|
|
|
2055
2121
|
}
|
|
2056
2122
|
|
|
2057
2123
|
/**
|
|
2058
|
-
* Mcu
|
|
2124
|
+
* Mcu relay recording. tencent cloud video on demand (vod) related parameters.
|
|
2059
2125
|
* @class
|
|
2060
2126
|
*/
|
|
2061
2127
|
class McuTencentVod extends AbstractModel {
|
|
@@ -2063,61 +2129,44 @@ class McuTencentVod extends AbstractModel {
|
|
|
2063
2129
|
super();
|
|
2064
2130
|
|
|
2065
2131
|
/**
|
|
2066
|
-
*
|
|
2067
|
-
Automatically initiates task flows after media uploads complete. Value = Task flow template name.
|
|
2068
|
-
VOD supports creating and naming task flow templates.
|
|
2069
|
-
Example: template_name
|
|
2132
|
+
* Subsequent media task processing operations allow automatic task initiation after media upload is completed. the parameter value is the task flow template name. VOD (video on demand) supports creating task flow templates and template naming.
|
|
2070
2133
|
* @type {string || null}
|
|
2071
2134
|
*/
|
|
2072
2135
|
this.Procedure = null;
|
|
2073
2136
|
|
|
2074
2137
|
/**
|
|
2075
|
-
* Media
|
|
2076
|
-
Absolute expiration time from current timestamp.
|
|
2077
|
-
86400 = 1 day retention
|
|
2078
|
-
0 = permanent storage (default)
|
|
2079
|
-
Example: 86400
|
|
2138
|
+
* Media file expiry time is the absolute expiration time from the current system time. to save for one day, enter "86400". to retain permanently, enter "0". the default is permanent preservation.
|
|
2080
2139
|
* @type {number || null}
|
|
2081
2140
|
*/
|
|
2082
2141
|
this.ExpireTime = null;
|
|
2083
2142
|
|
|
2084
2143
|
/**
|
|
2085
|
-
*
|
|
2086
|
-
For users requiring specific upload regions.
|
|
2087
|
-
Example: ap-shanghai
|
|
2144
|
+
* Specify the upload park, applicable only to the user with special requirement for upload region.
|
|
2088
2145
|
* @type {string || null}
|
|
2089
2146
|
*/
|
|
2090
2147
|
this.StorageRegion = null;
|
|
2091
2148
|
|
|
2092
2149
|
/**
|
|
2093
|
-
* Category ID
|
|
2094
|
-
|
|
2095
|
-
Default: 0 (Other category)
|
|
2096
|
-
Example: 0
|
|
2150
|
+
* Category ID is used to categorize and manage media. you can create a category and obtain the category ID through the create category api.
|
|
2151
|
+
The default value is 0, indicating other categories.
|
|
2097
2152
|
* @type {number || null}
|
|
2098
2153
|
*/
|
|
2099
2154
|
this.ClassId = null;
|
|
2100
2155
|
|
|
2101
2156
|
/**
|
|
2102
|
-
*
|
|
2103
|
-
Required when accessing sub-application resources. Leave empty otherwise.
|
|
2104
|
-
Example: 0
|
|
2157
|
+
* Subapplication ID for video-on-demand (vod). if you need to access resources belonging to a subapplication, fill in this field with the subapplication ID. otherwise, this field is not required.
|
|
2105
2158
|
* @type {number || null}
|
|
2106
2159
|
*/
|
|
2107
2160
|
this.SubAppId = null;
|
|
2108
2161
|
|
|
2109
2162
|
/**
|
|
2110
|
-
* Task
|
|
2111
|
-
Passed through in task completion callbacks.
|
|
2112
|
-
Example: user_custom
|
|
2163
|
+
* Task flow context, passed through when task complete.
|
|
2113
2164
|
* @type {string || null}
|
|
2114
2165
|
*/
|
|
2115
2166
|
this.SessionContext = null;
|
|
2116
2167
|
|
|
2117
2168
|
/**
|
|
2118
|
-
* Upload
|
|
2119
|
-
Passed through in upload completion callbacks.
|
|
2120
|
-
Example: user_custom
|
|
2169
|
+
* Upload context, passed through on upload completion callback.
|
|
2121
2170
|
* @type {string || null}
|
|
2122
2171
|
*/
|
|
2123
2172
|
this.SourceContext = null;
|
|
@@ -2441,7 +2490,7 @@ class CloudStorage extends AbstractModel {
|
|
|
2441
2490
|
this.Vendor = null;
|
|
2442
2491
|
|
|
2443
2492
|
/**
|
|
2444
|
-
* [Region information](https://www.tencentcloud.
|
|
2493
|
+
* [Region information](https://www.tencentcloud.comom/document/product/436/6224?from_cn_redirect=1#.E5.9C.B0.E5.9F.9F) of tencent cloud object storage.
|
|
2445
2494
|
Example value: cn-shanghai-1.
|
|
2446
2495
|
|
|
2447
2496
|
[Region information](https://docs.AWS.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions) of AWS S3.
|
|
@@ -2475,6 +2524,12 @@ To store files to tencent cloud object storage (COS), visit https://console.clou
|
|
|
2475
2524
|
*/
|
|
2476
2525
|
this.FileNamePrefix = null;
|
|
2477
2526
|
|
|
2527
|
+
/**
|
|
2528
|
+
* If specified, the client uses this S3-compatible endpoint override instead of the default AWS S3 endpoint. This is useful for S3-compatible storage services such as Cloudflare R2. Example: "account_id.r2.cloudflarestorage.com"
|
|
2529
|
+
* @type {string || null}
|
|
2530
|
+
*/
|
|
2531
|
+
this.EndpointUrl = null;
|
|
2532
|
+
|
|
2478
2533
|
}
|
|
2479
2534
|
|
|
2480
2535
|
/**
|
|
@@ -2490,6 +2545,7 @@ To store files to tencent cloud object storage (COS), visit https://console.clou
|
|
|
2490
2545
|
this.AccessKey = 'AccessKey' in params ? params.AccessKey : null;
|
|
2491
2546
|
this.SecretKey = 'SecretKey' in params ? params.SecretKey : null;
|
|
2492
2547
|
this.FileNamePrefix = 'FileNamePrefix' in params ? params.FileNamePrefix : null;
|
|
2548
|
+
this.EndpointUrl = 'EndpointUrl' in params ? params.EndpointUrl : null;
|
|
2493
2549
|
|
|
2494
2550
|
}
|
|
2495
2551
|
}
|
|
@@ -2917,7 +2973,7 @@ Example value: test-secretkey.
|
|
|
2917
2973
|
}
|
|
2918
2974
|
|
|
2919
2975
|
/**
|
|
2920
|
-
* Render mobile mode
|
|
2976
|
+
* Render the mobile mode parameter. do not set this parameter when not rendering mobile mode.
|
|
2921
2977
|
* @class
|
|
2922
2978
|
*/
|
|
2923
2979
|
class EmulateMobileParams extends AbstractModel {
|
|
@@ -2925,17 +2981,17 @@ class EmulateMobileParams extends AbstractModel {
|
|
|
2925
2981
|
super();
|
|
2926
2982
|
|
|
2927
2983
|
/**
|
|
2928
|
-
* Mobile device
|
|
2929
|
-
|
|
2930
|
-
|
|
2984
|
+
* Mobile device type.
|
|
2985
|
+
Mobile phone.
|
|
2986
|
+
Tablet.
|
|
2931
2987
|
* @type {number || null}
|
|
2932
2988
|
*/
|
|
2933
2989
|
this.MobileDeviceType = null;
|
|
2934
2990
|
|
|
2935
2991
|
/**
|
|
2936
|
-
* Screen orientation
|
|
2937
|
-
|
|
2938
|
-
|
|
2992
|
+
* Screen orientation.
|
|
2993
|
+
Portrait mode.
|
|
2994
|
+
Landscape mode.
|
|
2939
2995
|
* @type {number || null}
|
|
2940
2996
|
*/
|
|
2941
2997
|
this.ScreenOrientation = null;
|
|
@@ -3523,6 +3579,13 @@ class McuUserInfoParams extends AbstractModel {
|
|
|
3523
3579
|
*/
|
|
3524
3580
|
this.UserInfo = null;
|
|
3525
3581
|
|
|
3582
|
+
/**
|
|
3583
|
+
* Audio mix volume adjustment. value ranges from 0 to 100. 100 indicates the original uplink volume. the default value is 100 if left blank. a lower value results in a lower volume.
|
|
3584
|
+
Note: this parameter takes effect only when configured in the volume allowlist and is unavailable in other scenarios.
|
|
3585
|
+
* @type {number || null}
|
|
3586
|
+
*/
|
|
3587
|
+
this.SoundLevel = null;
|
|
3588
|
+
|
|
3526
3589
|
}
|
|
3527
3590
|
|
|
3528
3591
|
/**
|
|
@@ -3538,6 +3601,7 @@ class McuUserInfoParams extends AbstractModel {
|
|
|
3538
3601
|
obj.deserialize(params.UserInfo)
|
|
3539
3602
|
this.UserInfo = obj;
|
|
3540
3603
|
}
|
|
3604
|
+
this.SoundLevel = 'SoundLevel' in params ? params.SoundLevel : null;
|
|
3541
3605
|
|
|
3542
3606
|
}
|
|
3543
3607
|
}
|
|
@@ -3727,7 +3791,7 @@ class McuLayoutParams extends AbstractModel {
|
|
|
3727
3791
|
super();
|
|
3728
3792
|
|
|
3729
3793
|
/**
|
|
3730
|
-
*
|
|
3794
|
+
* Layout mode: dynamic layout (1: floating layout (default), 2: screen sharing layout, 3: nine-grid layout), static layout (4: custom layout). supports up to 16 mixed media streams. if the user only sends upstream audio, it will be counted as one stream. in custom layout, if the sub-screen only uses placeholder images, it will also be counted as one stream.
|
|
3731
3795
|
* @type {number || null}
|
|
3732
3796
|
*/
|
|
3733
3797
|
this.MixLayoutMode = null;
|
|
@@ -3739,7 +3803,7 @@ class McuLayoutParams extends AbstractModel {
|
|
|
3739
3803
|
this.PureAudioHoldPlaceMode = null;
|
|
3740
3804
|
|
|
3741
3805
|
/**
|
|
3742
|
-
*
|
|
3806
|
+
* Valid in custom template. specifies the position of designated user video in mixed display. supports setting up to 16 input streams.
|
|
3743
3807
|
* @type {Array.<McuLayout> || null}
|
|
3744
3808
|
*/
|
|
3745
3809
|
this.MixLayoutList = null;
|
|
@@ -3796,55 +3860,56 @@ class StartWebRecordRequest extends AbstractModel {
|
|
|
3796
3860
|
super();
|
|
3797
3861
|
|
|
3798
3862
|
/**
|
|
3799
|
-
*
|
|
3863
|
+
* [Required] webpage URL that needs to be recorded.
|
|
3800
3864
|
* @type {string || null}
|
|
3801
3865
|
*/
|
|
3802
3866
|
this.RecordUrl = null;
|
|
3803
3867
|
|
|
3804
3868
|
/**
|
|
3805
|
-
*
|
|
3806
|
-
* @type {number || null}
|
|
3807
|
-
*/
|
|
3808
|
-
this.MaxDurationLimit = null;
|
|
3809
|
-
|
|
3810
|
-
/**
|
|
3811
|
-
* [Required] Parameters related to cloud storage. Currently, Tencent Cloud Object Storage and Tencent Cloud VOD are supported, but third-party cloud storage is not supported. The storage format of the output file only supports hls or mp4.
|
|
3869
|
+
* [Required] cloud storage related parameters. currently supports tencent cloud object storage as well as VOD. no support for third-party cloud storage. the storage format of the output file is only supported for hls or mp4.
|
|
3812
3870
|
* @type {StorageParams || null}
|
|
3813
3871
|
*/
|
|
3814
3872
|
this.StorageParams = null;
|
|
3815
3873
|
|
|
3816
3874
|
/**
|
|
3817
|
-
*
|
|
3818
|
-
* @type {
|
|
3875
|
+
* [Required] the SdkAppId of TRTC.
|
|
3876
|
+
* @type {number || null}
|
|
3819
3877
|
*/
|
|
3820
|
-
this.
|
|
3878
|
+
this.SdkAppId = null;
|
|
3821
3879
|
|
|
3822
3880
|
/**
|
|
3823
|
-
*
|
|
3881
|
+
* Maximum recording duration limit in seconds. valid values [1800, 86400]. default 86400s (24 hr).
|
|
3824
3882
|
* @type {number || null}
|
|
3825
3883
|
*/
|
|
3826
|
-
this.
|
|
3884
|
+
this.MaxDurationLimit = null;
|
|
3827
3885
|
|
|
3828
3886
|
/**
|
|
3829
|
-
*
|
|
3887
|
+
* Page recording video parameter.
|
|
3888
|
+
* @type {WebRecordVideoParams || null}
|
|
3889
|
+
*/
|
|
3890
|
+
this.WebRecordVideoParams = null;
|
|
3891
|
+
|
|
3892
|
+
/**
|
|
3893
|
+
* When sensitive to repetition tasks, pay attention to this value: to avoid triggering tasks repeatedly in a short time frame, which may lead to task duplication.
|
|
3894
|
+
Import the recording RecordId to identify the task, less than 32 bytes. if carrying RecordId initiates start recording requests more than twice, only one task will start up, and the second will report error FailedOperation.TaskExist. note that when StartWebRecord call fails instead of FailedOperation.TaskExist error, change RecordId and re-initiate the request.
|
|
3830
3895
|
* @type {string || null}
|
|
3831
3896
|
*/
|
|
3832
3897
|
this.RecordId = null;
|
|
3833
3898
|
|
|
3834
3899
|
/**
|
|
3835
|
-
* If you want to push
|
|
3900
|
+
* If you want to push stream to CDN, you can configure parameters in PublishCdnParams.N. it supports streaming simultaneously to up to 10 CDN addresses. if the relay address is tencent cloud CDN, set IsTencentCdn to 1.
|
|
3836
3901
|
* @type {Array.<McuPublishCdnParam> || null}
|
|
3837
3902
|
*/
|
|
3838
3903
|
this.PublishCdnParams = null;
|
|
3839
3904
|
|
|
3840
3905
|
/**
|
|
3841
|
-
*
|
|
3906
|
+
* Timeout period for recording page resource loading, unit: second. default value is 0, which must be greater than or equal to 0 and less than or equal to 60. do not set this parameter when page loading timeout detection is disabled for the recording page.
|
|
3842
3907
|
* @type {number || null}
|
|
3843
3908
|
*/
|
|
3844
3909
|
this.ReadyTimeout = null;
|
|
3845
3910
|
|
|
3846
3911
|
/**
|
|
3847
|
-
* Render mobile mode
|
|
3912
|
+
* Render the mobile mode parameter. do not set this parameter when not preparing to render the mobile mode webpage.
|
|
3848
3913
|
* @type {EmulateMobileParams || null}
|
|
3849
3914
|
*/
|
|
3850
3915
|
this.EmulateMobileParams = null;
|
|
@@ -3859,20 +3924,20 @@ class StartWebRecordRequest extends AbstractModel {
|
|
|
3859
3924
|
return;
|
|
3860
3925
|
}
|
|
3861
3926
|
this.RecordUrl = 'RecordUrl' in params ? params.RecordUrl : null;
|
|
3862
|
-
this.MaxDurationLimit = 'MaxDurationLimit' in params ? params.MaxDurationLimit : null;
|
|
3863
3927
|
|
|
3864
3928
|
if (params.StorageParams) {
|
|
3865
3929
|
let obj = new StorageParams();
|
|
3866
3930
|
obj.deserialize(params.StorageParams)
|
|
3867
3931
|
this.StorageParams = obj;
|
|
3868
3932
|
}
|
|
3933
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
3934
|
+
this.MaxDurationLimit = 'MaxDurationLimit' in params ? params.MaxDurationLimit : null;
|
|
3869
3935
|
|
|
3870
3936
|
if (params.WebRecordVideoParams) {
|
|
3871
3937
|
let obj = new WebRecordVideoParams();
|
|
3872
3938
|
obj.deserialize(params.WebRecordVideoParams)
|
|
3873
3939
|
this.WebRecordVideoParams = obj;
|
|
3874
3940
|
}
|
|
3875
|
-
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
3876
3941
|
this.RecordId = 'RecordId' in params ? params.RecordId : null;
|
|
3877
3942
|
|
|
3878
3943
|
if (params.PublishCdnParams) {
|
|
@@ -4362,7 +4427,10 @@ class McuWaterMarkImage extends AbstractModel {
|
|
|
4362
4427
|
super();
|
|
4363
4428
|
|
|
4364
4429
|
/**
|
|
4365
|
-
*
|
|
4430
|
+
* Watermark image URL address. supports png, jpg, and jpeg formats. image size limit not more than 5MB.
|
|
4431
|
+
Note:.
|
|
4432
|
+
Make sure the image link has data accessibility. the backend download timeout is 10 seconds with a maximum of 3 retries. if the image download fails eventually, the watermark image will not take effect.
|
|
4433
|
+
2. supported character sets for urls: ['0-9', 'a-z', 'a-z', '-', '.', '_', '~', ':', '/', '?', '#', '[', ']', '@', '!', '&', '(', ')', '*', '+', ',', '%', '=', ';', '|']. make sure url characters are within the supported character sets. if any characters exist outside the supported character sets, the watermark image will not take effect.
|
|
4366
4434
|
* @type {string || null}
|
|
4367
4435
|
*/
|
|
4368
4436
|
this.WaterMarkUrl = null;
|
|
@@ -4397,6 +4465,12 @@ class McuWaterMarkImage extends AbstractModel {
|
|
|
4397
4465
|
*/
|
|
4398
4466
|
this.ZOrder = null;
|
|
4399
4467
|
|
|
4468
|
+
/**
|
|
4469
|
+
*
|
|
4470
|
+
* @type {number || null}
|
|
4471
|
+
*/
|
|
4472
|
+
this.DynamicPosType = null;
|
|
4473
|
+
|
|
4400
4474
|
}
|
|
4401
4475
|
|
|
4402
4476
|
/**
|
|
@@ -4412,6 +4486,7 @@ class McuWaterMarkImage extends AbstractModel {
|
|
|
4412
4486
|
this.LocationX = 'LocationX' in params ? params.LocationX : null;
|
|
4413
4487
|
this.LocationY = 'LocationY' in params ? params.LocationY : null;
|
|
4414
4488
|
this.ZOrder = 'ZOrder' in params ? params.ZOrder : null;
|
|
4489
|
+
this.DynamicPosType = 'DynamicPosType' in params ? params.DynamicPosType : null;
|
|
4415
4490
|
|
|
4416
4491
|
}
|
|
4417
4492
|
}
|
|
@@ -4425,7 +4500,7 @@ class StartPublishCdnStreamResponse extends AbstractModel {
|
|
|
4425
4500
|
super();
|
|
4426
4501
|
|
|
4427
4502
|
/**
|
|
4428
|
-
*
|
|
4503
|
+
* Used to uniquely identify the forwarding task, generated by the tencent cloud server. you need to carry the TaskID parameter for follow-up updates and to stop the request.
|
|
4429
4504
|
* @type {string || null}
|
|
4430
4505
|
*/
|
|
4431
4506
|
this.TaskId = null;
|
|
@@ -4919,7 +4994,7 @@ class WaterMark extends AbstractModel {
|
|
|
4919
4994
|
}
|
|
4920
4995
|
|
|
4921
4996
|
/**
|
|
4922
|
-
* Mcu relay recording
|
|
4997
|
+
* Mcu relay recording. third-party object storage parameters.
|
|
4923
4998
|
* @class
|
|
4924
4999
|
*/
|
|
4925
5000
|
class McuStorageParams extends AbstractModel {
|
|
@@ -4927,16 +5002,13 @@ class McuStorageParams extends AbstractModel {
|
|
|
4927
5002
|
super();
|
|
4928
5003
|
|
|
4929
5004
|
/**
|
|
4930
|
-
*
|
|
4931
|
-
(Note: Storing files in Object Storage COS will incur recording file delivery fees. For details, see [Cloud Recording Billing]. Storing in VOD does not incur this fee.)
|
|
4932
|
-
Example:{"Vendor":0,"Region":"ap-shanghai","Bucket":"*","AccessKey":"*","SecretKey":"***","FileNamePrefix":["mcu_record"]}
|
|
5005
|
+
* Account information for third-party cloud storage (special note: if you select storage to cloud object storage (COS), there will be a charge for shipping recorded files to COS. for details, see cloud recording pricing information. storing to VOD will incur no charge for this item.).
|
|
4933
5006
|
* @type {CloudStorage || null}
|
|
4934
5007
|
*/
|
|
4935
5008
|
this.CloudStorage = null;
|
|
4936
5009
|
|
|
4937
5010
|
/**
|
|
4938
|
-
*
|
|
4939
|
-
Example:{"McuTencentVod":{"ExpireTime":86400}}
|
|
5011
|
+
* Account information of tencent cloud vod.
|
|
4940
5012
|
* @type {McuCloudVod || null}
|
|
4941
5013
|
*/
|
|
4942
5014
|
this.McuCloudVod = null;
|
|
@@ -5697,7 +5769,8 @@ class McuPassThrough extends AbstractModel {
|
|
|
5697
5769
|
this.PayloadContent = null;
|
|
5698
5770
|
|
|
5699
5771
|
/**
|
|
5700
|
-
*
|
|
5772
|
+
* PayloadType of SEI message. valid values: 5, 100-254 (exclusion: 244, which is internal custom timestamp SEI).
|
|
5773
|
+
Note: some players may not support the standard type with PayloadType 5 and PayloadUuid. recommend using another PayloadType.
|
|
5701
5774
|
* @type {number || null}
|
|
5702
5775
|
*/
|
|
5703
5776
|
this.PayloadType = null;
|
|
@@ -5747,7 +5820,7 @@ class StartWebRecordResponse extends AbstractModel {
|
|
|
5747
5820
|
super();
|
|
5748
5821
|
|
|
5749
5822
|
/**
|
|
5750
|
-
*
|
|
5823
|
+
* Unique Id of the recording task.
|
|
5751
5824
|
* @type {string || null}
|
|
5752
5825
|
*/
|
|
5753
5826
|
this.TaskId = null;
|
|
@@ -5974,7 +6047,7 @@ class CreateCloudRecordingRequest extends AbstractModel {
|
|
|
5974
6047
|
this.SdkAppId = null;
|
|
5975
6048
|
|
|
5976
6049
|
/**
|
|
5977
|
-
* [RoomId](https://www.tencentcloud.
|
|
6050
|
+
* [RoomId](https://www.tencentcloud.comom/document/product/647/46351?from_cn_redirect=1#RoomId) of TRTC, which is the RoomId corresponding to the TRTC room in the recording.
|
|
5978
6051
|
Note: the room id type defaults to integer. if the room id type is a string, specify it via RoomIdType.
|
|
5979
6052
|
|
|
5980
6053
|
* @type {string || null}
|
|
@@ -6448,74 +6521,74 @@ class StartPublishCdnStreamRequest extends AbstractModel {
|
|
|
6448
6521
|
super();
|
|
6449
6522
|
|
|
6450
6523
|
/**
|
|
6451
|
-
*
|
|
6524
|
+
* [SdkAppId](https://www.tencentcloud.comom/document/product/647/46351?from_cn_redirect=1#SdkAppId) of TRTC, which is the same as the SdkAppId corresponding to the relayed room.
|
|
6452
6525
|
* @type {number || null}
|
|
6453
6526
|
*/
|
|
6454
6527
|
this.SdkAppId = null;
|
|
6455
6528
|
|
|
6456
6529
|
/**
|
|
6457
|
-
*
|
|
6530
|
+
* Main room information RoomId, the RoomId corresponding to the TRTC room for relay.
|
|
6458
6531
|
* @type {string || null}
|
|
6459
6532
|
*/
|
|
6460
6533
|
this.RoomId = null;
|
|
6461
6534
|
|
|
6462
6535
|
/**
|
|
6463
|
-
*
|
|
6536
|
+
* Main room information RoomType must be the same as the RoomId type of the relayed room. 0 indicates integer type room id, and 1 indicates string room number.
|
|
6464
6537
|
* @type {number || null}
|
|
6465
6538
|
*/
|
|
6466
6539
|
this.RoomIdType = null;
|
|
6467
6540
|
|
|
6468
6541
|
/**
|
|
6469
|
-
*
|
|
6542
|
+
* Relay service bot parameters for joining TRTC room.
|
|
6470
6543
|
* @type {AgentParams || null}
|
|
6471
6544
|
*/
|
|
6472
6545
|
this.AgentParams = null;
|
|
6473
6546
|
|
|
6474
6547
|
/**
|
|
6475
|
-
* Whether to transcode
|
|
6548
|
+
* Whether to transcode. 0 indicates no need to transcode, 1 indicates requirement to transcode. whether to charge transcoding fee is determined by the WithTranscoding parameter. WithTranscoding set to 0 means bypass forwarding and no transcoding costs will be incurred. WithTranscoding set to 1 means mixed-stream relay and transcoding costs will be charged.
|
|
6549
|
+
Note: transcoding is required for stream mixing, and this parameter must be set to 1.
|
|
6476
6550
|
* @type {number || null}
|
|
6477
6551
|
*/
|
|
6478
6552
|
this.WithTranscoding = null;
|
|
6479
6553
|
|
|
6480
6554
|
/**
|
|
6481
|
-
*
|
|
6555
|
+
* Audio encoding parameters for stream retransmission. since audio must be transcoded (no transcoding costs will be incurred), this field is required when starting a task.
|
|
6482
6556
|
* @type {McuAudioParams || null}
|
|
6483
6557
|
*/
|
|
6484
6558
|
this.AudioParams = null;
|
|
6485
6559
|
|
|
6486
6560
|
/**
|
|
6487
|
-
*
|
|
6561
|
+
* Video encoding parameters for the relay stream. leave blank for audio-only relay.
|
|
6488
6562
|
* @type {McuVideoParams || null}
|
|
6489
6563
|
*/
|
|
6490
6564
|
this.VideoParams = null;
|
|
6491
6565
|
|
|
6492
6566
|
/**
|
|
6493
|
-
* The
|
|
6567
|
+
* The user uplink parameters require single stream bypass forwarding. WithTranscoding needs to be set to 0 for single stream bypass forwarding.
|
|
6494
6568
|
* @type {SingleSubscribeParams || null}
|
|
6495
6569
|
*/
|
|
6496
6570
|
this.SingleSubscribeParams = null;
|
|
6497
6571
|
|
|
6498
6572
|
/**
|
|
6499
|
-
* The
|
|
6573
|
+
* The CDN parameters for relay push support up to 10 push urls for a task. there must be one pushback room parameter.
|
|
6500
6574
|
* @type {Array.<McuPublishCdnParam> || null}
|
|
6501
6575
|
*/
|
|
6502
6576
|
this.PublishCdnParams = null;
|
|
6503
6577
|
|
|
6504
6578
|
/**
|
|
6505
|
-
*
|
|
6579
|
+
* Stream mixing SEI parameter.
|
|
6506
6580
|
* @type {McuSeiParams || null}
|
|
6507
6581
|
*/
|
|
6508
6582
|
this.SeiParams = null;
|
|
6509
6583
|
|
|
6510
6584
|
/**
|
|
6511
|
-
*
|
|
6585
|
+
* Push back room information. a task supports up to 10 push rooms, and there must be one forward CDN parameter. note: use SDK version 10.4 or higher to push room. if you need assistance, contact tencent cloud technical support.
|
|
6512
6586
|
* @type {Array.<McuFeedBackRoomParams> || null}
|
|
6513
6587
|
*/
|
|
6514
6588
|
this.FeedBackRoomParams = null;
|
|
6515
6589
|
|
|
6516
6590
|
/**
|
|
6517
|
-
* Relay
|
|
6518
|
-
Example value:{"UniRecord":1,"RecordKey": "test_recore_key_a"}
|
|
6591
|
+
* Relay recording parameters. refer to the reference document (https://www.tencentcloud.comom/document/product/647/111748?from_cn_redirect=1).
|
|
6519
6592
|
* @type {McuRecordParams || null}
|
|
6520
6593
|
*/
|
|
6521
6594
|
this.RecordParams = null;
|
|
@@ -7260,7 +7333,7 @@ class StopStreamIngestRequest extends AbstractModel {
|
|
|
7260
7333
|
}
|
|
7261
7334
|
|
|
7262
7335
|
/**
|
|
7263
|
-
*
|
|
7336
|
+
* Recording control parameters.
|
|
7264
7337
|
* @class
|
|
7265
7338
|
*/
|
|
7266
7339
|
class WebRecordVideoParams extends AbstractModel {
|
|
@@ -7268,28 +7341,28 @@ class WebRecordVideoParams extends AbstractModel {
|
|
|
7268
7341
|
super();
|
|
7269
7342
|
|
|
7270
7343
|
/**
|
|
7271
|
-
* Recording
|
|
7344
|
+
* Recording image width defaults to 1280, with a value range of [0, 1920].
|
|
7272
7345
|
* @type {number || null}
|
|
7273
7346
|
*/
|
|
7274
7347
|
this.Width = null;
|
|
7275
7348
|
|
|
7276
7349
|
/**
|
|
7277
|
-
* Recording
|
|
7350
|
+
* Recording image height, defaults to 720, in the range of [0, 1080].
|
|
7278
7351
|
* @type {number || null}
|
|
7279
7352
|
*/
|
|
7280
7353
|
this.Height = null;
|
|
7281
7354
|
|
|
7282
7355
|
/**
|
|
7283
|
-
* Specify
|
|
7284
|
-
|
|
7356
|
+
* Specify output format. valid values: hls, mp4. this parameter is invalid when storing in VOD. to store in VOD, set MediaType in TencentVod (https://www.tencentcloud.comom/document/api/647/44055?from_cn_redirect=1#TencentVod).
|
|
7357
|
+
|
|
7285
7358
|
* @type {string || null}
|
|
7286
7359
|
*/
|
|
7287
7360
|
this.Format = null;
|
|
7288
7361
|
|
|
7289
7362
|
/**
|
|
7290
|
-
* If the file format is aac or mp4, the system will automatically split the video file when
|
|
7291
|
-
|
|
7292
|
-
|
|
7363
|
+
* If the file format is aac or mp4, the system will automatically split the video file when the length limit is exceeded. measurement unit: minute. defaults to 1440 min (24h). value range: 1-1440. [single file limit is 2G. if file size exceeds 2G or recording duration exceeds 24h, the file will be automatically split.].
|
|
7364
|
+
Hls format recording. this parameter is not effective.
|
|
7365
|
+
Example value: 1440.
|
|
7293
7366
|
* @type {number || null}
|
|
7294
7367
|
*/
|
|
7295
7368
|
this.MaxMediaFileDuration = null;
|
|
@@ -7999,7 +8072,7 @@ class MixUserInfo extends AbstractModel {
|
|
|
7999
8072
|
this.RoomId = null;
|
|
8000
8073
|
|
|
8001
8074
|
/**
|
|
8002
|
-
*
|
|
8075
|
+
* Room id type. 0 indicates integer room number. 1 indicates string room number.
|
|
8003
8076
|
* @type {number || null}
|
|
8004
8077
|
*/
|
|
8005
8078
|
this.RoomIdType = null;
|
|
@@ -8798,6 +8871,24 @@ class McuWaterMarkText extends AbstractModel {
|
|
|
8798
8871
|
*/
|
|
8799
8872
|
this.BackGroundColor = null;
|
|
8800
8873
|
|
|
8874
|
+
/**
|
|
8875
|
+
*
|
|
8876
|
+
* @type {number || null}
|
|
8877
|
+
*/
|
|
8878
|
+
this.DynamicPosType = null;
|
|
8879
|
+
|
|
8880
|
+
/**
|
|
8881
|
+
*
|
|
8882
|
+
* @type {number || null}
|
|
8883
|
+
*/
|
|
8884
|
+
this.ZOrder = null;
|
|
8885
|
+
|
|
8886
|
+
/**
|
|
8887
|
+
* Watermark font, by default if left blank is Tencent. valid values: Tencent (default), SourceHanSans.
|
|
8888
|
+
* @type {string || null}
|
|
8889
|
+
*/
|
|
8890
|
+
this.Font = null;
|
|
8891
|
+
|
|
8801
8892
|
}
|
|
8802
8893
|
|
|
8803
8894
|
/**
|
|
@@ -8815,6 +8906,9 @@ class McuWaterMarkText extends AbstractModel {
|
|
|
8815
8906
|
this.FontSize = 'FontSize' in params ? params.FontSize : null;
|
|
8816
8907
|
this.FontColor = 'FontColor' in params ? params.FontColor : null;
|
|
8817
8908
|
this.BackGroundColor = 'BackGroundColor' in params ? params.BackGroundColor : null;
|
|
8909
|
+
this.DynamicPosType = 'DynamicPosType' in params ? params.DynamicPosType : null;
|
|
8910
|
+
this.ZOrder = 'ZOrder' in params ? params.ZOrder : null;
|
|
8911
|
+
this.Font = 'Font' in params ? params.Font : null;
|
|
8818
8912
|
|
|
8819
8913
|
}
|
|
8820
8914
|
}
|
|
@@ -9000,7 +9094,7 @@ class RecordParams extends AbstractModel {
|
|
|
9000
9094
|
/**
|
|
9001
9095
|
* Output file format (valid when stored in third-party storage such as COS). 0: (default) output file is in hls format. 1: output file format is hls+mp4. 2: output file format is hls+aac. 3: output file format is mp4. 4: output file format is aac.
|
|
9002
9096
|
|
|
9003
|
-
This parameter is invalid when storing in VOD. when storing in VOD, set MediaType in TencentVod (https://www.tencentcloud.
|
|
9097
|
+
This parameter is invalid when storing in VOD. when storing in VOD, set MediaType in TencentVod (https://www.tencentcloud.comom/document/api/647/44055?from_cn_redirect=1#TencentVod).
|
|
9004
9098
|
* @type {number || null}
|
|
9005
9099
|
*/
|
|
9006
9100
|
this.OutputFormat = null;
|
|
@@ -9149,8 +9243,9 @@ class McuAudioParams extends AbstractModel {
|
|
|
9149
9243
|
this.AudioEncode = null;
|
|
9150
9244
|
|
|
9151
9245
|
/**
|
|
9152
|
-
* The audio
|
|
9153
|
-
|
|
9246
|
+
* The audio user allowlist. for start, being empty or not filled means mixing all anchor audio; filling a specific value means mixing specified anchor audio. for update, not filling means does not update; being empty means update to mixing all anchor audio; filling a specific value means update to mixing specified anchor audio.
|
|
9247
|
+
When using blocklist and allowlist, both must be filled in simultaneously. if left empty, it means the list does not update. if the same user is in both lists, the blocklist takes precedence.
|
|
9248
|
+
Note: if it is cross-room pk, the cross-room mix requires specifying the audio allowlist, otherwise the pk host's audio uplink will be pulled twice, causing accent.
|
|
9154
9249
|
* @type {Array.<McuUserInfoParams> || null}
|
|
9155
9250
|
*/
|
|
9156
9251
|
this.SubscribeAudioList = null;
|
|
@@ -9345,7 +9440,7 @@ class StopAITranscriptionResponse extends AbstractModel {
|
|
|
9345
9440
|
}
|
|
9346
9441
|
|
|
9347
9442
|
/**
|
|
9348
|
-
*
|
|
9443
|
+
*
|
|
9349
9444
|
* @class
|
|
9350
9445
|
*/
|
|
9351
9446
|
class WaterMarkTimestamp extends AbstractModel {
|
|
@@ -9380,7 +9475,7 @@ class WaterMarkTimestamp extends AbstractModel {
|
|
|
9380
9475
|
}
|
|
9381
9476
|
|
|
9382
9477
|
/**
|
|
9383
|
-
* Mcu relay recording
|
|
9478
|
+
* Mcu relay recording. on-demand video related parameters.
|
|
9384
9479
|
* @class
|
|
9385
9480
|
*/
|
|
9386
9481
|
class McuCloudVod extends AbstractModel {
|
|
@@ -9388,8 +9483,7 @@ class McuCloudVod extends AbstractModel {
|
|
|
9388
9483
|
super();
|
|
9389
9484
|
|
|
9390
9485
|
/**
|
|
9391
|
-
*
|
|
9392
|
-
Example :{"ExpireTime":86400}
|
|
9486
|
+
* Parameters of tencent cloud video on demand (vod).
|
|
9393
9487
|
* @type {McuTencentVod || null}
|
|
9394
9488
|
*/
|
|
9395
9489
|
this.McuTencentVod = null;
|
|
@@ -9808,6 +9902,7 @@ module.exports = {
|
|
|
9808
9902
|
DescribeUserEventRequest: DescribeUserEventRequest,
|
|
9809
9903
|
DeleteCloudModerationRequest: DeleteCloudModerationRequest,
|
|
9810
9904
|
SetUserBlockedResponse: SetUserBlockedResponse,
|
|
9905
|
+
McuBackgroundCustomRender: McuBackgroundCustomRender,
|
|
9811
9906
|
WaterMarkChar: WaterMarkChar,
|
|
9812
9907
|
DescribeTrtcRoomUsageResponse: DescribeTrtcRoomUsageResponse,
|
|
9813
9908
|
StopPublishCdnStreamResponse: StopPublishCdnStreamResponse,
|