tencentcloud-sdk-nodejs-intl-en 3.0.1218 → 3.0.1219
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/mps/v20190612/models.js +327 -150
- package/tencentcloud/ocr/v20181119/models.js +435 -146
- package/tencentcloud/ocr/v20181119/ocr_client.js +21 -2
- package/tencentcloud/trtc/v20190722/models.js +493 -112
- package/tencentcloud/trtc/v20190722/trtc_client.js +44 -3
|
@@ -1678,6 +1678,55 @@ Example: user_custom
|
|
|
1678
1678
|
}
|
|
1679
1679
|
}
|
|
1680
1680
|
|
|
1681
|
+
/**
|
|
1682
|
+
* DescribeWebRecord response structure.
|
|
1683
|
+
* @class
|
|
1684
|
+
*/
|
|
1685
|
+
class DescribeWebRecordResponse extends AbstractModel {
|
|
1686
|
+
constructor(){
|
|
1687
|
+
super();
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* 1: Recording
|
|
1691
|
+
* @type {number || null}
|
|
1692
|
+
*/
|
|
1693
|
+
this.Status = null;
|
|
1694
|
+
|
|
1695
|
+
/**
|
|
1696
|
+
* Returns when querying using RecordId
|
|
1697
|
+
* @type {string || null}
|
|
1698
|
+
*/
|
|
1699
|
+
this.TaskId = null;
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* Returned when querying using TaskId
|
|
1703
|
+
* @type {string || null}
|
|
1704
|
+
*/
|
|
1705
|
+
this.RecordId = null;
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* 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.
|
|
1709
|
+
* @type {string || null}
|
|
1710
|
+
*/
|
|
1711
|
+
this.RequestId = null;
|
|
1712
|
+
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
/**
|
|
1716
|
+
* @private
|
|
1717
|
+
*/
|
|
1718
|
+
deserialize(params) {
|
|
1719
|
+
if (!params) {
|
|
1720
|
+
return;
|
|
1721
|
+
}
|
|
1722
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1723
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
1724
|
+
this.RecordId = 'RecordId' in params ? params.RecordId : null;
|
|
1725
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1726
|
+
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1681
1730
|
/**
|
|
1682
1731
|
* DescribeUserInfo request structure.
|
|
1683
1732
|
* @class
|
|
@@ -1980,6 +2029,48 @@ class CreateCloudRecordingResponse extends AbstractModel {
|
|
|
1980
2029
|
}
|
|
1981
2030
|
}
|
|
1982
2031
|
|
|
2032
|
+
/**
|
|
2033
|
+
* DescribeWebRecord request structure.
|
|
2034
|
+
* @class
|
|
2035
|
+
*/
|
|
2036
|
+
class DescribeWebRecordRequest extends AbstractModel {
|
|
2037
|
+
constructor(){
|
|
2038
|
+
super();
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* The task ID returned when starting web-page recording
|
|
2042
|
+
* @type {string || null}
|
|
2043
|
+
*/
|
|
2044
|
+
this.TaskId = null;
|
|
2045
|
+
|
|
2046
|
+
/**
|
|
2047
|
+
* SdkAppId passed when initiating web-page recording
|
|
2048
|
+
* @type {number || null}
|
|
2049
|
+
*/
|
|
2050
|
+
this.SdkAppId = null;
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* RecordId passed when initiating recording. When passing this value, you need to pass SdkAppId
|
|
2054
|
+
* @type {string || null}
|
|
2055
|
+
*/
|
|
2056
|
+
this.RecordId = null;
|
|
2057
|
+
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* @private
|
|
2062
|
+
*/
|
|
2063
|
+
deserialize(params) {
|
|
2064
|
+
if (!params) {
|
|
2065
|
+
return;
|
|
2066
|
+
}
|
|
2067
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
2068
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
2069
|
+
this.RecordId = 'RecordId' in params ? params.RecordId : null;
|
|
2070
|
+
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
|
|
1983
2074
|
/**
|
|
1984
2075
|
* DescribeTRTCRealTimeScaleData response structure.
|
|
1985
2076
|
* @class
|
|
@@ -2166,6 +2257,41 @@ class CloudVod extends AbstractModel {
|
|
|
2166
2257
|
}
|
|
2167
2258
|
}
|
|
2168
2259
|
|
|
2260
|
+
/**
|
|
2261
|
+
*
|
|
2262
|
+
* @class
|
|
2263
|
+
*/
|
|
2264
|
+
class EmulateMobileParams extends AbstractModel {
|
|
2265
|
+
constructor(){
|
|
2266
|
+
super();
|
|
2267
|
+
|
|
2268
|
+
/**
|
|
2269
|
+
*
|
|
2270
|
+
* @type {number || null}
|
|
2271
|
+
*/
|
|
2272
|
+
this.MobileDeviceType = null;
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
*
|
|
2276
|
+
* @type {number || null}
|
|
2277
|
+
*/
|
|
2278
|
+
this.ScreenOrientation = null;
|
|
2279
|
+
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
/**
|
|
2283
|
+
* @private
|
|
2284
|
+
*/
|
|
2285
|
+
deserialize(params) {
|
|
2286
|
+
if (!params) {
|
|
2287
|
+
return;
|
|
2288
|
+
}
|
|
2289
|
+
this.MobileDeviceType = 'MobileDeviceType' in params ? params.MobileDeviceType : null;
|
|
2290
|
+
this.ScreenOrientation = 'ScreenOrientation' in params ? params.ScreenOrientation : null;
|
|
2291
|
+
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2169
2295
|
/**
|
|
2170
2296
|
* DescribeCallDetailInfo response structure.
|
|
2171
2297
|
* @class
|
|
@@ -3218,6 +3344,55 @@ class UpdateStreamIngestResponse extends AbstractModel {
|
|
|
3218
3344
|
}
|
|
3219
3345
|
}
|
|
3220
3346
|
|
|
3347
|
+
/**
|
|
3348
|
+
*
|
|
3349
|
+
* @class
|
|
3350
|
+
*/
|
|
3351
|
+
class WebRecordVideoParams extends AbstractModel {
|
|
3352
|
+
constructor(){
|
|
3353
|
+
super();
|
|
3354
|
+
|
|
3355
|
+
/**
|
|
3356
|
+
*
|
|
3357
|
+
* @type {number || null}
|
|
3358
|
+
*/
|
|
3359
|
+
this.Width = null;
|
|
3360
|
+
|
|
3361
|
+
/**
|
|
3362
|
+
*
|
|
3363
|
+
* @type {number || null}
|
|
3364
|
+
*/
|
|
3365
|
+
this.Height = null;
|
|
3366
|
+
|
|
3367
|
+
/**
|
|
3368
|
+
*
|
|
3369
|
+
* @type {string || null}
|
|
3370
|
+
*/
|
|
3371
|
+
this.Format = null;
|
|
3372
|
+
|
|
3373
|
+
/**
|
|
3374
|
+
*
|
|
3375
|
+
* @type {number || null}
|
|
3376
|
+
*/
|
|
3377
|
+
this.MaxMediaFileDuration = null;
|
|
3378
|
+
|
|
3379
|
+
}
|
|
3380
|
+
|
|
3381
|
+
/**
|
|
3382
|
+
* @private
|
|
3383
|
+
*/
|
|
3384
|
+
deserialize(params) {
|
|
3385
|
+
if (!params) {
|
|
3386
|
+
return;
|
|
3387
|
+
}
|
|
3388
|
+
this.Width = 'Width' in params ? params.Width : null;
|
|
3389
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
3390
|
+
this.Format = 'Format' in params ? params.Format : null;
|
|
3391
|
+
this.MaxMediaFileDuration = 'MaxMediaFileDuration' in params ? params.MaxMediaFileDuration : null;
|
|
3392
|
+
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
|
|
3221
3396
|
/**
|
|
3222
3397
|
* The information of the watermark image.
|
|
3223
3398
|
* @class
|
|
@@ -4531,6 +4706,41 @@ class DescribeTRTCRealTimeQualityDataRequest extends AbstractModel {
|
|
|
4531
4706
|
}
|
|
4532
4707
|
}
|
|
4533
4708
|
|
|
4709
|
+
/**
|
|
4710
|
+
* StartWebRecord response structure.
|
|
4711
|
+
* @class
|
|
4712
|
+
*/
|
|
4713
|
+
class StartWebRecordResponse extends AbstractModel {
|
|
4714
|
+
constructor(){
|
|
4715
|
+
super();
|
|
4716
|
+
|
|
4717
|
+
/**
|
|
4718
|
+
* The unique ID of the recording task
|
|
4719
|
+
* @type {string || null}
|
|
4720
|
+
*/
|
|
4721
|
+
this.TaskId = null;
|
|
4722
|
+
|
|
4723
|
+
/**
|
|
4724
|
+
* 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.
|
|
4725
|
+
* @type {string || null}
|
|
4726
|
+
*/
|
|
4727
|
+
this.RequestId = null;
|
|
4728
|
+
|
|
4729
|
+
}
|
|
4730
|
+
|
|
4731
|
+
/**
|
|
4732
|
+
* @private
|
|
4733
|
+
*/
|
|
4734
|
+
deserialize(params) {
|
|
4735
|
+
if (!params) {
|
|
4736
|
+
return;
|
|
4737
|
+
}
|
|
4738
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
4739
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4740
|
+
|
|
4741
|
+
}
|
|
4742
|
+
}
|
|
4743
|
+
|
|
4534
4744
|
/**
|
|
4535
4745
|
* CreateCloudRecording request structure.
|
|
4536
4746
|
* @class
|
|
@@ -5251,6 +5461,62 @@ class DeleteCloudRecordingRequest extends AbstractModel {
|
|
|
5251
5461
|
}
|
|
5252
5462
|
}
|
|
5253
5463
|
|
|
5464
|
+
/**
|
|
5465
|
+
* The video transcoding parameters for recording.
|
|
5466
|
+
* @class
|
|
5467
|
+
*/
|
|
5468
|
+
class VideoParams extends AbstractModel {
|
|
5469
|
+
constructor(){
|
|
5470
|
+
super();
|
|
5471
|
+
|
|
5472
|
+
/**
|
|
5473
|
+
* The video width in pixels. The value of this parameter cannot be larger than 1920, and the result of multiplying `Width` and `Height` cannot exceed 1920 x 1080. The default value is `360`.
|
|
5474
|
+
* @type {number || null}
|
|
5475
|
+
*/
|
|
5476
|
+
this.Width = null;
|
|
5477
|
+
|
|
5478
|
+
/**
|
|
5479
|
+
* The video height in pixels. The value of this parameter cannot be larger than 1920, and the result of multiplying `Width` and `Height` cannot exceed 1920 x 1080. The default value is `640`.
|
|
5480
|
+
* @type {number || null}
|
|
5481
|
+
*/
|
|
5482
|
+
this.Height = null;
|
|
5483
|
+
|
|
5484
|
+
/**
|
|
5485
|
+
* The video frame rate. Value range: [1, 60]. Default: 15.
|
|
5486
|
+
* @type {number || null}
|
|
5487
|
+
*/
|
|
5488
|
+
this.Fps = null;
|
|
5489
|
+
|
|
5490
|
+
/**
|
|
5491
|
+
* The video bitrate (bps). Value range: [64000, 8192000]. Default: 550000.
|
|
5492
|
+
* @type {number || null}
|
|
5493
|
+
*/
|
|
5494
|
+
this.BitRate = null;
|
|
5495
|
+
|
|
5496
|
+
/**
|
|
5497
|
+
* The keyframe interval (seconds). Default value: 10.
|
|
5498
|
+
* @type {number || null}
|
|
5499
|
+
*/
|
|
5500
|
+
this.Gop = null;
|
|
5501
|
+
|
|
5502
|
+
}
|
|
5503
|
+
|
|
5504
|
+
/**
|
|
5505
|
+
* @private
|
|
5506
|
+
*/
|
|
5507
|
+
deserialize(params) {
|
|
5508
|
+
if (!params) {
|
|
5509
|
+
return;
|
|
5510
|
+
}
|
|
5511
|
+
this.Width = 'Width' in params ? params.Width : null;
|
|
5512
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
5513
|
+
this.Fps = 'Fps' in params ? params.Fps : null;
|
|
5514
|
+
this.BitRate = 'BitRate' in params ? params.BitRate : null;
|
|
5515
|
+
this.Gop = 'Gop' in params ? params.Gop : null;
|
|
5516
|
+
|
|
5517
|
+
}
|
|
5518
|
+
}
|
|
5519
|
+
|
|
5254
5520
|
/**
|
|
5255
5521
|
* SetUserBlockedByStrRoomId request structure.
|
|
5256
5522
|
* @class
|
|
@@ -5766,10 +6032,10 @@ class StartAITranscriptionRequest extends AbstractModel {
|
|
|
5766
6032
|
}
|
|
5767
6033
|
|
|
5768
6034
|
/**
|
|
5769
|
-
*
|
|
6035
|
+
* DismissRoom response structure.
|
|
5770
6036
|
* @class
|
|
5771
6037
|
*/
|
|
5772
|
-
class
|
|
6038
|
+
class DismissRoomResponse extends AbstractModel {
|
|
5773
6039
|
constructor(){
|
|
5774
6040
|
super();
|
|
5775
6041
|
|
|
@@ -5794,22 +6060,50 @@ class StopStreamIngestResponse extends AbstractModel {
|
|
|
5794
6060
|
}
|
|
5795
6061
|
|
|
5796
6062
|
/**
|
|
5797
|
-
*
|
|
6063
|
+
* StopStreamIngest response structure.
|
|
5798
6064
|
* @class
|
|
5799
6065
|
*/
|
|
5800
|
-
class
|
|
6066
|
+
class StopStreamIngestResponse extends AbstractModel {
|
|
5801
6067
|
constructor(){
|
|
5802
6068
|
super();
|
|
5803
6069
|
|
|
5804
6070
|
/**
|
|
5805
|
-
*
|
|
6071
|
+
* 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
6072
|
* @type {string || null}
|
|
5807
6073
|
*/
|
|
5808
|
-
this.
|
|
6074
|
+
this.RequestId = null;
|
|
5809
6075
|
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
6076
|
+
}
|
|
6077
|
+
|
|
6078
|
+
/**
|
|
6079
|
+
* @private
|
|
6080
|
+
*/
|
|
6081
|
+
deserialize(params) {
|
|
6082
|
+
if (!params) {
|
|
6083
|
+
return;
|
|
6084
|
+
}
|
|
6085
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6086
|
+
|
|
6087
|
+
}
|
|
6088
|
+
}
|
|
6089
|
+
|
|
6090
|
+
/**
|
|
6091
|
+
* The user information.
|
|
6092
|
+
* @class
|
|
6093
|
+
*/
|
|
6094
|
+
class MixUserInfo extends AbstractModel {
|
|
6095
|
+
constructor(){
|
|
6096
|
+
super();
|
|
6097
|
+
|
|
6098
|
+
/**
|
|
6099
|
+
* User ID.
|
|
6100
|
+
* @type {string || null}
|
|
6101
|
+
*/
|
|
6102
|
+
this.UserId = null;
|
|
6103
|
+
|
|
6104
|
+
/**
|
|
6105
|
+
* If a dynamic layout is used, the value of this parameter should be the ID of the main room. If a custom layout is used, the value of this parameter should be the same as the room ID in `MixLayoutList`.
|
|
6106
|
+
* @type {string || null}
|
|
5813
6107
|
*/
|
|
5814
6108
|
this.RoomId = null;
|
|
5815
6109
|
|
|
@@ -5836,18 +6130,46 @@ class MixUserInfo extends AbstractModel {
|
|
|
5836
6130
|
}
|
|
5837
6131
|
|
|
5838
6132
|
/**
|
|
5839
|
-
*
|
|
6133
|
+
* The event information, including the timestamp and event ID.
|
|
5840
6134
|
* @class
|
|
5841
6135
|
*/
|
|
5842
|
-
class
|
|
6136
|
+
class EventMessage extends AbstractModel {
|
|
5843
6137
|
constructor(){
|
|
5844
6138
|
super();
|
|
5845
6139
|
|
|
5846
6140
|
/**
|
|
5847
|
-
* The
|
|
5848
|
-
|
|
6141
|
+
* The video stream type. Valid values:
|
|
6142
|
+
`0`: A non-video event
|
|
6143
|
+
`2`: The big video
|
|
6144
|
+
`3`: The small video
|
|
6145
|
+
`7`: A relayed video
|
|
6146
|
+
* @type {number || null}
|
|
5849
6147
|
*/
|
|
5850
|
-
this.
|
|
6148
|
+
this.Type = null;
|
|
6149
|
+
|
|
6150
|
+
/**
|
|
6151
|
+
* The event reporting time in the format of UNIX timestamp (milliseconds), such as `1589891188801`.
|
|
6152
|
+
* @type {number || null}
|
|
6153
|
+
*/
|
|
6154
|
+
this.Time = null;
|
|
6155
|
+
|
|
6156
|
+
/**
|
|
6157
|
+
* The event ID. Events are classified into SDK events and WebRTC events. For more information, see https://www.tencentcloud.com/document/product/647/37906?has_map=1
|
|
6158
|
+
* @type {number || null}
|
|
6159
|
+
*/
|
|
6160
|
+
this.EventId = null;
|
|
6161
|
+
|
|
6162
|
+
/**
|
|
6163
|
+
* The first event parameter, such as the video width.
|
|
6164
|
+
* @type {number || null}
|
|
6165
|
+
*/
|
|
6166
|
+
this.ParamOne = null;
|
|
6167
|
+
|
|
6168
|
+
/**
|
|
6169
|
+
* The second event parameter, such as the video height.
|
|
6170
|
+
* @type {number || null}
|
|
6171
|
+
*/
|
|
6172
|
+
this.ParamTwo = null;
|
|
5851
6173
|
|
|
5852
6174
|
}
|
|
5853
6175
|
|
|
@@ -5858,7 +6180,11 @@ class DismissRoomResponse extends AbstractModel {
|
|
|
5858
6180
|
if (!params) {
|
|
5859
6181
|
return;
|
|
5860
6182
|
}
|
|
5861
|
-
this.
|
|
6183
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
6184
|
+
this.Time = 'Time' in params ? params.Time : null;
|
|
6185
|
+
this.EventId = 'EventId' in params ? params.EventId : null;
|
|
6186
|
+
this.ParamOne = 'ParamOne' in params ? params.ParamOne : null;
|
|
6187
|
+
this.ParamTwo = 'ParamTwo' in params ? params.ParamTwo : null;
|
|
5862
6188
|
|
|
5863
6189
|
}
|
|
5864
6190
|
}
|
|
@@ -6041,6 +6367,113 @@ class UpdatePublishCdnStreamRequest extends AbstractModel {
|
|
|
6041
6367
|
}
|
|
6042
6368
|
}
|
|
6043
6369
|
|
|
6370
|
+
/**
|
|
6371
|
+
* StartWebRecord request structure.
|
|
6372
|
+
* @class
|
|
6373
|
+
*/
|
|
6374
|
+
class StartWebRecordRequest extends AbstractModel {
|
|
6375
|
+
constructor(){
|
|
6376
|
+
super();
|
|
6377
|
+
|
|
6378
|
+
/**
|
|
6379
|
+
* URL of the web page to be recorded
|
|
6380
|
+
* @type {string || null}
|
|
6381
|
+
*/
|
|
6382
|
+
this.RecordUrl = null;
|
|
6383
|
+
|
|
6384
|
+
/**
|
|
6385
|
+
* Maximum recording duration limit, in seconds. Valid range: [1800, 36000]. Default is 36,000 seconds (10 hours).
|
|
6386
|
+
* @type {number || null}
|
|
6387
|
+
*/
|
|
6388
|
+
this.MaxDurationLimit = null;
|
|
6389
|
+
|
|
6390
|
+
/**
|
|
6391
|
+
* [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.
|
|
6392
|
+
* @type {StorageParams || null}
|
|
6393
|
+
*/
|
|
6394
|
+
this.StorageParams = null;
|
|
6395
|
+
|
|
6396
|
+
/**
|
|
6397
|
+
* web-page recording video parameters
|
|
6398
|
+
* @type {WebRecordVideoParams || null}
|
|
6399
|
+
*/
|
|
6400
|
+
this.WebRecordVideoParams = null;
|
|
6401
|
+
|
|
6402
|
+
/**
|
|
6403
|
+
* [Required] The SDKAppID of the TRTC room
|
|
6404
|
+
* @type {number || null}
|
|
6405
|
+
*/
|
|
6406
|
+
this.SdkAppId = null;
|
|
6407
|
+
|
|
6408
|
+
/**
|
|
6409
|
+
* When sensitive to repetitive tasks, please pay attention to this value: To avoid tasks being initiated repeatedly in a short period, leading to task duplication, pass in the recording RecordId to identify the current task. The RecordId should be less than 32 bytes. If you carry the RecordId and initiate the start recording request more than once, only one task will be started, and the second one will report the error FailedOperation.TaskExist. Note that if the StartWebRecord call fails with an error other than FailedOperation.TaskExist, please change the RecordId and initiate the request again.
|
|
6410
|
+
* @type {string || null}
|
|
6411
|
+
*/
|
|
6412
|
+
this.RecordId = null;
|
|
6413
|
+
|
|
6414
|
+
/**
|
|
6415
|
+
* If you want to push the stream to a CDN, you can use the PublishCdnParams.N parameter to set it. It supports pushing streams to up to 10 CDN addresses simultaneously. If the relay address is a Tencent Cloud CDN, please explicitly set IsTencentCdn to 1.
|
|
6416
|
+
* @type {Array.<McuPublishCdnParam> || null}
|
|
6417
|
+
*/
|
|
6418
|
+
this.PublishCdnParams = null;
|
|
6419
|
+
|
|
6420
|
+
/**
|
|
6421
|
+
* The timeout for loading page resources during recording, in seconds. The default value is 0 seconds. This value must be greater than or equal to 0 seconds and less than or equal to 60 seconds. If page load timeout detection is not enabled for the recording page, please do not set this parameter.
|
|
6422
|
+
* @type {number || null}
|
|
6423
|
+
*/
|
|
6424
|
+
this.ReadyTimeout = null;
|
|
6425
|
+
|
|
6426
|
+
/**
|
|
6427
|
+
* Render mobile mode parameters; do not set this parameter if you are not going to render mobile mode pages.
|
|
6428
|
+
* @type {EmulateMobileParams || null}
|
|
6429
|
+
*/
|
|
6430
|
+
this.EmulateMobileParams = null;
|
|
6431
|
+
|
|
6432
|
+
}
|
|
6433
|
+
|
|
6434
|
+
/**
|
|
6435
|
+
* @private
|
|
6436
|
+
*/
|
|
6437
|
+
deserialize(params) {
|
|
6438
|
+
if (!params) {
|
|
6439
|
+
return;
|
|
6440
|
+
}
|
|
6441
|
+
this.RecordUrl = 'RecordUrl' in params ? params.RecordUrl : null;
|
|
6442
|
+
this.MaxDurationLimit = 'MaxDurationLimit' in params ? params.MaxDurationLimit : null;
|
|
6443
|
+
|
|
6444
|
+
if (params.StorageParams) {
|
|
6445
|
+
let obj = new StorageParams();
|
|
6446
|
+
obj.deserialize(params.StorageParams)
|
|
6447
|
+
this.StorageParams = obj;
|
|
6448
|
+
}
|
|
6449
|
+
|
|
6450
|
+
if (params.WebRecordVideoParams) {
|
|
6451
|
+
let obj = new WebRecordVideoParams();
|
|
6452
|
+
obj.deserialize(params.WebRecordVideoParams)
|
|
6453
|
+
this.WebRecordVideoParams = obj;
|
|
6454
|
+
}
|
|
6455
|
+
this.SdkAppId = 'SdkAppId' in params ? params.SdkAppId : null;
|
|
6456
|
+
this.RecordId = 'RecordId' in params ? params.RecordId : null;
|
|
6457
|
+
|
|
6458
|
+
if (params.PublishCdnParams) {
|
|
6459
|
+
this.PublishCdnParams = new Array();
|
|
6460
|
+
for (let z in params.PublishCdnParams) {
|
|
6461
|
+
let obj = new McuPublishCdnParam();
|
|
6462
|
+
obj.deserialize(params.PublishCdnParams[z]);
|
|
6463
|
+
this.PublishCdnParams.push(obj);
|
|
6464
|
+
}
|
|
6465
|
+
}
|
|
6466
|
+
this.ReadyTimeout = 'ReadyTimeout' in params ? params.ReadyTimeout : null;
|
|
6467
|
+
|
|
6468
|
+
if (params.EmulateMobileParams) {
|
|
6469
|
+
let obj = new EmulateMobileParams();
|
|
6470
|
+
obj.deserialize(params.EmulateMobileParams)
|
|
6471
|
+
this.EmulateMobileParams = obj;
|
|
6472
|
+
}
|
|
6473
|
+
|
|
6474
|
+
}
|
|
6475
|
+
}
|
|
6476
|
+
|
|
6044
6477
|
/**
|
|
6045
6478
|
* The information of the large video in screen sharing or floating layout mode.
|
|
6046
6479
|
* @class
|
|
@@ -6130,6 +6563,34 @@ class UpdateStreamIngestRequest extends AbstractModel {
|
|
|
6130
6563
|
}
|
|
6131
6564
|
}
|
|
6132
6565
|
|
|
6566
|
+
/**
|
|
6567
|
+
* StopWebRecord response structure.
|
|
6568
|
+
* @class
|
|
6569
|
+
*/
|
|
6570
|
+
class StopWebRecordResponse extends AbstractModel {
|
|
6571
|
+
constructor(){
|
|
6572
|
+
super();
|
|
6573
|
+
|
|
6574
|
+
/**
|
|
6575
|
+
* 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.
|
|
6576
|
+
* @type {string || null}
|
|
6577
|
+
*/
|
|
6578
|
+
this.RequestId = null;
|
|
6579
|
+
|
|
6580
|
+
}
|
|
6581
|
+
|
|
6582
|
+
/**
|
|
6583
|
+
* @private
|
|
6584
|
+
*/
|
|
6585
|
+
deserialize(params) {
|
|
6586
|
+
if (!params) {
|
|
6587
|
+
return;
|
|
6588
|
+
}
|
|
6589
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6590
|
+
|
|
6591
|
+
}
|
|
6592
|
+
}
|
|
6593
|
+
|
|
6133
6594
|
/**
|
|
6134
6595
|
* Speech-to-text parameters
|
|
6135
6596
|
* @class
|
|
@@ -6196,42 +6657,18 @@ class STTConfig extends AbstractModel {
|
|
|
6196
6657
|
}
|
|
6197
6658
|
|
|
6198
6659
|
/**
|
|
6199
|
-
*
|
|
6660
|
+
* StopWebRecord request structure.
|
|
6200
6661
|
* @class
|
|
6201
6662
|
*/
|
|
6202
|
-
class
|
|
6663
|
+
class StopWebRecordRequest extends AbstractModel {
|
|
6203
6664
|
constructor(){
|
|
6204
6665
|
super();
|
|
6205
6666
|
|
|
6206
6667
|
/**
|
|
6207
|
-
* The
|
|
6208
|
-
* @type {
|
|
6209
|
-
*/
|
|
6210
|
-
this.Width = null;
|
|
6211
|
-
|
|
6212
|
-
/**
|
|
6213
|
-
* The video height in pixels. The value of this parameter cannot be larger than 1920, and the result of multiplying `Width` and `Height` cannot exceed 1920 x 1080. The default value is `640`.
|
|
6214
|
-
* @type {number || null}
|
|
6215
|
-
*/
|
|
6216
|
-
this.Height = null;
|
|
6217
|
-
|
|
6218
|
-
/**
|
|
6219
|
-
* The video frame rate. Value range: [1, 60]. Default: 15.
|
|
6220
|
-
* @type {number || null}
|
|
6221
|
-
*/
|
|
6222
|
-
this.Fps = null;
|
|
6223
|
-
|
|
6224
|
-
/**
|
|
6225
|
-
* The video bitrate (bps). Value range: [64000, 8192000]. Default: 550000.
|
|
6226
|
-
* @type {number || null}
|
|
6227
|
-
*/
|
|
6228
|
-
this.BitRate = null;
|
|
6229
|
-
|
|
6230
|
-
/**
|
|
6231
|
-
* The keyframe interval (seconds). Default value: 10.
|
|
6232
|
-
* @type {number || null}
|
|
6668
|
+
* The ID of the task that needs to be stopped
|
|
6669
|
+
* @type {string || null}
|
|
6233
6670
|
*/
|
|
6234
|
-
this.
|
|
6671
|
+
this.TaskId = null;
|
|
6235
6672
|
|
|
6236
6673
|
}
|
|
6237
6674
|
|
|
@@ -6242,11 +6679,7 @@ class VideoParams extends AbstractModel {
|
|
|
6242
6679
|
if (!params) {
|
|
6243
6680
|
return;
|
|
6244
6681
|
}
|
|
6245
|
-
this.
|
|
6246
|
-
this.Height = 'Height' in params ? params.Height : null;
|
|
6247
|
-
this.Fps = 'Fps' in params ? params.Fps : null;
|
|
6248
|
-
this.BitRate = 'BitRate' in params ? params.BitRate : null;
|
|
6249
|
-
this.Gop = 'Gop' in params ? params.Gop : null;
|
|
6682
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
6250
6683
|
|
|
6251
6684
|
}
|
|
6252
6685
|
}
|
|
@@ -6324,66 +6757,6 @@ class StopAIConversationRequest extends AbstractModel {
|
|
|
6324
6757
|
}
|
|
6325
6758
|
}
|
|
6326
6759
|
|
|
6327
|
-
/**
|
|
6328
|
-
* The event information, including the timestamp and event ID.
|
|
6329
|
-
* @class
|
|
6330
|
-
*/
|
|
6331
|
-
class EventMessage extends AbstractModel {
|
|
6332
|
-
constructor(){
|
|
6333
|
-
super();
|
|
6334
|
-
|
|
6335
|
-
/**
|
|
6336
|
-
* The video stream type. Valid values:
|
|
6337
|
-
`0`: A non-video event
|
|
6338
|
-
`2`: The big video
|
|
6339
|
-
`3`: The small video
|
|
6340
|
-
`7`: A relayed video
|
|
6341
|
-
* @type {number || null}
|
|
6342
|
-
*/
|
|
6343
|
-
this.Type = null;
|
|
6344
|
-
|
|
6345
|
-
/**
|
|
6346
|
-
* The event reporting time in the format of UNIX timestamp (milliseconds), such as `1589891188801`.
|
|
6347
|
-
* @type {number || null}
|
|
6348
|
-
*/
|
|
6349
|
-
this.Time = null;
|
|
6350
|
-
|
|
6351
|
-
/**
|
|
6352
|
-
* The event ID. Events are classified into SDK events and WebRTC events. For more information, see https://www.tencentcloud.com/document/product/647/37906?has_map=1
|
|
6353
|
-
* @type {number || null}
|
|
6354
|
-
*/
|
|
6355
|
-
this.EventId = null;
|
|
6356
|
-
|
|
6357
|
-
/**
|
|
6358
|
-
* The first event parameter, such as the video width.
|
|
6359
|
-
* @type {number || null}
|
|
6360
|
-
*/
|
|
6361
|
-
this.ParamOne = null;
|
|
6362
|
-
|
|
6363
|
-
/**
|
|
6364
|
-
* The second event parameter, such as the video height.
|
|
6365
|
-
* @type {number || null}
|
|
6366
|
-
*/
|
|
6367
|
-
this.ParamTwo = null;
|
|
6368
|
-
|
|
6369
|
-
}
|
|
6370
|
-
|
|
6371
|
-
/**
|
|
6372
|
-
* @private
|
|
6373
|
-
*/
|
|
6374
|
-
deserialize(params) {
|
|
6375
|
-
if (!params) {
|
|
6376
|
-
return;
|
|
6377
|
-
}
|
|
6378
|
-
this.Type = 'Type' in params ? params.Type : null;
|
|
6379
|
-
this.Time = 'Time' in params ? params.Time : null;
|
|
6380
|
-
this.EventId = 'EventId' in params ? params.EventId : null;
|
|
6381
|
-
this.ParamOne = 'ParamOne' in params ? params.ParamOne : null;
|
|
6382
|
-
this.ParamTwo = 'ParamTwo' in params ? params.ParamTwo : null;
|
|
6383
|
-
|
|
6384
|
-
}
|
|
6385
|
-
}
|
|
6386
|
-
|
|
6387
6760
|
/**
|
|
6388
6761
|
* UpdatePublishCdnStream response structure.
|
|
6389
6762
|
* @class
|
|
@@ -7429,16 +7802,19 @@ module.exports = {
|
|
|
7429
7802
|
DescribeCallDetailInfoRequest: DescribeCallDetailInfoRequest,
|
|
7430
7803
|
DescribeTRTCMarketScaleDataResponse: DescribeTRTCMarketScaleDataResponse,
|
|
7431
7804
|
McuTencentVod: McuTencentVod,
|
|
7805
|
+
DescribeWebRecordResponse: DescribeWebRecordResponse,
|
|
7432
7806
|
DescribeUserInfoRequest: DescribeUserInfoRequest,
|
|
7433
7807
|
DescribeRelayUsageRequest: DescribeRelayUsageRequest,
|
|
7434
7808
|
CloudStorage: CloudStorage,
|
|
7435
7809
|
DescribeTrtcUsageResponse: DescribeTrtcUsageResponse,
|
|
7436
7810
|
TimeValue: TimeValue,
|
|
7437
7811
|
CreateCloudRecordingResponse: CreateCloudRecordingResponse,
|
|
7812
|
+
DescribeWebRecordRequest: DescribeWebRecordRequest,
|
|
7438
7813
|
DescribeTRTCRealTimeScaleDataResponse: DescribeTRTCRealTimeScaleDataResponse,
|
|
7439
7814
|
DescribeRoomInfoRequest: DescribeRoomInfoRequest,
|
|
7440
7815
|
StorageParams: StorageParams,
|
|
7441
7816
|
CloudVod: CloudVod,
|
|
7817
|
+
EmulateMobileParams: EmulateMobileParams,
|
|
7442
7818
|
DescribeCallDetailInfoResponse: DescribeCallDetailInfoResponse,
|
|
7443
7819
|
DescribeTRTCRealTimeQualityDataResponse: DescribeTRTCRealTimeQualityDataResponse,
|
|
7444
7820
|
McuCustomCrop: McuCustomCrop,
|
|
@@ -7461,6 +7837,7 @@ module.exports = {
|
|
|
7461
7837
|
DescribeUserInfoResponse: DescribeUserInfoResponse,
|
|
7462
7838
|
RemoveUserByStrRoomIdResponse: RemoveUserByStrRoomIdResponse,
|
|
7463
7839
|
UpdateStreamIngestResponse: UpdateStreamIngestResponse,
|
|
7840
|
+
WebRecordVideoParams: WebRecordVideoParams,
|
|
7464
7841
|
McuWaterMarkImage: McuWaterMarkImage,
|
|
7465
7842
|
StartPublishCdnStreamResponse: StartPublishCdnStreamResponse,
|
|
7466
7843
|
TrtcUsage: TrtcUsage,
|
|
@@ -7484,6 +7861,7 @@ module.exports = {
|
|
|
7484
7861
|
SetUserBlockedByStrRoomIdResponse: SetUserBlockedByStrRoomIdResponse,
|
|
7485
7862
|
TRTCDataResult: TRTCDataResult,
|
|
7486
7863
|
DescribeTRTCRealTimeQualityDataRequest: DescribeTRTCRealTimeQualityDataRequest,
|
|
7864
|
+
StartWebRecordResponse: StartWebRecordResponse,
|
|
7487
7865
|
CreateCloudRecordingRequest: CreateCloudRecordingRequest,
|
|
7488
7866
|
RecognizeConfig: RecognizeConfig,
|
|
7489
7867
|
DeleteCloudRecordingResponse: DeleteCloudRecordingResponse,
|
|
@@ -7497,6 +7875,7 @@ module.exports = {
|
|
|
7497
7875
|
DismissRoomByStrRoomIdRequest: DismissRoomByStrRoomIdRequest,
|
|
7498
7876
|
StartStreamIngestResponse: StartStreamIngestResponse,
|
|
7499
7877
|
DeleteCloudRecordingRequest: DeleteCloudRecordingRequest,
|
|
7878
|
+
VideoParams: VideoParams,
|
|
7500
7879
|
SetUserBlockedByStrRoomIdRequest: SetUserBlockedByStrRoomIdRequest,
|
|
7501
7880
|
DescribeTrtcRoomUsageRequest: DescribeTrtcRoomUsageRequest,
|
|
7502
7881
|
UserInformation: UserInformation,
|
|
@@ -7507,18 +7886,20 @@ module.exports = {
|
|
|
7507
7886
|
ModifyCloudRecordingResponse: ModifyCloudRecordingResponse,
|
|
7508
7887
|
DescribeCloudRecordingResponse: DescribeCloudRecordingResponse,
|
|
7509
7888
|
StartAITranscriptionRequest: StartAITranscriptionRequest,
|
|
7889
|
+
DismissRoomResponse: DismissRoomResponse,
|
|
7510
7890
|
StopStreamIngestResponse: StopStreamIngestResponse,
|
|
7511
7891
|
MixUserInfo: MixUserInfo,
|
|
7512
|
-
|
|
7892
|
+
EventMessage: EventMessage,
|
|
7513
7893
|
DescribeTRTCMarketQualityDataRequest: DescribeTRTCMarketQualityDataRequest,
|
|
7514
7894
|
UpdatePublishCdnStreamRequest: UpdatePublishCdnStreamRequest,
|
|
7895
|
+
StartWebRecordRequest: StartWebRecordRequest,
|
|
7515
7896
|
MaxVideoUser: MaxVideoUser,
|
|
7516
7897
|
UpdateStreamIngestRequest: UpdateStreamIngestRequest,
|
|
7898
|
+
StopWebRecordResponse: StopWebRecordResponse,
|
|
7517
7899
|
STTConfig: STTConfig,
|
|
7518
|
-
|
|
7900
|
+
StopWebRecordRequest: StopWebRecordRequest,
|
|
7519
7901
|
McuSeiParams: McuSeiParams,
|
|
7520
7902
|
StopAIConversationRequest: StopAIConversationRequest,
|
|
7521
|
-
EventMessage: EventMessage,
|
|
7522
7903
|
UpdatePublishCdnStreamResponse: UpdatePublishCdnStreamResponse,
|
|
7523
7904
|
McuWaterMarkText: McuWaterMarkText,
|
|
7524
7905
|
TranscriptionParams: TranscriptionParams,
|