tencentcloud-sdk-nodejs-trtc 4.0.371 → 4.0.372
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 +120 -0
- package/SERVICE_CHANGELOG.md +187 -183
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/services/trtc/v20190722/trtc_client.ts +42 -115
- package/src/services/trtc/v20190722/trtc_models.ts +799 -1431
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -28
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -35
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +776 -1313
package/products.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-06-23 06:06:50 |
|
|
19
19
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
|
|
20
20
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
|
|
21
|
-
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-
|
|
21
|
+
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-06-29 06:02:26 |
|
|
22
22
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2022-05-09 06:02:49 |
|
|
23
23
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2022-05-13 18:34:36 |
|
|
24
24
|
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2022-06-08 06:04:08 |
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
51
51
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
52
52
|
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-05-31 06:07:03 |
|
|
53
|
-
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-
|
|
53
|
+
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-06-29 06:04:25 |
|
|
54
54
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-05-25 06:05:44 |
|
|
55
55
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-06-22 06:04:38 |
|
|
56
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-06-
|
|
56
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-06-29 06:04:44 |
|
|
57
57
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-06-24 06:09:00 |
|
|
58
58
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-04-04 06:23:04 |
|
|
59
59
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
60
60
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-06-28 06:07:23 |
|
|
61
61
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
62
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-06-
|
|
63
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-06-
|
|
62
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-06-29 06:05:30 |
|
|
63
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-06-29 06:05:43 |
|
|
64
64
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
65
65
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-06-15 06:07:21 |
|
|
66
66
|
| dasb | [堡垒机](https://cloud.tencent.com/document/product/1025) | 2022-06-01 20:56:43 |
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2022-04-04 06:57:43 |
|
|
121
121
|
| memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product/241) | 2022-04-04 06:57:44 |
|
|
122
122
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-04-04 06:57:46 |
|
|
123
|
-
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-06-
|
|
123
|
+
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-06-28 19:50:53 |
|
|
124
124
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
|
|
125
125
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-06-07 06:10:21 |
|
|
126
126
|
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-06-28 06:13:35 |
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
| nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
|
|
133
133
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
134
134
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-06-15 06:12:20 |
|
|
135
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-06-
|
|
135
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-06-29 06:11:12 |
|
|
136
136
|
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-06-10 06:11:43 |
|
|
137
137
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-06-13 06:15:36 |
|
|
138
138
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-06-21 06:13:45 |
|
|
175
175
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-04-04 07:15:36 |
|
|
176
176
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
|
|
177
|
-
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-06-
|
|
177
|
+
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-06-29 06:13:55 |
|
|
178
178
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-06-20 06:14:36 |
|
|
179
179
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-06-27 06:15:53 |
|
|
180
180
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-06-02 06:15:03 |
|
|
@@ -191,16 +191,16 @@
|
|
|
191
191
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
|
|
192
192
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 |
|
|
193
193
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-06-07 16:18:00 |
|
|
194
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-06-
|
|
194
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-06-28 11:47:33 |
|
|
195
195
|
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-06-28 06:18:34 |
|
|
196
|
-
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-06-
|
|
196
|
+
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-06-29 06:15:16 |
|
|
197
197
|
| tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
|
|
198
198
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-06-07 06:15:49 |
|
|
199
199
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
200
200
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-06-23 06:20:49 |
|
|
201
201
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
202
202
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-23 06:20:52 |
|
|
203
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-06-
|
|
203
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-06-29 06:15:50 |
|
|
204
204
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-06-23 06:22:00 |
|
|
205
205
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
|
|
206
206
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
@@ -19,93 +19,71 @@ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
|
19
19
|
import {
|
|
20
20
|
DescribeAbnormalEventResponse,
|
|
21
21
|
DescribeAbnormalEventRequest,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
DescribeHistoryScaleRequest,
|
|
25
|
-
DescribeCallDetailRequest,
|
|
26
|
-
RemoveUserByStrRoomIdResponse,
|
|
27
|
-
StartMCUMixTranscodeRequest,
|
|
22
|
+
SdkAppIdTrtcMcuTranscodeTimeUsage,
|
|
23
|
+
ModifyPictureResponse,
|
|
28
24
|
StartMCUMixTranscodeByStrRoomIdRequest,
|
|
29
|
-
|
|
30
|
-
CreateTroubleInfoRequest,
|
|
31
|
-
DescribeDetailEventResponse,
|
|
32
|
-
StopMCUMixTranscodeByStrRoomIdResponse,
|
|
33
|
-
PictureInfo,
|
|
34
|
-
MixTranscodeParams,
|
|
35
|
-
DescribeRoomInformationRequest,
|
|
36
|
-
WaterMarkParams,
|
|
37
|
-
DescribeRecordStatisticResponse,
|
|
38
|
-
StartMCUMixTranscodeByStrRoomIdResponse,
|
|
39
|
-
CloudStorage,
|
|
25
|
+
LayoutParams,
|
|
40
26
|
TimeValue,
|
|
41
|
-
|
|
27
|
+
CreatePictureRequest,
|
|
28
|
+
DescribeTrtcMcuTranscodeTimeRequest,
|
|
29
|
+
StopMCUMixTranscodeResponse,
|
|
30
|
+
RemoveUserByStrRoomIdRequest,
|
|
31
|
+
DismissRoomResponse,
|
|
42
32
|
EventMessage,
|
|
43
33
|
DescribeRecordStatisticRequest,
|
|
44
|
-
StorageParams,
|
|
45
|
-
CloudVod,
|
|
46
|
-
EncodeParams,
|
|
47
34
|
DescribeUserInformationRequest,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
SubscribeStreamUserIds,
|
|
52
|
-
EventList,
|
|
53
|
-
WaterMarkImage,
|
|
54
|
-
SdkAppIdTrtcMcuTranscodeTimeUsage,
|
|
55
|
-
ModifyPictureResponse,
|
|
56
|
-
StorageFile,
|
|
57
|
-
WaterMark,
|
|
58
|
-
MixLayoutParams,
|
|
59
|
-
StopMCUMixTranscodeResponse,
|
|
35
|
+
DescribeCallDetailRequest,
|
|
36
|
+
ScaleInfomation,
|
|
37
|
+
DescribeUserInformationResponse,
|
|
60
38
|
SdkAppIdNewTrtcTimeUsage,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
TencentVod,
|
|
39
|
+
EncodeParams,
|
|
40
|
+
RemoveUserByStrRoomIdResponse,
|
|
41
|
+
StartMCUMixTranscodeRequest,
|
|
65
42
|
StopMCUMixTranscodeRequest,
|
|
66
|
-
|
|
43
|
+
UserInformation,
|
|
44
|
+
DescribeHistoryScaleRequest,
|
|
45
|
+
DeletePictureRequest,
|
|
46
|
+
TrtcTimeNewUsage,
|
|
47
|
+
DescribeRoomInformationResponse,
|
|
67
48
|
RecordUsage,
|
|
68
|
-
|
|
49
|
+
RemoveUserRequest,
|
|
69
50
|
OutputParams,
|
|
70
|
-
|
|
51
|
+
DescribeExternalTrtcMeasureRequest,
|
|
52
|
+
ModifyPictureRequest,
|
|
71
53
|
CreateTroubleInfoResponse,
|
|
72
54
|
StopMCUMixTranscodeByStrRoomIdRequest,
|
|
73
55
|
QualityData,
|
|
56
|
+
AbnormalEvent,
|
|
57
|
+
StopMCUMixTranscodeByStrRoomIdResponse,
|
|
74
58
|
DeletePictureResponse,
|
|
75
|
-
|
|
76
|
-
|
|
59
|
+
CreateTroubleInfoRequest,
|
|
60
|
+
EventList,
|
|
61
|
+
DismissRoomRequest,
|
|
62
|
+
DescribeDetailEventResponse,
|
|
63
|
+
DismissRoomByStrRoomIdRequest,
|
|
64
|
+
DescribeExternalTrtcMeasureResponse,
|
|
77
65
|
OneSdkAppIdTranscodeTimeUsagesInfo,
|
|
78
|
-
CreateCloudRecordingResponse,
|
|
79
|
-
StartMCUMixTranscodeResponse,
|
|
80
66
|
DescribeTrtcMcuTranscodeTimeResponse,
|
|
81
|
-
DeleteCloudRecordingRequest,
|
|
82
67
|
DescribePictureRequest,
|
|
83
|
-
DescribeExternalTrtcMeasureResponse,
|
|
84
|
-
DescribePictureResponse,
|
|
85
|
-
DescribeTrtcMcuTranscodeTimeRequest,
|
|
86
|
-
DescribeDetailEventRequest,
|
|
87
|
-
UserInformation,
|
|
88
|
-
DismissRoomByStrRoomIdResponse,
|
|
89
|
-
ModifyCloudRecordingResponse,
|
|
90
|
-
AbnormalEvent,
|
|
91
|
-
DescribeCloudRecordingResponse,
|
|
92
|
-
DismissRoomResponse,
|
|
93
|
-
DescribeUserInformationResponse,
|
|
94
|
-
DescribeCallDetailResponse,
|
|
95
|
-
DeletePictureRequest,
|
|
96
|
-
DescribeRoomInformationResponse,
|
|
97
|
-
DescribeExternalTrtcMeasureRequest,
|
|
98
|
-
RemoveUserByStrRoomIdRequest,
|
|
99
|
-
RecordParams,
|
|
100
68
|
SdkAppIdRecordUsage,
|
|
69
|
+
SmallVideoLayoutParams,
|
|
70
|
+
RemoveUserResponse,
|
|
101
71
|
PresetLayoutConfig,
|
|
102
|
-
|
|
72
|
+
DescribeCallDetailResponse,
|
|
73
|
+
DescribePictureResponse,
|
|
103
74
|
PublishCdnParams,
|
|
75
|
+
DescribeRoomInformationRequest,
|
|
76
|
+
DescribeDetailEventRequest,
|
|
104
77
|
AbnormalExperience,
|
|
78
|
+
StartMCUMixTranscodeResponse,
|
|
105
79
|
RoomState,
|
|
106
80
|
CreatePictureResponse,
|
|
107
|
-
|
|
81
|
+
WaterMarkParams,
|
|
82
|
+
DescribeRecordStatisticResponse,
|
|
83
|
+
DismissRoomByStrRoomIdResponse,
|
|
108
84
|
DescribeHistoryScaleResponse,
|
|
85
|
+
StartMCUMixTranscodeByStrRoomIdResponse,
|
|
86
|
+
PictureInfo,
|
|
109
87
|
} from "./trtc_models"
|
|
110
88
|
|
|
111
89
|
/**
|
|
@@ -229,37 +207,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
229
207
|
return this.request("DescribeCallDetail", req, cb)
|
|
230
208
|
}
|
|
231
209
|
|
|
232
|
-
/**
|
|
233
|
-
* 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
|
|
234
|
-
*/
|
|
235
|
-
async ModifyCloudRecording(
|
|
236
|
-
req: ModifyCloudRecordingRequest,
|
|
237
|
-
cb?: (error: string, rep: ModifyCloudRecordingResponse) => void
|
|
238
|
-
): Promise<ModifyCloudRecordingResponse> {
|
|
239
|
-
return this.request("ModifyCloudRecording", req, cb)
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* ###接口说明:
|
|
244
|
-
启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制有或者多路视频画面混流一路。
|
|
245
|
-
|
|
246
|
-
###您可以通过此接口实现如下目标:
|
|
247
|
-
* 指定订阅流参数(RecordParams)来指定需要录制的主播的黑名单或者白名单。
|
|
248
|
-
* 指定第三方存储的参数(StorageParams)来指定上传到您希望的云存储
|
|
249
|
-
* 指定混流模式下的音视频转码详细参数(MixTranscodeParams),包括视频分辨率、视频码率、视频帧率、以及声音质量等
|
|
250
|
-
* 指定混流模式各路画面的位置和布局或者也可以指定自动模板的方式来配置。
|
|
251
|
-
|
|
252
|
-
###关键名词:
|
|
253
|
-
* 单流录制:分别录制房间的订阅UserId的音频和视频。录制服务会实时将录制文件(M3U8/TS)上传至云存储。
|
|
254
|
-
* 混流录制:将房间内订阅UserId的音视频混录成一个音视频文件,并将录制文件(M3U8/TS)上传至云存储。
|
|
255
|
-
*/
|
|
256
|
-
async CreateCloudRecording(
|
|
257
|
-
req: CreateCloudRecordingRequest,
|
|
258
|
-
cb?: (error: string, rep: CreateCloudRecordingResponse) => void
|
|
259
|
-
): Promise<CreateCloudRecordingResponse> {
|
|
260
|
-
return this.request("CreateCloudRecording", req, cb)
|
|
261
|
-
}
|
|
262
|
-
|
|
263
210
|
/**
|
|
264
211
|
* 获取Trtc的用量统计数据。走计费渠道二期 只允许查两天的数据
|
|
265
212
|
*/
|
|
@@ -389,26 +336,6 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
389
336
|
return this.request("DescribeTrtcMcuTranscodeTime", req, cb)
|
|
390
337
|
}
|
|
391
338
|
|
|
392
|
-
/**
|
|
393
|
-
* 成功开启录制后,可以使用此接口来查询录制状态。仅在录制任务进行时有效,录制退出后查询将会返回错误。
|
|
394
|
-
*/
|
|
395
|
-
async DescribeCloudRecording(
|
|
396
|
-
req: DescribeCloudRecordingRequest,
|
|
397
|
-
cb?: (error: string, rep: DescribeCloudRecordingResponse) => void
|
|
398
|
-
): Promise<DescribeCloudRecordingResponse> {
|
|
399
|
-
return this.request("DescribeCloudRecording", req, cb)
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
* 成功开启录制后,可以使用此接口来停止录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。停止录制成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
|
|
404
|
-
*/
|
|
405
|
-
async DeleteCloudRecording(
|
|
406
|
-
req: DeleteCloudRecordingRequest,
|
|
407
|
-
cb?: (error: string, rep: DeleteCloudRecordingResponse) => void
|
|
408
|
-
): Promise<DeleteCloudRecordingResponse> {
|
|
409
|
-
return this.request("DeleteCloudRecording", req, cb)
|
|
410
|
-
}
|
|
411
|
-
|
|
412
339
|
/**
|
|
413
340
|
* 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁查找自定义背景图或水印信息,可通过此接口查找已上传的图片信息。无需频繁查找图片信息的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中查看。
|
|
414
341
|
*/
|