tencentcloud-sdk-nodejs 4.0.817 → 4.0.819
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/CHANGELOG.md +169 -0
- package/SERVICE_CHANGELOG.md +173 -42
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_models.ts +1 -1
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +35 -2
- package/src/services/ess/v20201111/ess_client.ts +1 -0
- package/src/services/ess/v20201111/ess_models.ts +102 -0
- package/src/services/faceid/v20180301/faceid_models.ts +9 -3
- package/src/services/gaap/v20180529/gaap_models.ts +60 -36
- package/src/services/hai/v20230812/hai_models.ts +5 -0
- package/src/services/tag/v20180813/tag_models.ts +4 -4
- package/src/services/teo/v20220901/teo_models.ts +13 -3
- package/src/services/trtc/v20190722/trtc_client.ts +41 -3
- package/src/services/trtc/v20190722/trtc_models.ts +179 -68
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +35 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +101 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +8 -2
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +60 -36
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +5 -0
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +4 -4
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +13 -3
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +14 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +19 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +171 -67
- package/test/trtc.v20190722.test.js +30 -0
|
@@ -3134,15 +3134,15 @@ export interface ProxyGroupDetail {
|
|
|
3134
3134
|
/**
|
|
3135
3135
|
* 创建时间
|
|
3136
3136
|
*/
|
|
3137
|
-
CreateTime
|
|
3137
|
+
CreateTime?: number;
|
|
3138
3138
|
/**
|
|
3139
3139
|
* 项目ID
|
|
3140
3140
|
*/
|
|
3141
|
-
ProjectId
|
|
3141
|
+
ProjectId?: number;
|
|
3142
3142
|
/**
|
|
3143
3143
|
* 通道组中通道数量
|
|
3144
3144
|
*/
|
|
3145
|
-
ProxyNum
|
|
3145
|
+
ProxyNum?: number;
|
|
3146
3146
|
/**
|
|
3147
3147
|
* 通道组状态:
|
|
3148
3148
|
0表示正常运行;
|
|
@@ -3151,77 +3151,77 @@ export interface ProxyGroupDetail {
|
|
|
3151
3151
|
11表示迁移中;
|
|
3152
3152
|
12表示部分部署中。
|
|
3153
3153
|
*/
|
|
3154
|
-
Status
|
|
3154
|
+
Status?: number;
|
|
3155
3155
|
/**
|
|
3156
3156
|
* 归属Uin
|
|
3157
3157
|
*/
|
|
3158
|
-
OwnerUin
|
|
3158
|
+
OwnerUin?: string;
|
|
3159
3159
|
/**
|
|
3160
3160
|
* 创建Uin
|
|
3161
3161
|
*/
|
|
3162
|
-
CreateUin
|
|
3162
|
+
CreateUin?: string;
|
|
3163
3163
|
/**
|
|
3164
3164
|
* 通道名称
|
|
3165
3165
|
*/
|
|
3166
|
-
GroupName
|
|
3166
|
+
GroupName?: string;
|
|
3167
3167
|
/**
|
|
3168
3168
|
* 通道组域名解析默认IP
|
|
3169
3169
|
*/
|
|
3170
|
-
DnsDefaultIp
|
|
3170
|
+
DnsDefaultIp?: string;
|
|
3171
3171
|
/**
|
|
3172
3172
|
* 通道组域名
|
|
3173
3173
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3174
3174
|
*/
|
|
3175
|
-
Domain
|
|
3175
|
+
Domain?: string;
|
|
3176
3176
|
/**
|
|
3177
3177
|
* 目标地域
|
|
3178
3178
|
*/
|
|
3179
|
-
RealServerRegionInfo
|
|
3179
|
+
RealServerRegionInfo?: RegionDetail;
|
|
3180
3180
|
/**
|
|
3181
3181
|
* 是否老通道组,2018-08-03之前创建的通道组为老通道组
|
|
3182
3182
|
*/
|
|
3183
|
-
IsOldGroup
|
|
3183
|
+
IsOldGroup?: boolean;
|
|
3184
3184
|
/**
|
|
3185
3185
|
* 通道组ID
|
|
3186
3186
|
*/
|
|
3187
|
-
GroupId
|
|
3187
|
+
GroupId?: string;
|
|
3188
3188
|
/**
|
|
3189
3189
|
* 标签列表
|
|
3190
3190
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3191
3191
|
*/
|
|
3192
|
-
TagSet
|
|
3192
|
+
TagSet?: Array<TagPair>;
|
|
3193
3193
|
/**
|
|
3194
3194
|
* 安全策略ID,当设置了安全策略时,存在该字段。
|
|
3195
3195
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3196
3196
|
*/
|
|
3197
|
-
PolicyId
|
|
3197
|
+
PolicyId?: string;
|
|
3198
3198
|
/**
|
|
3199
3199
|
* 通道组版本
|
|
3200
3200
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3201
3201
|
*/
|
|
3202
|
-
Version
|
|
3202
|
+
Version?: string;
|
|
3203
3203
|
/**
|
|
3204
3204
|
* 通道获取客户端IP的方式,0表示TOA,1表示Proxy Protocol
|
|
3205
3205
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3206
3206
|
*/
|
|
3207
|
-
ClientIPMethod
|
|
3207
|
+
ClientIPMethod?: Array<number | bigint>;
|
|
3208
3208
|
/**
|
|
3209
3209
|
* IP版本,可取值:IPv4、IPv6,默认值IPv4
|
|
3210
3210
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3211
3211
|
*/
|
|
3212
|
-
IPAddressVersion
|
|
3212
|
+
IPAddressVersion?: string;
|
|
3213
3213
|
/**
|
|
3214
3214
|
* 通道组套餐类型:Thunder表示标准通道组,Accelerator表示银牌加速通道组,CrossBorder表示跨境通道组。
|
|
3215
3215
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3216
3216
|
*/
|
|
3217
|
-
PackageType
|
|
3217
|
+
PackageType?: string;
|
|
3218
3218
|
/**
|
|
3219
3219
|
* 支持Http3特性的标识,其中:
|
|
3220
3220
|
0表示关闭;
|
|
3221
3221
|
1表示启用。
|
|
3222
3222
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3223
3223
|
*/
|
|
3224
|
-
Http3Supported
|
|
3224
|
+
Http3Supported?: number;
|
|
3225
3225
|
/**
|
|
3226
3226
|
* 特性位图,每个bit位代表一种特性,其中:
|
|
3227
3227
|
0,表示不支持该特性;
|
|
@@ -3237,7 +3237,14 @@ export interface ProxyGroupDetail {
|
|
|
3237
3237
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3238
3238
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3239
3239
|
*/
|
|
3240
|
-
FeatureBitmap
|
|
3240
|
+
FeatureBitmap?: number;
|
|
3241
|
+
/**
|
|
3242
|
+
* 是否支持设置TSL设置
|
|
3243
|
+
0表示不支持;
|
|
3244
|
+
1表示支持。
|
|
3245
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3246
|
+
*/
|
|
3247
|
+
IsSupportTLSChoice?: number;
|
|
3241
3248
|
}
|
|
3242
3249
|
/**
|
|
3243
3250
|
* CreateHTTPListener请求参数结构体
|
|
@@ -3393,19 +3400,19 @@ export interface HTTPSListener {
|
|
|
3393
3400
|
/**
|
|
3394
3401
|
* 监听器ID
|
|
3395
3402
|
*/
|
|
3396
|
-
ListenerId
|
|
3403
|
+
ListenerId?: string;
|
|
3397
3404
|
/**
|
|
3398
3405
|
* 监听器名称
|
|
3399
3406
|
*/
|
|
3400
|
-
ListenerName
|
|
3407
|
+
ListenerName?: string;
|
|
3401
3408
|
/**
|
|
3402
3409
|
* 监听器端口
|
|
3403
3410
|
*/
|
|
3404
|
-
Port
|
|
3411
|
+
Port?: number;
|
|
3405
3412
|
/**
|
|
3406
3413
|
* 监听器协议, HTTP表示HTTP,HTTPS表示HTTPS,此结构取值HTTPS
|
|
3407
3414
|
*/
|
|
3408
|
-
Protocol
|
|
3415
|
+
Protocol?: string;
|
|
3409
3416
|
/**
|
|
3410
3417
|
* 监听器状态,其中:
|
|
3411
3418
|
0表示运行中;
|
|
@@ -3414,46 +3421,46 @@ export interface HTTPSListener {
|
|
|
3414
3421
|
3表示源站调整中;
|
|
3415
3422
|
4表示配置变更中。
|
|
3416
3423
|
*/
|
|
3417
|
-
ListenerStatus
|
|
3424
|
+
ListenerStatus?: number;
|
|
3418
3425
|
/**
|
|
3419
3426
|
* 监听器服务器SSL证书ID
|
|
3420
3427
|
*/
|
|
3421
|
-
CertificateId
|
|
3428
|
+
CertificateId?: string;
|
|
3422
3429
|
/**
|
|
3423
3430
|
* 监听器后端转发源站协议
|
|
3424
3431
|
*/
|
|
3425
|
-
ForwardProtocol
|
|
3432
|
+
ForwardProtocol?: string;
|
|
3426
3433
|
/**
|
|
3427
3434
|
* 监听器创建时间,Unix时间戳
|
|
3428
3435
|
*/
|
|
3429
|
-
CreateTime
|
|
3436
|
+
CreateTime?: number;
|
|
3430
3437
|
/**
|
|
3431
3438
|
* 服务器SSL证书的别名
|
|
3432
3439
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3433
3440
|
*/
|
|
3434
|
-
CertificateAlias
|
|
3441
|
+
CertificateAlias?: string;
|
|
3435
3442
|
/**
|
|
3436
3443
|
* 监听器客户端CA证书ID
|
|
3437
3444
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3438
3445
|
*/
|
|
3439
|
-
ClientCertificateId
|
|
3446
|
+
ClientCertificateId?: string;
|
|
3440
3447
|
/**
|
|
3441
3448
|
* 监听器认证方式。其中,
|
|
3442
3449
|
0表示单向认证;
|
|
3443
3450
|
1表示双向认证。
|
|
3444
3451
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3445
3452
|
*/
|
|
3446
|
-
AuthType
|
|
3453
|
+
AuthType?: number;
|
|
3447
3454
|
/**
|
|
3448
3455
|
* 客户端CA证书别名
|
|
3449
3456
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3450
3457
|
*/
|
|
3451
|
-
ClientCertificateAlias
|
|
3458
|
+
ClientCertificateAlias?: string;
|
|
3452
3459
|
/**
|
|
3453
3460
|
* 多客户端CA证书别名信息
|
|
3454
3461
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3455
3462
|
*/
|
|
3456
|
-
PolyClientCertificateAliasInfo
|
|
3463
|
+
PolyClientCertificateAliasInfo?: Array<CertificateAliasInfo>;
|
|
3457
3464
|
/**
|
|
3458
3465
|
* 是否支持Http3,其中:
|
|
3459
3466
|
0,不支持Http3接入;
|
|
@@ -3461,17 +3468,27 @@ export interface HTTPSListener {
|
|
|
3461
3468
|
注意:如果支持了Http3的功能,那么该监听器会占用对应的UDP接入端口,不可再创建相同端口的UDP监听器。
|
|
3462
3469
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3463
3470
|
*/
|
|
3464
|
-
Http3Supported
|
|
3471
|
+
Http3Supported?: number;
|
|
3465
3472
|
/**
|
|
3466
3473
|
* 监听器的通道ID,如果监听器属于通道组,则为null
|
|
3467
3474
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3468
3475
|
*/
|
|
3469
|
-
ProxyId
|
|
3476
|
+
ProxyId?: string;
|
|
3470
3477
|
/**
|
|
3471
3478
|
* 监听器的通道组ID,如果监听器属于通道,则为null
|
|
3472
3479
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3473
3480
|
*/
|
|
3474
|
-
GroupId
|
|
3481
|
+
GroupId?: string;
|
|
3482
|
+
/**
|
|
3483
|
+
* 支持的TLS版本
|
|
3484
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3485
|
+
*/
|
|
3486
|
+
TLSSupportVersion?: Array<string>;
|
|
3487
|
+
/**
|
|
3488
|
+
* 支持的TLS密码套件
|
|
3489
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3490
|
+
*/
|
|
3491
|
+
TLSCiphers?: string;
|
|
3475
3492
|
}
|
|
3476
3493
|
/**
|
|
3477
3494
|
* ModifyRuleAttribute返回参数结构体
|
|
@@ -5529,6 +5546,13 @@ export interface ProxyInfo {
|
|
|
5529
5546
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5530
5547
|
*/
|
|
5531
5548
|
IsAutoScaleProxy?: number;
|
|
5549
|
+
/**
|
|
5550
|
+
* 是否允许设置TLS配置
|
|
5551
|
+
0表示不支持;
|
|
5552
|
+
1表示支持。
|
|
5553
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5554
|
+
*/
|
|
5555
|
+
IsSupportTLSChoice?: number;
|
|
5532
5556
|
}
|
|
5533
5557
|
/**
|
|
5534
5558
|
* RemoveRealServers返回参数结构体
|
|
@@ -65,7 +65,7 @@ export interface DetachResourcesTagRequest {
|
|
|
65
65
|
*/
|
|
66
66
|
export interface GetTagValuesResponse {
|
|
67
67
|
/**
|
|
68
|
-
* 获取的下一页的Token
|
|
68
|
+
* 获取的下一页的Token值,如果当前是最后一页,返回为空
|
|
69
69
|
*/
|
|
70
70
|
PaginationToken?: string;
|
|
71
71
|
/**
|
|
@@ -95,7 +95,7 @@ export interface AddProjectResponse {
|
|
|
95
95
|
*/
|
|
96
96
|
ProjectId?: number;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* 是否为新项目,1是新项目,0不是新项目
|
|
99
99
|
*/
|
|
100
100
|
IsNew?: number;
|
|
101
101
|
/**
|
|
@@ -604,7 +604,7 @@ export interface DescribeResourceTagsByResourceIdsResponse {
|
|
|
604
604
|
*/
|
|
605
605
|
export interface GetTagsResponse {
|
|
606
606
|
/**
|
|
607
|
-
* 获取的下一页的Token
|
|
607
|
+
* 获取的下一页的Token值,如果当前是最后一页,返回为空
|
|
608
608
|
*/
|
|
609
609
|
PaginationToken?: string;
|
|
610
610
|
/**
|
|
@@ -1154,7 +1154,7 @@ export interface UpdateResourceTagValueRequest {
|
|
|
1154
1154
|
*/
|
|
1155
1155
|
export interface GetTagKeysResponse {
|
|
1156
1156
|
/**
|
|
1157
|
-
* 获取的下一页的Token
|
|
1157
|
+
* 获取的下一页的Token值,如果当前是最后一页,返回为空
|
|
1158
1158
|
*/
|
|
1159
1159
|
PaginationToken?: string;
|
|
1160
1160
|
/**
|
|
@@ -2581,11 +2581,17 @@ export interface ModifySecurityPolicyRequest {
|
|
|
2581
2581
|
*/
|
|
2582
2582
|
SecurityConfig: SecurityConfig;
|
|
2583
2583
|
/**
|
|
2584
|
-
*
|
|
2584
|
+
* 子域名/应用名。
|
|
2585
|
+
|
|
2586
|
+
注意:当同时指定本参数和 TemplateId 参数时,本参数不生效。请勿同时指定本参数和 TemplateId 参数。
|
|
2585
2587
|
*/
|
|
2586
2588
|
Entity?: string;
|
|
2587
2589
|
/**
|
|
2588
|
-
*
|
|
2590
|
+
* 指定模板策略 ID,或指定站点全局策略。
|
|
2591
|
+
- 如需配置策略模板,请指定策略模板 ID。
|
|
2592
|
+
- 如需配置站点全局策略,请使用 @ZoneLevel@Domain 参数值
|
|
2593
|
+
|
|
2594
|
+
注意:当使用本参数时,Entity 参数不生效。请勿同时使用本参数和 Entity 参数。
|
|
2589
2595
|
*/
|
|
2590
2596
|
TemplateId?: string;
|
|
2591
2597
|
}
|
|
@@ -8104,7 +8110,11 @@ export interface BindSecurityTemplateToEntityRequest {
|
|
|
8104
8110
|
*/
|
|
8105
8111
|
Operate: string;
|
|
8106
8112
|
/**
|
|
8107
|
-
* 指定绑定或解绑的策略模板 ID
|
|
8113
|
+
* 指定绑定或解绑的策略模板 ID 或站点全局策略
|
|
8114
|
+
- 如需绑定至策略模板,或从策略模板解绑,请指定策略模板 ID。
|
|
8115
|
+
- 如需绑定至站点全局策略,或从站点全局策略解绑,请使用 @ZoneLevel@domain 参数值。
|
|
8116
|
+
|
|
8117
|
+
注意:解绑后,域名将使用独立策略,并单独计算规则配额,请确保解绑前套餐规则配额充足。
|
|
8108
8118
|
*/
|
|
8109
8119
|
TemplateId: string;
|
|
8110
8120
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreatePictureRequest, DescribeTRTCMarketQualityMetricDataResponse, DescribeTRTCRealTimeScaleDataRequest, DescribeTRTCMarketScaleDataRequest, DescribeUserEventRequest, DescribeTrtcRoomUsageResponse, StopPublishCdnStreamResponse, DescribeTRTCRealTimeScaleMetricDataRequest, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, DescribeTRTCMarketScaleDataResponse, ModifyPictureRequest, DescribeUserInfoRequest, DescribeRelayUsageRequest, DescribeRecordStatisticResponse, StartMCUMixTranscodeByStrRoomIdResponse, DescribeTrtcUsageResponse, DismissRoomByStrRoomIdRequest, DescribeTRTCMarketQualityMetricDataRequest, DescribeTRTCRealTimeScaleDataResponse, DescribeRecordStatisticRequest, DescribeRoomInfoRequest, DescribeCallDetailInfoResponse, DescribeTRTCRealTimeQualityDataResponse, DescribeMixTranscodingUsageRequest, DescribeStreamIngestResponse, StopStreamIngestRequest,
|
|
3
|
+
import { CreatePictureRequest, DescribeTRTCMarketQualityMetricDataResponse, DescribeTRTCRealTimeScaleDataRequest, DescribeTRTCMarketScaleDataRequest, DescribeUserEventRequest, DescribeTrtcRoomUsageResponse, StopPublishCdnStreamResponse, DescribeTRTCRealTimeScaleMetricDataRequest, StopWebRecordRequest, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, DescribeTRTCMarketScaleDataResponse, ModifyPictureRequest, DescribeWebRecordResponse, DescribeUserInfoRequest, DescribeTRTCMarketQualityDataResponse, DescribeRelayUsageRequest, DescribeRecordStatisticResponse, StartMCUMixTranscodeByStrRoomIdResponse, DescribeTrtcUsageResponse, DismissRoomByStrRoomIdRequest, DescribeTRTCMarketQualityMetricDataRequest, DescribeWebRecordRequest, DescribeTRTCRealTimeScaleDataResponse, DescribeRecordStatisticRequest, DescribeRoomInfoRequest, DescribeCallDetailInfoResponse, DescribeTRTCRealTimeQualityDataResponse, DescribeMixTranscodingUsageRequest, DescribeStreamIngestResponse, StopStreamIngestRequest, DescribeTRTCRealTimeQualityDataRequest, DescribeTrtcUsageRequest, DescribeRoomInfoResponse, DismissRoomRequest, DescribeTRTCRealTimeQualityMetricDataRequest, DescribeUserInfoResponse, RemoveUserByStrRoomIdResponse, DescribeTRTCRealTimeScaleMetricDataResponse, StartMCUMixTranscodeRequest, StartPublishCdnStreamResponse, DescribeTRTCMarketScaleMetricDataRequest, DescribeRelayUsageResponse, StartStreamIngestRequest, DescribeRecordingUsageResponse, StopMCUMixTranscodeRequest, ModifyPictureResponse, DescribeRecordingUsageRequest, DescribeScaleInfoResponse, StopMCUMixTranscodeResponse, DescribeMixTranscodingUsageResponse, RemoveUserRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, DescribeTRTCRealTimeQualityMetricDataResponse, StartWebRecordResponse, CreateCloudRecordingRequest, DeleteCloudRecordingResponse, StopMCUMixTranscodeByStrRoomIdRequest, StopPublishCdnStreamRequest, DeletePictureResponse, ModifyCloudRecordingRequest, StartPublishCdnStreamRequest, CreateCloudRecordingResponse, StartStreamIngestResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, DescribePictureResponse, DescribeTrtcRoomUsageRequest, DescribeTrtcMcuTranscodeTimeRequest, DescribeScaleInfoRequest, DismissRoomByStrRoomIdResponse, DescribeUnusualEventResponse, ModifyCloudRecordingResponse, StartMCUMixTranscodeByStrRoomIdRequest, DescribeCloudRecordingResponse, DismissRoomResponse, StopStreamIngestResponse, DescribeTRTCMarketQualityDataRequest, UpdatePublishCdnStreamRequest, StartWebRecordRequest, StopWebRecordResponse, DeletePictureRequest, UpdatePublishCdnStreamResponse, RemoveUserByStrRoomIdRequest, DescribeStreamIngestRequest, DescribeTRTCMarketScaleMetricDataResponse, CreatePictureResponse, RemoveUserResponse } from "./trtc_models";
|
|
4
4
|
/**
|
|
5
5
|
* trtc client
|
|
6
6
|
* @class
|
|
@@ -35,6 +35,10 @@ networkDelay :网络延迟率。
|
|
|
35
35
|
2.查询时间范围根据监控仪表盘功能版本而定,【基础版】可查近30天,【进阶版】可查近60天。
|
|
36
36
|
*/
|
|
37
37
|
DescribeTRTCMarketQualityMetricData(req: DescribeTRTCMarketQualityMetricDataRequest, cb?: (error: string, rep: DescribeTRTCMarketQualityMetricDataResponse) => void): Promise<DescribeTRTCMarketQualityMetricDataResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* 查询页面录制任务
|
|
40
|
+
*/
|
|
41
|
+
DescribeWebRecord(req: DescribeWebRecordRequest, cb?: (error: string, rep: DescribeWebRecordResponse) => void): Promise<DescribeWebRecordResponse>;
|
|
38
42
|
/**
|
|
39
43
|
* TRTC房间中可能会同时存在多路音视频流,您可以通过混流转推API,通知腾讯云服务端将同个房间或者多个房间的多路视频画面混合到一起,并指定每一路画面的位置,同时将多路声音进行混音,最终形成一路音视频流,以便用于录制和直播观看,同时可以支持将这一路音视频的混流回推到TRTC房间内部。
|
|
40
44
|
|
|
@@ -233,6 +237,11 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
233
237
|
* 查询用户某次通话内的进退房,视频开关等详细事件。可查询14天内数据。(同接口DescribeDetailEvent)
|
|
234
238
|
*/
|
|
235
239
|
DescribeUserEvent(req: DescribeUserEventRequest, cb?: (error: string, rep: DescribeUserEventResponse) => void): Promise<DescribeUserEventResponse>;
|
|
240
|
+
/**
|
|
241
|
+
* 通过此接口可以发起 WEB 页面录制任务,在接口参数中指定录制 URL,录制分辨率,录制结果存储等参数。
|
|
242
|
+
因为参数或API逻辑问题会立即返回结果。而因为页面问题,如页面无法访问,会在回调中返回结果,请关注。
|
|
243
|
+
*/
|
|
244
|
+
StartWebRecord(req: StartWebRecordRequest, cb?: (error: string, rep: StartWebRecordResponse) => void): Promise<StartWebRecordResponse>;
|
|
236
245
|
/**
|
|
237
246
|
* 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
|
|
238
247
|
|
|
@@ -268,6 +277,10 @@ peakCurrentUsers:峰值同时在线人数。
|
|
|
268
277
|
2.查询时间范围根据监控仪表盘功能版本而定,【基础版】可查近30天,【进阶版】可查近60天。
|
|
269
278
|
*/
|
|
270
279
|
DescribeTRTCMarketScaleData(req: DescribeTRTCMarketScaleDataRequest, cb?: (error: string, rep: DescribeTRTCMarketScaleDataResponse) => void): Promise<DescribeTRTCMarketScaleDataResponse>;
|
|
280
|
+
/**
|
|
281
|
+
* 停止页面录制任务
|
|
282
|
+
*/
|
|
283
|
+
StopWebRecord(req: StopWebRecordRequest, cb?: (error: string, rep: StopWebRecordResponse) => void): Promise<StopWebRecordResponse>;
|
|
271
284
|
/**
|
|
272
285
|
* 接口说明:
|
|
273
286
|
启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制又或者多路视频画面混流一路。
|
|
@@ -61,6 +61,12 @@ networkDelay :网络延迟率。
|
|
|
61
61
|
async DescribeTRTCMarketQualityMetricData(req, cb) {
|
|
62
62
|
return this.request("DescribeTRTCMarketQualityMetricData", req, cb);
|
|
63
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* 查询页面录制任务
|
|
66
|
+
*/
|
|
67
|
+
async DescribeWebRecord(req, cb) {
|
|
68
|
+
return this.request("DescribeWebRecord", req, cb);
|
|
69
|
+
}
|
|
64
70
|
/**
|
|
65
71
|
* TRTC房间中可能会同时存在多路音视频流,您可以通过混流转推API,通知腾讯云服务端将同个房间或者多个房间的多路视频画面混合到一起,并指定每一路画面的位置,同时将多路声音进行混音,最终形成一路音视频流,以便用于录制和直播观看,同时可以支持将这一路音视频的混流回推到TRTC房间内部。
|
|
66
72
|
|
|
@@ -289,6 +295,13 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
289
295
|
async DescribeUserEvent(req, cb) {
|
|
290
296
|
return this.request("DescribeUserEvent", req, cb);
|
|
291
297
|
}
|
|
298
|
+
/**
|
|
299
|
+
* 通过此接口可以发起 WEB 页面录制任务,在接口参数中指定录制 URL,录制分辨率,录制结果存储等参数。
|
|
300
|
+
因为参数或API逻辑问题会立即返回结果。而因为页面问题,如页面无法访问,会在回调中返回结果,请关注。
|
|
301
|
+
*/
|
|
302
|
+
async StartWebRecord(req, cb) {
|
|
303
|
+
return this.request("StartWebRecord", req, cb);
|
|
304
|
+
}
|
|
292
305
|
/**
|
|
293
306
|
* 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
|
|
294
307
|
|
|
@@ -328,6 +341,12 @@ peakCurrentUsers:峰值同时在线人数。
|
|
|
328
341
|
async DescribeTRTCMarketScaleData(req, cb) {
|
|
329
342
|
return this.request("DescribeTRTCMarketScaleData", req, cb);
|
|
330
343
|
}
|
|
344
|
+
/**
|
|
345
|
+
* 停止页面录制任务
|
|
346
|
+
*/
|
|
347
|
+
async StopWebRecord(req, cb) {
|
|
348
|
+
return this.request("StopWebRecord", req, cb);
|
|
349
|
+
}
|
|
331
350
|
/**
|
|
332
351
|
* 接口说明:
|
|
333
352
|
启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制又或者多路视频画面混流一路。
|