tencentcloud-sdk-nodejs-trtc 4.0.463 → 4.0.469

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.
@@ -103,59 +103,42 @@ export interface MixLayout {
103
103
  SubBackgroundImage?: string;
104
104
  }
105
105
  /**
106
- * 混流转推的视频相关参数。
106
+ * RemoveUserByStrRoomId返回参数结构体
107
107
  */
108
- export interface McuVideoParams {
108
+ export interface RemoveUserByStrRoomIdResponse {
109
109
  /**
110
- * 输出流视频编码参数。
110
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
111
111
  */
112
- VideoEncode?: VideoEncode;
112
+ RequestId?: string;
113
+ }
114
+ /**
115
+ * StartMCUMixTranscode请求参数结构体
116
+ */
117
+ export interface StartMCUMixTranscodeRequest {
113
118
  /**
114
- * 混流布局参数。
119
+ * TRTC的SDKAppId。
115
120
  */
116
- LayoutParams?: McuLayoutParams;
117
- /**
118
- * 整个画布背景颜色,常用的颜色有:
119
- 红色:0xcc0033。
120
- 黄色:0xcc9900。
121
- 绿色:0xcccc33。
122
- 蓝色:0x99CCFF。
123
- 黑色:0x000000。
124
- 白色:0xFFFFFF。
125
- 灰色:0x999999。
126
- */
127
- BackGroundColor?: string;
121
+ SdkAppId: number;
128
122
  /**
129
- * 整个画布的背景图url,优先级高于BackGroundColor。
123
+ * 房间号。
130
124
  */
131
- BackgroundImageUrl?: string;
125
+ RoomId: number;
132
126
  /**
133
- * 混流布局的水印参数。
127
+ * 混流输出控制参数。
134
128
  */
135
- WaterMarkList?: Array<McuWaterMarkParams>;
136
- }
137
- /**
138
- * RemoveUserByStrRoomId返回参数结构体
139
- */
140
- export interface RemoveUserByStrRoomIdResponse {
129
+ OutputParams: OutputParams;
141
130
  /**
142
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
131
+ * 混流输出编码参数。
143
132
  */
144
- RequestId?: string;
145
- }
146
- /**
147
- * 音量布局SEI参数,可以自定义AppData和PayloadType类型。
148
- 该参数内容可以为空,表示携带默认的音量布局SEI。
149
- */
150
- export interface McuLayoutVolume {
133
+ EncodeParams: EncodeParams;
151
134
  /**
152
- * AppData的内容,会被写入自定义SEI中的app_data字段,长度需小于4096。
135
+ * 混流输出布局参数。
153
136
  */
154
- AppData?: string;
137
+ LayoutParams: LayoutParams;
155
138
  /**
156
- * SEI消息的payload_type,默认值100,取值范围100-254(244除外,244为我们内部自定义的时间戳SEI)
139
+ * 第三方CDN转推参数。
157
140
  */
158
- PayloadType?: number;
141
+ PublishCdnParams?: PublishCdnParams;
159
142
  }
160
143
  /**
161
144
  * DescribeUserEvent请求参数结构体
@@ -189,31 +172,33 @@ export interface DescribeUserEventRequest {
189
172
  SdkAppId: number;
190
173
  }
191
174
  /**
192
- * StopPublishCdnStream返回参数结构体
175
+ * StartMCUMixTranscodeByStrRoomId请求参数结构体
193
176
  */
194
- export interface StopPublishCdnStreamResponse {
177
+ export interface StartMCUMixTranscodeByStrRoomIdRequest {
195
178
  /**
196
- * 转推任务唯一的String Id
179
+ * TRTC的SDKAppId。
197
180
  */
198
- TaskId: string;
181
+ SdkAppId: number;
199
182
  /**
200
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
183
+ * 字符串房间号。
201
184
  */
202
- RequestId?: string;
203
- }
204
- /**
205
- * 造成异常体验可能的异常事件类型
206
- */
207
- export interface AbnormalEvent {
185
+ StrRoomId: string;
208
186
  /**
209
- * 异常事件ID,具体值查看附录:异常体验ID映射表:https://cloud.tencent.com/document/product/647/44916
187
+ * 混流输出控制参数。
210
188
  */
211
- AbnormalEventId: number;
189
+ OutputParams: OutputParams;
212
190
  /**
213
- * 远端用户ID,"":表示异常事件不是由远端用户产生
214
- 注意:此字段可能返回 null,表示取不到有效值。
215
- */
216
- PeerId: string;
191
+ * 混流输出编码参数。
192
+ */
193
+ EncodeParams: EncodeParams;
194
+ /**
195
+ * 混流输出布局参数。
196
+ */
197
+ LayoutParams: LayoutParams;
198
+ /**
199
+ * 第三方CDN转推参数。
200
+ */
201
+ PublishCdnParams?: PublishCdnParams;
217
202
  }
218
203
  /**
219
204
  * 历史规模信息
@@ -239,23 +224,6 @@ export interface ScaleInfomation {
239
224
  */
240
225
  RoomNumbers: number;
241
226
  }
242
- /**
243
- * 转推服务加入TRTC房间的机器人参数。
244
- */
245
- export interface AgentParams {
246
- /**
247
- * 转推服务在TRTC房间使用的[UserId](https://cloud.tencent.com/document/product/647/46351#userid),注意这个userId不能与其他TRTC或者转推服务等已经使用的UserId重复,建议可以把房间ID作为userId的标识的一部分。
248
- */
249
- UserId: string;
250
- /**
251
- * 转推服务加入TRTC房间的用户签名,当前 UserId 对应的验证签名,相当于登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
252
- */
253
- UserSig?: string;
254
- /**
255
- * 所有参与混流转推的主播持续离开TRTC房间超过MaxIdleTime的时长,自动停止转推,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
256
- */
257
- MaxIdleTime?: number;
258
- }
259
227
  /**
260
228
  * DescribeUserEvent返回参数结构体
261
229
  */
@@ -269,31 +237,6 @@ export interface DescribeUserEventResponse {
269
237
  */
270
238
  RequestId?: string;
271
239
  }
272
- /**
273
- * 视频编码参数。
274
- */
275
- export interface VideoEncode {
276
- /**
277
- * 输出流宽,音视频输出时必填。取值范围[0,1920],单位为像素值。
278
- */
279
- Width: number;
280
- /**
281
- * 输出流高,音视频输出时必填。取值范围[0,1080],单位为像素值。
282
- */
283
- Height: number;
284
- /**
285
- * 输出流帧率,音视频输出时必填。取值范围[1,60],表示混流的输出帧率可选范围为1到60fps。
286
- */
287
- Fps: number;
288
- /**
289
- * 输出流码率,音视频输出时必填。取值范围[1,10000],单位为kbps。
290
- */
291
- BitRate: number;
292
- /**
293
- * 输出流gop,音视频输出时必填。取值范围[1,5],单位为秒。
294
- */
295
- Gop: number;
296
- }
297
240
  /**
298
241
  * StopMCUMixTranscodeByStrRoomId返回参数结构体
299
242
  */
@@ -665,23 +608,6 @@ export interface CloudVod {
665
608
  */
666
609
  TencentVod?: TencentVod;
667
610
  }
668
- /**
669
- * SdkAppId级别实时音视频的用量数据
670
- */
671
- export interface SdkAppIdNewTrtcTimeUsage {
672
- /**
673
- * SdkAppId的值。
674
- */
675
- SdkAppId: string;
676
- /**
677
- * 统计的时间点数据。
678
- */
679
- TrtcTimeUsages: Array<TrtcTimeNewUsage>;
680
- /**
681
- * 统计的麦下用量的时间点数据。
682
- */
683
- AudienceTrtcTimeUsages: Array<TrtcTimeNewUsage>;
684
- }
685
611
  /**
686
612
  * MCU混流输出流编码参数
687
613
  */
@@ -765,27 +691,6 @@ export interface DescribeCallDetailInfoResponse {
765
691
  */
766
692
  RequestId?: string;
767
693
  }
768
- /**
769
- * 混流自定义裁剪参数
770
- */
771
- export interface McuCustomCrop {
772
- /**
773
- * 自定义裁剪起始位置的X偏移,单位为像素值,大于等于0。
774
- */
775
- LocationX: number;
776
- /**
777
- * 自定义裁剪起始位置的Y偏移,单位为像素值,大于等于0。
778
- */
779
- LocationY: number;
780
- /**
781
- * 自定义裁剪画面的宽度,单位为像素值,大于0,且LocationX+Width不超过10000
782
- */
783
- Width: number;
784
- /**
785
- * 自定义裁剪画面的高度,单位为像素值,大于0,且LocationY+Height不超过10000
786
- */
787
- Height: number;
788
- }
789
694
  /**
790
695
  * 实时音视频用量的某一时间段的统计信息.
791
696
  */
@@ -953,28 +858,6 @@ export interface WaterMarkImage {
953
858
  */
954
859
  Height: number;
955
860
  }
956
- /**
957
- * 混流用户参数
958
- */
959
- export interface McuUserInfoParams {
960
- /**
961
- * 用户参数。
962
- */
963
- UserInfo: MixUserInfo;
964
- }
965
- /**
966
- * 用户媒体流参数。
967
- */
968
- export interface UserMediaStream {
969
- /**
970
- * TRTC用户参数。
971
- */
972
- UserInfo?: MixUserInfo;
973
- /**
974
- * 主辅路流类型,0为摄像头,1为屏幕分享,不填默认为0。
975
- */
976
- StreamType?: number;
977
- }
978
861
  /**
979
862
  * sdk或webrtc的事件列表。
980
863
  */
@@ -1023,68 +906,6 @@ export interface DescribeRoomInfoResponse {
1023
906
  */
1024
907
  RequestId?: string;
1025
908
  }
1026
- /**
1027
- * 混流布局参数。
1028
- */
1029
- export interface McuLayoutParams {
1030
- /**
1031
- * 布局模式:动态布局(1:悬浮布局(默认),2:屏幕分享布局,3:九宫格布局),静态布局(4:自定义布局)。
1032
- */
1033
- MixLayoutMode?: number;
1034
- /**
1035
- * 纯音频上行是否占布局位置,只在动态布局中有效。0表示纯音频占布局位置,1表示纯音频不占布局位置,不填默认为0。
1036
- */
1037
- PureAudioHoldPlaceMode?: number;
1038
- /**
1039
- * 自定义模板中有效,指定用户视频在混合画面中的位置。
1040
- */
1041
- MixLayoutList?: Array<McuLayout>;
1042
- /**
1043
- * 指定动态布局中悬浮布局和屏幕分享布局的大画面信息,只在悬浮布局和屏幕分享布局有效。
1044
- */
1045
- MaxVideoUser?: MaxVideoUser;
1046
- }
1047
- /**
1048
- * UpdatePublishCdnStream请求参数结构体
1049
- */
1050
- export interface UpdatePublishCdnStreamRequest {
1051
- /**
1052
- * TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和转推的房间所对应的SdkAppId相同。
1053
- */
1054
- SdkAppId: number;
1055
- /**
1056
- * 唯一标识转推任务。
1057
- */
1058
- TaskId: string;
1059
- /**
1060
- * 客户保证同一个任务,每次更新请求中的SequenceNumber递增,防止请求乱序。
1061
- */
1062
- SequenceNumber: number;
1063
- /**
1064
- * 是否转码,0表示无需转码,1表示需要转码。
1065
- */
1066
- WithTranscoding: number;
1067
- /**
1068
- * 更新相关参数,只支持更新参与混音的主播列表参数。不填表示不更新此参数。
1069
- */
1070
- AudioParams?: McuAudioParams;
1071
- /**
1072
- * 更新视频相关参数,转码时支持更新除编码类型之外的编码参数,视频布局参数,背景图片和背景颜色参数,水印参数。不填表示不更新此参数。
1073
- */
1074
- VideoParams?: McuVideoParams;
1075
- /**
1076
- * 更新单流转推的用户上行参数,仅在非转码时有效。不填表示不更新此参数。
1077
- */
1078
- SingleSubscribeParams?: SingleSubscribeParams;
1079
- /**
1080
- * 更新转推的CDN参数。不填表示不更新此参数。
1081
- */
1082
- PublishCdnParams?: Array<McuPublishCdnParam>;
1083
- /**
1084
- * 混流SEI参数
1085
- */
1086
- SeiParams?: McuSeiParams;
1087
- }
1088
909
  /**
1089
910
  * 查询旁路转码计费时长。
1090
911
  查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
@@ -1115,58 +936,6 @@ export interface SdkAppIdTrtcMcuTranscodeTimeUsage {
1115
936
  */
1116
937
  Flux: number;
1117
938
  }
1118
- /**
1119
- * 混流布局参数。
1120
- */
1121
- export interface McuLayout {
1122
- /**
1123
- * 用户媒体流参数。不填时腾讯云后台按照上行主播的进房顺序自动填充。
1124
- */
1125
- UserMediaStream?: UserMediaStream;
1126
- /**
1127
- * 子画面在输出时的宽度,单位为像素值,不填默认为0。
1128
- */
1129
- ImageWidth?: number;
1130
- /**
1131
- * 子画面在输出时的高度,单位为像素值,不填默认为0。
1132
- */
1133
- ImageHeight?: number;
1134
- /**
1135
- * 子画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。
1136
- */
1137
- LocationX?: number;
1138
- /**
1139
- * 子画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。
1140
- */
1141
- LocationY?: number;
1142
- /**
1143
- * 子画面在输出时的层级,不填默认为0。
1144
- */
1145
- ZOrder?: number;
1146
- /**
1147
- * 子画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底。不填默认为0。
1148
- */
1149
- RenderMode?: number;
1150
- /**
1151
- * 子画面的背景颜色,常用的颜色有:
1152
- 红色:0xcc0033。
1153
- 黄色:0xcc9900。
1154
- 绿色:0xcccc33。
1155
- 蓝色:0x99CCFF。
1156
- 黑色:0x000000。
1157
- 白色:0xFFFFFF。
1158
- 灰色:0x999999。
1159
- */
1160
- BackGroundColor?: string;
1161
- /**
1162
- * 子画面的背景图url,填写该参数,当用户关闭摄像头或未进入TRTC房间时,会在布局位置填充为指定图片。若指定图片与布局位置尺寸比例不一致,则会对图片进行拉伸处理,优先级高于BackGroundColor。
1163
- */
1164
- BackgroundImageUrl?: string;
1165
- /**
1166
- * 客户自定义裁剪,针对原始输入流裁剪
1167
- */
1168
- CustomCrop?: McuCustomCrop;
1169
- }
1170
939
  /**
1171
940
  * DescribeUserInfo返回参数结构体
1172
941
  */
@@ -1185,77 +954,6 @@ export interface DescribeUserInfoResponse {
1185
954
  */
1186
955
  RequestId?: string;
1187
956
  }
1188
- /**
1189
- * StartMCUMixTranscode请求参数结构体
1190
- */
1191
- export interface StartMCUMixTranscodeRequest {
1192
- /**
1193
- * TRTC的SDKAppId。
1194
- */
1195
- SdkAppId: number;
1196
- /**
1197
- * 房间号。
1198
- */
1199
- RoomId: number;
1200
- /**
1201
- * 混流输出控制参数。
1202
- */
1203
- OutputParams: OutputParams;
1204
- /**
1205
- * 混流输出编码参数。
1206
- */
1207
- EncodeParams: EncodeParams;
1208
- /**
1209
- * 混流输出布局参数。
1210
- */
1211
- LayoutParams: LayoutParams;
1212
- /**
1213
- * 第三方CDN转推参数。
1214
- */
1215
- PublishCdnParams?: PublishCdnParams;
1216
- }
1217
- /**
1218
- * 图片水印参数。
1219
- */
1220
- export interface McuWaterMarkImage {
1221
- /**
1222
- * 水印图片URL地址,支持png、jpg、jpeg格式。图片大小限制不超过5MB。
1223
- */
1224
- WaterMarkUrl: string;
1225
- /**
1226
- * 水印在输出时的宽。单位为像素值。
1227
- */
1228
- WaterMarkWidth: number;
1229
- /**
1230
- * 水印在输出时的高。单位为像素值。
1231
- */
1232
- WaterMarkHeight: number;
1233
- /**
1234
- * 水印在输出时的X偏移。单位为像素值。
1235
- */
1236
- LocationX: number;
1237
- /**
1238
- * 水印在输出时的Y偏移。单位为像素值。
1239
- */
1240
- LocationY: number;
1241
- /**
1242
- * 水印在输出时的层级,不填默认为0。
1243
- */
1244
- ZOrder?: number;
1245
- }
1246
- /**
1247
- * StartPublishCdnStream返回参数结构体
1248
- */
1249
- export interface StartPublishCdnStreamResponse {
1250
- /**
1251
- * 用于唯一标识转推任务,由腾讯云服务端生成,后续更新和停止请求都需要携带TaskiD参数。
1252
- */
1253
- TaskId: string;
1254
- /**
1255
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1256
- */
1257
- RequestId?: string;
1258
- }
1259
957
  /**
1260
958
  * 实时音视频用量在某一时间段的统计信息。
1261
959
  */
@@ -1303,19 +1001,6 @@ export interface DescribeRecordingUsageResponse {
1303
1001
  */
1304
1002
  RequestId?: string;
1305
1003
  }
1306
- /**
1307
- * StopMCUMixTranscode请求参数结构体
1308
- */
1309
- export interface StopMCUMixTranscodeRequest {
1310
- /**
1311
- * TRTC的SDKAppId。
1312
- */
1313
- SdkAppId: number;
1314
- /**
1315
- * 房间号。
1316
- */
1317
- RoomId: number;
1318
- }
1319
1004
  /**
1320
1005
  * ModifyPicture返回参数结构体
1321
1006
  */
@@ -1492,25 +1177,21 @@ export interface DescribeMixTranscodingUsageResponse {
1492
1177
  RequestId?: string;
1493
1178
  }
1494
1179
  /**
1495
- * 音频编码参数。
1180
+ * SdkAppId级别实时音视频的用量数据
1496
1181
  */
1497
- export interface AudioEncode {
1498
- /**
1499
- * 输出流音频采样率。取值为[48000, 44100, 32000, 24000, 16000, 8000],单位是Hz。
1500
- */
1501
- SampleRate: number;
1182
+ export interface SdkAppIdNewTrtcTimeUsage {
1502
1183
  /**
1503
- * 输出流音频声道数,取值范围[1,2],1表示混流输出音频为单声道,2表示混流输出音频为双声道。
1184
+ * SdkAppId的值。
1504
1185
  */
1505
- Channel: number;
1186
+ SdkAppId: string;
1506
1187
  /**
1507
- * 输出流音频码率。取值范围[8,500],单位为kbps。
1188
+ * 统计的时间点数据。
1508
1189
  */
1509
- BitRate: number;
1190
+ TrtcTimeUsages: Array<TrtcTimeNewUsage>;
1510
1191
  /**
1511
- * 输出流音频编码类型,取值范围[0, 1, 2],0为LC-AAC,1为HE-AAC,2为HE-AACv2。默认值为0。当音频编码设置为HE-AACv2时,只支持输出流音频声道数为双声道。HE-AAC和HE-AACv2支持的输出流音频采样率范围为[48000, 44100, 32000, 24000, 16000]。
1192
+ * 统计的麦下用量的时间点数据。
1512
1193
  */
1513
- Codec?: number;
1194
+ AudienceTrtcTimeUsages: Array<TrtcTimeNewUsage>;
1514
1195
  }
1515
1196
  /**
1516
1197
  * RemoveUser请求参数结构体
@@ -1616,21 +1297,17 @@ export interface TencentVod {
1616
1297
  MediaType?: number;
1617
1298
  }
1618
1299
  /**
1619
- * 自定义透传SEI
1300
+ * StopMCUMixTranscode请求参数结构体
1620
1301
  */
1621
- export interface McuPassThrough {
1622
- /**
1623
- * 透传SEI的payload内容。
1624
- */
1625
- PayloadContent: string;
1302
+ export interface StopMCUMixTranscodeRequest {
1626
1303
  /**
1627
- * SEI消息的payload_type,取值范围5、100-254(244除外,244为我们内部自定义的时间戳SEI)。
1304
+ * TRTC的SDKAppId。
1628
1305
  */
1629
- PayloadType: number;
1306
+ SdkAppId: number;
1630
1307
  /**
1631
- * PayloadType为5,PayloadUuid必须填写。PayloadType不是5时,不需要填写,填写会被后台忽略。该值必须是32长度的十六进制。
1308
+ * 房间号。
1632
1309
  */
1633
- PayloadUuid?: string;
1310
+ RoomId: number;
1634
1311
  }
1635
1312
  /**
1636
1313
  * MCU混流布局参数
@@ -1823,19 +1500,6 @@ export interface QualityData {
1823
1500
  */
1824
1501
  DataType: string;
1825
1502
  }
1826
- /**
1827
- * StopPublishCdnStream请求参数结构体
1828
- */
1829
- export interface StopPublishCdnStreamRequest {
1830
- /**
1831
- * TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和转推的房间所对应的SdkAppId相同。
1832
- */
1833
- SdkAppId: number;
1834
- /**
1835
- * 唯一标识转推任务。
1836
- */
1837
- TaskId: string;
1838
- }
1839
1503
  /**
1840
1504
  * DeletePicture返回参数结构体
1841
1505
  */
@@ -1891,51 +1555,6 @@ export interface VideoParams {
1891
1555
  */
1892
1556
  Gop: number;
1893
1557
  }
1894
- /**
1895
- * StartPublishCdnStream请求参数结构体
1896
- */
1897
- export interface StartPublishCdnStreamRequest {
1898
- /**
1899
- * TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和转推的房间所对应的SdkAppId相同。
1900
- */
1901
- SdkAppId: number;
1902
- /**
1903
- * 主房间信息RoomId,转推的TRTC房间所对应的RoomId。
1904
- */
1905
- RoomId: string;
1906
- /**
1907
- * 主房间信息RoomType,必须和转推的房间所对应的RoomId类型相同,0为整形房间号,1为字符串房间号。
1908
- */
1909
- RoomIdType: number;
1910
- /**
1911
- * 转推服务加入TRTC房间的机器人参数。
1912
- */
1913
- AgentParams: AgentParams;
1914
- /**
1915
- * 是否转码,0表示无需转码,1表示需要转码。
1916
- */
1917
- WithTranscoding: number;
1918
- /**
1919
- * 转推流的音频编码参数。
1920
- */
1921
- AudioParams?: McuAudioParams;
1922
- /**
1923
- * 转推流的视频编码参数,不填表示纯音频转推。
1924
- */
1925
- VideoParams?: McuVideoParams;
1926
- /**
1927
- * 需要单流旁路转推的用户上行参数,单流旁路转推时,WithTranscoding需要设置为0。
1928
- */
1929
- SingleSubscribeParams?: SingleSubscribeParams;
1930
- /**
1931
- * 转推的CDN参数。
1932
- */
1933
- PublishCdnParams?: Array<McuPublishCdnParam>;
1934
- /**
1935
- * 混流SEI参数
1936
- */
1937
- SeiParams?: McuSeiParams;
1938
- }
1939
1558
  /**
1940
1559
  * 旁路转码时长的查询结果
1941
1560
  */
@@ -2175,33 +1794,18 @@ export interface ModifyCloudRecordingResponse {
2175
1794
  RequestId?: string;
2176
1795
  }
2177
1796
  /**
2178
- * StartMCUMixTranscodeByStrRoomId请求参数结构体
1797
+ * 造成异常体验可能的异常事件类型
2179
1798
  */
2180
- export interface StartMCUMixTranscodeByStrRoomIdRequest {
2181
- /**
2182
- * TRTC的SDKAppId。
2183
- */
2184
- SdkAppId: number;
2185
- /**
2186
- * 字符串房间号。
2187
- */
2188
- StrRoomId: string;
2189
- /**
2190
- * 混流输出控制参数。
2191
- */
2192
- OutputParams: OutputParams;
2193
- /**
2194
- * 混流输出编码参数。
2195
- */
2196
- EncodeParams: EncodeParams;
1799
+ export interface AbnormalEvent {
2197
1800
  /**
2198
- * 混流输出布局参数。
1801
+ * 异常事件ID,具体值查看附录:异常体验ID映射表:https://cloud.tencent.com/document/product/647/44916
2199
1802
  */
2200
- LayoutParams: LayoutParams;
1803
+ AbnormalEventId: number;
2201
1804
  /**
2202
- * 第三方CDN转推参数。
2203
- */
2204
- PublishCdnParams?: PublishCdnParams;
1805
+ * 远端用户ID,"":表示异常事件不是由远端用户产生
1806
+ 注意:此字段可能返回 null,表示取不到有效值。
1807
+ */
1808
+ PeerId: string;
2205
1809
  }
2206
1810
  /**
2207
1811
  * DescribeCloudRecording返回参数结构体
@@ -2228,23 +1832,6 @@ export interface DescribeCloudRecordingResponse {
2228
1832
  */
2229
1833
  RequestId?: string;
2230
1834
  }
2231
- /**
2232
- * TRTC用户参数。
2233
- */
2234
- export interface MixUserInfo {
2235
- /**
2236
- * 用户ID。
2237
- */
2238
- UserId: string;
2239
- /**
2240
- * 动态布局时房间信息必须和主房间信息保持一致,自定义布局时房间信息必须和MixLayoutList中对应用户的房间信息保持一致,不填时默认与主房间信息一致。
2241
- */
2242
- RoomId?: string;
2243
- /**
2244
- * 房间号类型,0为整形房间号,1为字符串房间号。
2245
- */
2246
- RoomIdType?: number;
2247
- }
2248
1835
  /**
2249
1836
  * DismissRoom返回参数结构体
2250
1837
  */
@@ -2254,15 +1841,6 @@ export interface DismissRoomResponse {
2254
1841
  */
2255
1842
  RequestId?: string;
2256
1843
  }
2257
- /**
2258
- * 指定动态布局中悬浮布局和屏幕分享布局的大画面信息,只在悬浮布局和屏幕分享布局有效。
2259
- */
2260
- export interface MaxVideoUser {
2261
- /**
2262
- * 用户媒体流参数。
2263
- */
2264
- UserMediaStream: UserMediaStream;
2265
- }
2266
1844
  /**
2267
1845
  * DeletePicture请求参数结构体
2268
1846
  */
@@ -2276,19 +1854,6 @@ export interface DeletePictureRequest {
2276
1854
  */
2277
1855
  SdkAppId: number;
2278
1856
  }
2279
- /**
2280
- * 混流SEI参数
2281
- */
2282
- export interface McuSeiParams {
2283
- /**
2284
- * 音量布局SEI
2285
- */
2286
- LayoutVolume?: McuLayoutVolume;
2287
- /**
2288
- * 透传SEI
2289
- */
2290
- PassThrough?: McuPassThrough;
2291
- }
2292
1857
  /**
2293
1858
  * DescribeExternalTrtcMeasure请求参数结构体
2294
1859
  */
@@ -2306,19 +1871,6 @@ export interface DescribeExternalTrtcMeasureRequest {
2306
1871
  */
2307
1872
  SdkAppId?: number;
2308
1873
  }
2309
- /**
2310
- * UpdatePublishCdnStream返回参数结构体
2311
- */
2312
- export interface UpdatePublishCdnStreamResponse {
2313
- /**
2314
- * 转推任务唯一的String Id
2315
- */
2316
- TaskId: string;
2317
- /**
2318
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2319
- */
2320
- RequestId?: string;
2321
- }
2322
1874
  /**
2323
1875
  * RemoveUserByStrRoomId请求参数结构体
2324
1876
  */
@@ -2383,19 +1935,6 @@ export interface SdkAppIdRecordUsage {
2383
1935
  */
2384
1936
  Usages: Array<RecordUsage>;
2385
1937
  }
2386
- /**
2387
- * 混流转推的音频相关参数。
2388
- */
2389
- export interface McuAudioParams {
2390
- /**
2391
- * 音频编码参数。
2392
- */
2393
- AudioEncode?: AudioEncode;
2394
- /**
2395
- * 音频用户白名单,start时,为空或不填表示混所有主播音频,填具体值表示混指定主播音频;update时,不填表示不更新,为空表示更新为混所有主播音频,填具体值表示更新为混指定主播音频。
2396
- */
2397
- SubscribeAudioList?: Array<McuUserInfoParams>;
2398
- }
2399
1938
  /**
2400
1939
  * 自定义模板中有效,指定用户视频在混合画面中的位置。
2401
1940
  */
@@ -2441,19 +1980,6 @@ export interface PresetLayoutConfig {
2441
1980
  */
2442
1981
  PlaceImageId?: number;
2443
1982
  }
2444
- /**
2445
- * 转推参数。
2446
- */
2447
- export interface McuPublishCdnParam {
2448
- /**
2449
- * CDN转推URL。
2450
- */
2451
- PublishCdnUrl: string;
2452
- /**
2453
- * 是否是腾讯云CDN,0为转推非腾讯云CDN,1为转推腾讯CDN。注意:为避免默认值误产生转推费用,该参数建议明确填写。转推非腾讯云CDN时会产生转推费用,详情参见接口文档说明。
2454
- */
2455
- IsTencentCdn?: number;
2456
- }
2457
1983
  /**
2458
1984
  * 录制音频转码参数。
2459
1985
  */
@@ -2476,15 +2002,6 @@ export interface AudioParams {
2476
2002
  */
2477
2003
  BitRate: number;
2478
2004
  }
2479
- /**
2480
- * 单流旁路转推的用户上行信息。
2481
- */
2482
- export interface SingleSubscribeParams {
2483
- /**
2484
- * 用户媒体流参数。
2485
- */
2486
- UserMediaStream: UserMediaStream;
2487
- }
2488
2005
  /**
2489
2006
  * 第三方CDN转推参数
2490
2007
  */
@@ -2498,19 +2015,6 @@ export interface PublishCdnParams {
2498
2015
  */
2499
2016
  PublishCdnUrls: Array<string>;
2500
2017
  }
2501
- /**
2502
- * 水印参数。
2503
- */
2504
- export interface McuWaterMarkParams {
2505
- /**
2506
- * 水印类型,0为图片(默认)。
2507
- */
2508
- WaterMarkType?: number;
2509
- /**
2510
- * 图片水印参数。WaterMarkType为0指定。
2511
- */
2512
- WaterMarkImage?: McuWaterMarkImage;
2513
- }
2514
2018
  /**
2515
2019
  * 用户的异常体验及可能的原因
2516
2020
  */