tencentcloud-sdk-nodejs-trtc 4.0.495 → 4.0.496
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 +158 -0
- package/SERVICE_CHANGELOG.md +210 -147
- package/package.json +1 -1
- package/products.md +13 -12
- package/src/services/trtc/v20190722/trtc_client.ts +85 -7
- package/src/services/trtc/v20190722/trtc_models.ts +724 -97
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +35 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +40 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +621 -90
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-11-14 06:09:18 |
|
|
9
9
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
|
|
10
10
|
| ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2022-11-16 06:07:01 |
|
|
11
|
-
| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/1021) | 2022-12-
|
|
11
|
+
| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/1021) | 2022-12-05 10:58:07 |
|
|
12
12
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
|
|
13
13
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
|
|
14
14
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-06-07 06:00:45 |
|
|
15
15
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2022-11-09 06:09:16 |
|
|
16
|
-
| apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-
|
|
16
|
+
| apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-12-06 06:16:29 |
|
|
17
17
|
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-11-18 06:08:39 |
|
|
18
18
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-11-29 06:12:14 |
|
|
19
19
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2022-04-04 06:08:40 |
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
| bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 |
|
|
33
33
|
| bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2022-09-29 06:12:03 |
|
|
34
34
|
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2022-04-04 06:10:17 |
|
|
35
|
-
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-
|
|
35
|
+
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-12-06 06:19:53 |
|
|
36
36
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-11-22 06:12:35 |
|
|
37
37
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2022-11-18 06:12:01 |
|
|
38
38
|
| casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-10-31 06:12:52 |
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-07-30 15:07:54 |
|
|
44
44
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2022-11-29 06:20:53 |
|
|
45
45
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2022-10-31 06:15:53 |
|
|
46
|
-
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2022-
|
|
46
|
+
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2022-12-06 06:24:19 |
|
|
47
47
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-09-26 06:16:02 |
|
|
48
48
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-11-21 06:14:58 |
|
|
49
49
|
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-11-28 06:18:58 |
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-11-24 06:19:10 |
|
|
58
58
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-11-02 06:13:26 |
|
|
59
59
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2022-10-31 06:18:55 |
|
|
60
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-
|
|
60
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-12-06 06:27:51 |
|
|
61
61
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-12-05 06:32:09 |
|
|
62
62
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-11-16 06:15:44 |
|
|
63
63
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-12-05 06:35:54 |
|
|
67
67
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-11-17 06:19:07 |
|
|
68
68
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
69
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2022-12-
|
|
69
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2022-12-06 06:33:40 |
|
|
70
70
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2022-11-04 06:19:07 |
|
|
71
71
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
72
72
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-07-29 06:07:15 |
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
|
|
81
81
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2022-10-31 06:27:09 |
|
|
82
82
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
83
|
-
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-12-
|
|
83
|
+
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-12-06 06:38:01 |
|
|
84
84
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-08-23 06:27:55 |
|
|
85
85
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 |
|
|
86
86
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
|
|
89
89
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2022-11-16 06:22:42 |
|
|
90
90
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-11-29 06:43:55 |
|
|
91
|
-
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-
|
|
92
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2022-12-
|
|
93
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-
|
|
91
|
+
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-12-06 06:40:42 |
|
|
92
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2022-12-06 06:41:11 |
|
|
93
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-12-06 06:41:29 |
|
|
94
94
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
|
|
95
95
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-11-29 06:46:33 |
|
|
96
96
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-10-21 06:47:14 |
|
|
185
185
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-11-17 06:47:13 |
|
|
186
186
|
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2022-11-25 07:03:54 |
|
|
187
|
-
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-
|
|
187
|
+
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-12-06 07:10:10 |
|
|
188
188
|
| tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2022-11-17 06:48:59 |
|
|
189
189
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-11-29 07:26:41 |
|
|
190
190
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-11-16 06:42:38 |
|
|
@@ -200,8 +200,9 @@
|
|
|
200
200
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
201
201
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-11-18 06:55:59 |
|
|
202
202
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-11-02 06:48:15 |
|
|
203
|
+
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2022-12-06 07:15:29 |
|
|
203
204
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-11-22 07:04:58 |
|
|
204
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-
|
|
205
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-12-06 07:15:51 |
|
|
205
206
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2022-10-31 06:58:14 |
|
|
206
207
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-10-31 06:58:25 |
|
|
207
208
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-10-31 06:59:44 |
|
|
@@ -21,17 +21,20 @@ import {
|
|
|
21
21
|
DescribeRelayUsageRequest,
|
|
22
22
|
DescribeTRTCMarketQualityMetricDataResponse,
|
|
23
23
|
MixLayout,
|
|
24
|
+
McuVideoParams,
|
|
24
25
|
RemoveUserByStrRoomIdResponse,
|
|
25
|
-
|
|
26
|
+
McuLayoutVolume,
|
|
26
27
|
DescribeUserEventRequest,
|
|
27
|
-
|
|
28
|
+
StopPublishCdnStreamResponse,
|
|
29
|
+
AbnormalEvent,
|
|
28
30
|
ScaleInfomation,
|
|
29
31
|
DescribeTRTCRealTimeScaleMetricDataRequest,
|
|
30
32
|
DescribeUserEventResponse,
|
|
33
|
+
VideoEncode,
|
|
31
34
|
StopMCUMixTranscodeByStrRoomIdResponse,
|
|
32
35
|
PictureInfo,
|
|
33
36
|
DescribeCallDetailInfoRequest,
|
|
34
|
-
|
|
37
|
+
ModifyPictureRequest,
|
|
35
38
|
DescribeUserInfoRequest,
|
|
36
39
|
WaterMarkParams,
|
|
37
40
|
DescribeRecordStatisticResponse,
|
|
@@ -46,25 +49,35 @@ import {
|
|
|
46
49
|
DescribeRoomInfoRequest,
|
|
47
50
|
StorageParams,
|
|
48
51
|
CloudVod,
|
|
52
|
+
SdkAppIdNewTrtcTimeUsage,
|
|
49
53
|
EncodeParams,
|
|
50
54
|
DescribeCallDetailInfoResponse,
|
|
55
|
+
McuCustomCrop,
|
|
51
56
|
TrtcTimeNewUsage,
|
|
52
57
|
DescribeMixTranscodingUsageRequest,
|
|
53
|
-
|
|
58
|
+
MixTranscodeParams,
|
|
54
59
|
SmallVideoLayoutParams,
|
|
55
60
|
SubscribeStreamUserIds,
|
|
56
61
|
WaterMarkImage,
|
|
62
|
+
McuUserInfoParams,
|
|
63
|
+
UserMediaStream,
|
|
57
64
|
EventList,
|
|
58
65
|
DescribeTrtcUsageRequest,
|
|
59
66
|
DescribeRoomInfoResponse,
|
|
67
|
+
McuLayoutParams,
|
|
60
68
|
DescribeTRTCRealTimeQualityMetricDataRequest,
|
|
61
69
|
SdkAppIdTrtcMcuTranscodeTimeUsage,
|
|
70
|
+
McuLayout,
|
|
62
71
|
DescribeUserInfoResponse,
|
|
63
72
|
DescribeTRTCRealTimeScaleMetricDataResponse,
|
|
73
|
+
StartMCUMixTranscodeRequest,
|
|
74
|
+
McuWaterMarkImage,
|
|
75
|
+
StartPublishCdnStreamResponse,
|
|
64
76
|
TrtcUsage,
|
|
65
77
|
DescribeTRTCMarketScaleMetricDataRequest,
|
|
66
78
|
DescribeRelayUsageResponse,
|
|
67
79
|
DescribeRecordingUsageResponse,
|
|
80
|
+
StopMCUMixTranscodeRequest,
|
|
68
81
|
ModifyPictureResponse,
|
|
69
82
|
DescribeRecordingUsageRequest,
|
|
70
83
|
StorageFile,
|
|
@@ -73,14 +86,15 @@ import {
|
|
|
73
86
|
MixLayoutParams,
|
|
74
87
|
StopMCUMixTranscodeResponse,
|
|
75
88
|
DescribeMixTranscodingUsageResponse,
|
|
89
|
+
McuFeedBackRoomParams,
|
|
76
90
|
SdkAppIdRecordUsage,
|
|
77
|
-
|
|
91
|
+
AudioEncode,
|
|
78
92
|
RemoveUserRequest,
|
|
79
93
|
DismissRoomRequest,
|
|
80
94
|
DescribeUnusualEventRequest,
|
|
81
95
|
DescribeCloudRecordingRequest,
|
|
82
96
|
TencentVod,
|
|
83
|
-
|
|
97
|
+
McuPassThrough,
|
|
84
98
|
DescribeTRTCRealTimeQualityMetricDataResponse,
|
|
85
99
|
LayoutParams,
|
|
86
100
|
RecordUsage,
|
|
@@ -89,9 +103,11 @@ import {
|
|
|
89
103
|
DeleteCloudRecordingResponse,
|
|
90
104
|
StopMCUMixTranscodeByStrRoomIdRequest,
|
|
91
105
|
QualityData,
|
|
106
|
+
StopPublishCdnStreamRequest,
|
|
92
107
|
DeletePictureResponse,
|
|
93
108
|
ModifyCloudRecordingRequest,
|
|
94
109
|
VideoParams,
|
|
110
|
+
StartPublishCdnStreamRequest,
|
|
95
111
|
OneSdkAppIdTranscodeTimeUsagesInfo,
|
|
96
112
|
CreateCloudRecordingResponse,
|
|
97
113
|
StartMCUMixTranscodeResponse,
|
|
@@ -107,18 +123,28 @@ import {
|
|
|
107
123
|
DismissRoomByStrRoomIdResponse,
|
|
108
124
|
DescribeUnusualEventResponse,
|
|
109
125
|
ModifyCloudRecordingResponse,
|
|
110
|
-
|
|
126
|
+
StartMCUMixTranscodeByStrRoomIdRequest,
|
|
111
127
|
DescribeCloudRecordingResponse,
|
|
128
|
+
MixUserInfo,
|
|
112
129
|
DismissRoomResponse,
|
|
130
|
+
UpdatePublishCdnStreamRequest,
|
|
131
|
+
MaxVideoUser,
|
|
132
|
+
AgentParams,
|
|
113
133
|
DeletePictureRequest,
|
|
134
|
+
McuSeiParams,
|
|
114
135
|
DescribeExternalTrtcMeasureRequest,
|
|
136
|
+
UpdatePublishCdnStreamResponse,
|
|
115
137
|
RemoveUserByStrRoomIdRequest,
|
|
116
138
|
RecordParams,
|
|
117
139
|
DescribeTRTCMarketScaleMetricDataResponse,
|
|
140
|
+
McuAudioParams,
|
|
118
141
|
PresetLayoutConfig,
|
|
142
|
+
McuPublishCdnParam,
|
|
119
143
|
AudioParams,
|
|
120
144
|
SeriesInfo,
|
|
145
|
+
SingleSubscribeParams,
|
|
121
146
|
PublishCdnParams,
|
|
147
|
+
McuWaterMarkParams,
|
|
122
148
|
AbnormalExperience,
|
|
123
149
|
RoomState,
|
|
124
150
|
CreatePictureResponse,
|
|
@@ -180,6 +206,37 @@ networkDelay :网络延迟率。
|
|
|
180
206
|
return this.request("DescribeTRTCMarketQualityMetricData", req, cb)
|
|
181
207
|
}
|
|
182
208
|
|
|
209
|
+
/**
|
|
210
|
+
* 接口说明:启动旁路以及混流转推任务。TRTC 的房间中可能会同时存在多路音视频流,您可以通过此API接口,实现以下几种效果:
|
|
211
|
+
1、支持将单个主播的音视频流发布(也称作“转推”)到直播CDN上,请参考示例2(发起单流音视频旁路转推)和示例3(发起单流纯音频旁路转推)。
|
|
212
|
+
2、支持将同个房间多个主播或者不同房间多个主播的音视频混合成1路后再发布到直播CDN上,您可以通过AudioParams.SubscribeAudioList和VideoParams.LayoutParams调整参与混音的用户列表以及指定各路混流画面的布局位置。请参考示例1(发起混流转推)。
|
|
213
|
+
3、支持预先设置一个房间的混流模板,将该房间中的多个音视频混合成1路发布到直播CDN,腾讯云后台实时监控TRTC房间中的主播变化,自动按照混流模板调整布局。目前已经支持了如下几种混流预设模板:
|
|
214
|
+
- 悬浮模板:第一个进入房间的用户的视频画面会铺满整个屏幕,其他用户的视频画面从左下角依次水平排列,显示为小画面,最多4行,每行4个,小画面悬浮于大画面之上。最多支持1个大画面和15个小画面。
|
|
215
|
+
- 九宫格模板:所有用户的视频画面大小一致,平分整个屏幕,人数越多,每个画面的尺寸越小,最多支持16个画面。
|
|
216
|
+
- 屏幕分享模板:适合视频会议和在线教育场景的布局,屏幕分享(或者主讲的摄像头)始终占据屏幕左侧的大画面位置,其他用户依次垂直排列于右侧,最多两列,每列最多8个小画面。最多支持1个大画面和15个小画面。若上行分辨率宽高比与画面输出宽高比不一致时,左侧大画面为了保持内容的完整性采用缩放方式处理,右侧小画面采用裁剪方式处理。
|
|
217
|
+
4、支持同时将音视频流发布到最多10个直播CDN上。您可以通过PublishCdnParams.PublishCdnUrl指定转推CDN的url,如果您想转推到腾讯云CDN,PublishCdnParams.IsTencentCdn填为1。
|
|
218
|
+
5、支持通过配置服务端回调,实时将转推状态以HTTP/HTTPS POST 请求发送给您的服务器,如果您需要接入转推事件回调,请联系腾讯云技术支持。
|
|
219
|
+
6、云API调用支持广州、上海、北京、香港四个地域,如果您想转推海外,请选择香港地域。
|
|
220
|
+
7、国内站默认只支持转推腾讯云CDN,如您有转推第三方CDN的需求,请联系腾讯云技术支持,由后台进行评估。
|
|
221
|
+
注意:
|
|
222
|
+
1、**混流转码为收费功能,调用接口将产生云端混流转码费用,详见[云端混流转推计费说明](https://cloud.tencent.com/document/product/647/49446)。**
|
|
223
|
+
2、**转推非腾讯云CDN将产生云端转推费用,详见[云端混流转推计费说明](https://cloud.tencent.com/document/product/647/82155)。**
|
|
224
|
+
|
|
225
|
+
其他使用说明如下:
|
|
226
|
+
1、使用混流转推接口时,您需要先调用启动转推任务接口(StartPublishCdnStream),获取启动转推任务响应中的任务ID标识(TaskId)。后续传入任务ID标识(TaskId)来更新转推任务(UpdatePublishCdnStream)和停止转推任务(StopPublishCdnStream)。
|
|
227
|
+
2、为了确保转推链接的稳定,同一个转推任务不支持纯音频、音视频、纯视频之间的切换。
|
|
228
|
+
3、为了确保转推链接的稳定,更新转推任务接口(UpdatePublishCdnStream)不支持时更改视频参数(codec)和音频参数(codec、采样率、码率、声道数),其余参数建议全量带齐。
|
|
229
|
+
4、发起单流旁路任务时,AudioParams和VideoParams都填写表示音视频旁路,如果仅填写AudioParams表示纯音频旁路,任务进行过程中不支持纯音频到音视频的切换。音视频旁路时,VideoParams中的Width、Height、Fps、BitRate、Gop需要按照真实上行参数填写。
|
|
230
|
+
5、更新转推任务(UpdatePublishCdnStream)必须携带SequenceNumber参数,用于防止请求乱序。客户保证对同一个任务更新时的SequenceNumber参数递增:腾讯云返回InternalError错误码时,需重试请求(不换SequenceNumber);腾讯云返回FailedOperation.OutdateRequest过期错误码时,无需处理即可。
|
|
231
|
+
6、您可以在主播进房前,提前创建转推任务,结束转推任务时需要主动调用停止接口。如果您没有调用停止转推任务接口时,腾讯云后台会按照所有参与混流的用户没有任何数据上行的时间算起,直到超过启动转推任务时设置的超时时间(AgentParams.MaxIdleTime)为止,自动停止混流转推任务。
|
|
232
|
+
*/
|
|
233
|
+
async StartPublishCdnStream(
|
|
234
|
+
req: StartPublishCdnStreamRequest,
|
|
235
|
+
cb?: (error: string, rep: StartPublishCdnStreamResponse) => void
|
|
236
|
+
): Promise<StartPublishCdnStreamResponse> {
|
|
237
|
+
return this.request("StartPublishCdnStream", req, cb)
|
|
238
|
+
}
|
|
239
|
+
|
|
183
240
|
/**
|
|
184
241
|
* 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。(同老接口DescribeCallDetail)
|
|
185
242
|
**注意**:
|
|
@@ -535,6 +592,17 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
535
592
|
return this.request("ModifyPicture", req, cb)
|
|
536
593
|
}
|
|
537
594
|
|
|
595
|
+
/**
|
|
596
|
+
* 更新转推任务。
|
|
597
|
+
注:请参见启动转推任务的接口说明和使用说明。
|
|
598
|
+
*/
|
|
599
|
+
async UpdatePublishCdnStream(
|
|
600
|
+
req: UpdatePublishCdnStreamRequest,
|
|
601
|
+
cb?: (error: string, rep: UpdatePublishCdnStreamResponse) => void
|
|
602
|
+
): Promise<UpdatePublishCdnStreamResponse> {
|
|
603
|
+
return this.request("UpdatePublishCdnStream", req, cb)
|
|
604
|
+
}
|
|
605
|
+
|
|
538
606
|
/**
|
|
539
607
|
* 成功开启录制后,可以使用此接口来停止录制任务。停止录制成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
|
|
540
608
|
*/
|
|
@@ -555,6 +623,16 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
555
623
|
return this.request("DescribePicture", req, cb)
|
|
556
624
|
}
|
|
557
625
|
|
|
626
|
+
/**
|
|
627
|
+
* 停止转推任务。
|
|
628
|
+
*/
|
|
629
|
+
async StopPublishCdnStream(
|
|
630
|
+
req: StopPublishCdnStreamRequest,
|
|
631
|
+
cb?: (error: string, rep: StopPublishCdnStreamResponse) => void
|
|
632
|
+
): Promise<StopPublishCdnStreamResponse> {
|
|
633
|
+
return this.request("StopPublishCdnStream", req, cb)
|
|
634
|
+
}
|
|
635
|
+
|
|
558
636
|
/**
|
|
559
637
|
* 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。(同老接口DescribeAbnormalEvent)
|
|
560
638
|
异常体验ID映射见:https://cloud.tencent.com/document/product/647/44916
|