tencentcloud-sdk-nodejs-trtc 4.1.54 → 4.1.55
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.
|
@@ -39,8 +39,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
39
39
|
async StartAIConversation(req, cb) {
|
|
40
40
|
return this.request("StartAIConversation", req, cb);
|
|
41
41
|
}
|
|
42
|
-
async
|
|
43
|
-
return this.request("
|
|
42
|
+
async DeleteVoicePrint(req, cb) {
|
|
43
|
+
return this.request("DeleteVoicePrint", req, cb);
|
|
44
44
|
}
|
|
45
45
|
async StartMCUMixTranscodeByStrRoomId(req, cb) {
|
|
46
46
|
return this.request("StartMCUMixTranscodeByStrRoomId", req, cb);
|
|
@@ -87,6 +87,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
87
87
|
async DescribeTRTCMarketScaleData(req, cb) {
|
|
88
88
|
return this.request("DescribeTRTCMarketScaleData", req, cb);
|
|
89
89
|
}
|
|
90
|
+
async RegisterVoicePrint(req, cb) {
|
|
91
|
+
return this.request("RegisterVoicePrint", req, cb);
|
|
92
|
+
}
|
|
90
93
|
async StopWebRecord(req, cb) {
|
|
91
94
|
return this.request("StopWebRecord", req, cb);
|
|
92
95
|
}
|
|
@@ -96,6 +99,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
96
99
|
async CreateCloudRecording(req, cb) {
|
|
97
100
|
return this.request("CreateCloudRecording", req, cb);
|
|
98
101
|
}
|
|
102
|
+
async DescribeAIConversation(req, cb) {
|
|
103
|
+
return this.request("DescribeAIConversation", req, cb);
|
|
104
|
+
}
|
|
99
105
|
async DescribeScaleInfo(req, cb) {
|
|
100
106
|
return this.request("DescribeScaleInfo", req, cb);
|
|
101
107
|
}
|
|
@@ -132,6 +138,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
132
138
|
async DescribeRecordStatistic(req, cb) {
|
|
133
139
|
return this.request("DescribeRecordStatistic", req, cb);
|
|
134
140
|
}
|
|
141
|
+
async DescribeVoicePrint(req, cb) {
|
|
142
|
+
return this.request("DescribeVoicePrint", req, cb);
|
|
143
|
+
}
|
|
135
144
|
async DescribeTrtcMcuTranscodeTime(req, cb) {
|
|
136
145
|
return this.request("DescribeTrtcMcuTranscodeTime", req, cb);
|
|
137
146
|
}
|
|
@@ -156,6 +165,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
156
165
|
async DescribePicture(req, cb) {
|
|
157
166
|
return this.request("DescribePicture", req, cb);
|
|
158
167
|
}
|
|
168
|
+
async UpdateVoicePrint(req, cb) {
|
|
169
|
+
return this.request("UpdateVoicePrint", req, cb);
|
|
170
|
+
}
|
|
159
171
|
async DescribeTRTCMarketQualityData(req, cb) {
|
|
160
172
|
return this.request("DescribeTRTCMarketQualityData", req, cb);
|
|
161
173
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { CreatePictureRequest, DescribeTRTCMarketQualityMetricDataResponse, DescribeTRTCRealTimeScaleDataRequest, StartAIConversationResponse, DescribeTRTCMarketScaleDataRequest, DescribeUserEventRequest, DescribeTrtcRoomUsageResponse, StopPublishCdnStreamResponse, DescribeTRTCRealTimeScaleMetricDataRequest, ControlAIConversationResponse, StopAITranscriptionRequest, UpdateAIConversationResponse, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, DescribeTRTCMarketScaleDataResponse, ModifyPictureRequest, DescribeWebRecordResponse, DescribeUserInfoRequest, DescribeRelayUsageRequest, DescribeRecordStatisticResponse,
|
|
2
|
+
import { CreatePictureRequest, DescribeTRTCMarketQualityMetricDataResponse, DescribeTRTCRealTimeScaleDataRequest, StartAIConversationResponse, DescribeTRTCMarketScaleDataRequest, DescribeUserEventRequest, DescribeTrtcRoomUsageResponse, StopPublishCdnStreamResponse, DescribeTRTCRealTimeScaleMetricDataRequest, ControlAIConversationResponse, StopAITranscriptionRequest, UpdateAIConversationResponse, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, DescribeTRTCMarketScaleDataResponse, RegisterVoicePrintResponse, ModifyPictureRequest, DescribeWebRecordResponse, DescribeUserInfoRequest, DescribeRelayUsageRequest, DescribeRecordStatisticResponse, DeleteVoicePrintRequest, DescribeTrtcUsageResponse, DismissRoomByStrRoomIdRequest, DescribeTRTCMarketQualityMetricDataRequest, DescribeWebRecordRequest, DescribeRecordStatisticRequest, DescribeRoomInfoRequest, CreateBasicModerationRequest, DescribeTRTCMarketScaleMetricDataResponse, DescribeCallDetailInfoResponse, DescribeTRTCRealTimeQualityDataResponse, DescribeMixTranscodingUsageRequest, DescribeStreamIngestResponse, StopStreamIngestRequest, DescribeTRTCMarketQualityDataResponse, DescribeVoicePrintResponse, DescribeTrtcUsageRequest, DescribeRoomInfoResponse, DescribeTRTCRealTimeQualityMetricDataRequest, DescribeAITranscriptionRequest, CreateBasicModerationResponse, DescribeAIConversationResponse, DescribeUserInfoResponse, RemoveUserByStrRoomIdResponse, DescribeVoicePrintRequest, DescribeTRTCRealTimeScaleMetricDataResponse, UpdateStreamIngestResponse, StartMCUMixTranscodeRequest, StartPublishCdnStreamResponse, StartMCUMixTranscodeByStrRoomIdResponse, DescribeTRTCMarketScaleMetricDataRequest, DescribeRelayUsageResponse, StartStreamIngestRequest, UpdateVoicePrintResponse, DescribeRecordingUsageResponse, ModifyPictureResponse, DescribeRecordingUsageRequest, DescribeScaleInfoResponse, StopMCUMixTranscodeResponse, DescribeMixTranscodingUsageResponse, RemoveUserRequest, DismissRoomRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, DeleteVoicePrintResponse, DescribeTRTCRealTimeQualityMetricDataResponse, DescribeTRTCRealTimeQualityDataRequest, StartWebRecordResponse, CreateCloudRecordingRequest, DeleteBasicModerationRequest, DeleteCloudRecordingResponse, StopMCUMixTranscodeByStrRoomIdRequest, StopPublishCdnStreamRequest, StartAIConversationRequest, DeletePictureResponse, ModifyCloudRecordingRequest, StopAIConversationResponse, StartPublishCdnStreamRequest, DescribeAIConversationRequest, CreateCloudRecordingResponse, StartStreamIngestResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, RegisterVoicePrintRequest, DescribePictureResponse, DescribeTrtcRoomUsageRequest, DescribeTrtcMcuTranscodeTimeRequest, DescribeScaleInfoRequest, ControlAIConversationRequest, DismissRoomByStrRoomIdResponse, DescribeUnusualEventResponse, ModifyCloudRecordingResponse, StartMCUMixTranscodeByStrRoomIdRequest, DescribeCloudRecordingResponse, StartAITranscriptionRequest, DismissRoomResponse, StopStreamIngestResponse, DescribeTRTCRealTimeScaleDataResponse, DescribeTRTCMarketQualityDataRequest, UpdatePublishCdnStreamRequest, StartWebRecordRequest, UpdateStreamIngestRequest, StopWebRecordResponse, DeletePictureRequest, StopWebRecordRequest, UpdateVoicePrintRequest, StopAIConversationRequest, UpdatePublishCdnStreamResponse, RemoveUserByStrRoomIdRequest, DeleteBasicModerationResponse, DescribeStreamIngestRequest, StopAITranscriptionResponse, StopMCUMixTranscodeRequest, DescribeAITranscriptionResponse, UpdateAIConversationRequest, CreatePictureResponse, StartAITranscriptionResponse, RemoveUserResponse } from "./trtc_models";
|
|
3
3
|
/**
|
|
4
4
|
* trtc client
|
|
5
5
|
* @class
|
|
@@ -95,9 +95,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
95
95
|
*/
|
|
96
96
|
StartAIConversation(req: StartAIConversationRequest, cb?: (error: string, rep: StartAIConversationResponse) => void): Promise<StartAIConversationResponse>;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* 传入声纹ID,删除之前注册的声纹信息
|
|
99
99
|
*/
|
|
100
|
-
|
|
100
|
+
DeleteVoicePrint(req: DeleteVoicePrintRequest, cb?: (error: string, rep: DeleteVoicePrintResponse) => void): Promise<DeleteVoicePrintResponse>;
|
|
101
101
|
/**
|
|
102
102
|
* 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
|
|
103
103
|
|
|
@@ -226,6 +226,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
226
226
|
2.查询时间范围根据监控仪表盘功能版本而定,【基础版】可查近30天,【进阶版】可查近60天。
|
|
227
227
|
*/
|
|
228
228
|
DescribeTRTCMarketScaleData(req: DescribeTRTCMarketScaleDataRequest, cb?: (error: string, rep: DescribeTRTCMarketScaleDataResponse) => void): Promise<DescribeTRTCMarketScaleDataResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* 传入音频base64串,注册声纹信息,返回声纹ID
|
|
231
|
+
*/
|
|
232
|
+
RegisterVoicePrint(req: RegisterVoicePrintRequest, cb?: (error: string, rep: RegisterVoicePrintResponse) => void): Promise<RegisterVoicePrintResponse>;
|
|
229
233
|
/**
|
|
230
234
|
* 停止页面录制任务
|
|
231
235
|
*/
|
|
@@ -250,6 +254,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
250
254
|
* 合流录制:将房间内订阅UserId的音视频混录成一个视频文件,并将录制文件上传至您指定的云存储。(录制结束后可前往云点播控制台https://console.cloud.tencent.com/vod/media 或 对象存储COS控制台https://console.cloud.tencent.com/cos/bucket查看文件)。
|
|
251
255
|
*/
|
|
252
256
|
CreateCloudRecording(req: CreateCloudRecordingRequest, cb?: (error: string, rep: CreateCloudRecordingResponse) => void): Promise<CreateCloudRecordingResponse>;
|
|
257
|
+
/**
|
|
258
|
+
* 查询AI对话任务状态。
|
|
259
|
+
*/
|
|
260
|
+
DescribeAIConversation(req: DescribeAIConversationRequest, cb?: (error: string, rep: DescribeAIConversationResponse) => void): Promise<DescribeAIConversationResponse>;
|
|
253
261
|
/**
|
|
254
262
|
* 可查询SdkAppId每天的房间数和用户数,按天统计,可查询最近14天的数据。当天未结束,数据未统计完成,无法查到当天的房间数与用户数。(同老接口DescribeHistoryScale)
|
|
255
263
|
*/
|
|
@@ -327,6 +335,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
327
335
|
- 日结后付费将于次日上午推送账单,建议次日上午9点以后再来查询前一天的用量。
|
|
328
336
|
*/
|
|
329
337
|
DescribeRecordStatistic(req: DescribeRecordStatisticRequest, cb?: (error: string, rep: DescribeRecordStatisticResponse) => void): Promise<DescribeRecordStatisticResponse>;
|
|
338
|
+
/**
|
|
339
|
+
* 查询先前注册的声纹信息
|
|
340
|
+
*/
|
|
341
|
+
DescribeVoicePrint(req: DescribeVoicePrintRequest, cb?: (error: string, rep: DescribeVoicePrintResponse) => void): Promise<DescribeVoicePrintResponse>;
|
|
330
342
|
/**
|
|
331
343
|
* 查询旁路转码计费时长。
|
|
332
344
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -371,6 +383,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
371
383
|
* 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁查找自定义背景图或水印信息,可通过此接口查找已上传的图片信息。无需频繁查找图片信息的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中查看。
|
|
372
384
|
*/
|
|
373
385
|
DescribePicture(req: DescribePictureRequest, cb?: (error: string, rep: DescribePictureResponse) => void): Promise<DescribePictureResponse>;
|
|
386
|
+
/**
|
|
387
|
+
* 传入声纹ID以及对应音频信息,更新对应声纹信息
|
|
388
|
+
*/
|
|
389
|
+
UpdateVoicePrint(req: UpdateVoicePrintRequest, cb?: (error: string, rep: UpdateVoicePrintResponse) => void): Promise<UpdateVoicePrintResponse>;
|
|
374
390
|
/**
|
|
375
391
|
* 查询TRTC监控仪表盘-数据大盘质量指标(包括下列指标)
|
|
376
392
|
joinSuccessRate:加入频道成功率。
|
|
@@ -141,10 +141,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
141
141
|
return this.request("StartAIConversation", req, cb);
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* 传入声纹ID,删除之前注册的声纹信息
|
|
145
145
|
*/
|
|
146
|
-
async
|
|
147
|
-
return this.request("
|
|
146
|
+
async DeleteVoicePrint(req, cb) {
|
|
147
|
+
return this.request("DeleteVoicePrint", req, cb);
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
|
|
@@ -304,6 +304,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
304
304
|
async DescribeTRTCMarketScaleData(req, cb) {
|
|
305
305
|
return this.request("DescribeTRTCMarketScaleData", req, cb);
|
|
306
306
|
}
|
|
307
|
+
/**
|
|
308
|
+
* 传入音频base64串,注册声纹信息,返回声纹ID
|
|
309
|
+
*/
|
|
310
|
+
async RegisterVoicePrint(req, cb) {
|
|
311
|
+
return this.request("RegisterVoicePrint", req, cb);
|
|
312
|
+
}
|
|
307
313
|
/**
|
|
308
314
|
* 停止页面录制任务
|
|
309
315
|
*/
|
|
@@ -334,6 +340,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
334
340
|
async CreateCloudRecording(req, cb) {
|
|
335
341
|
return this.request("CreateCloudRecording", req, cb);
|
|
336
342
|
}
|
|
343
|
+
/**
|
|
344
|
+
* 查询AI对话任务状态。
|
|
345
|
+
*/
|
|
346
|
+
async DescribeAIConversation(req, cb) {
|
|
347
|
+
return this.request("DescribeAIConversation", req, cb);
|
|
348
|
+
}
|
|
337
349
|
/**
|
|
338
350
|
* 可查询SdkAppId每天的房间数和用户数,按天统计,可查询最近14天的数据。当天未结束,数据未统计完成,无法查到当天的房间数与用户数。(同老接口DescribeHistoryScale)
|
|
339
351
|
*/
|
|
@@ -435,6 +447,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
435
447
|
async DescribeRecordStatistic(req, cb) {
|
|
436
448
|
return this.request("DescribeRecordStatistic", req, cb);
|
|
437
449
|
}
|
|
450
|
+
/**
|
|
451
|
+
* 查询先前注册的声纹信息
|
|
452
|
+
*/
|
|
453
|
+
async DescribeVoicePrint(req, cb) {
|
|
454
|
+
return this.request("DescribeVoicePrint", req, cb);
|
|
455
|
+
}
|
|
438
456
|
/**
|
|
439
457
|
* 查询旁路转码计费时长。
|
|
440
458
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -495,6 +513,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
495
513
|
async DescribePicture(req, cb) {
|
|
496
514
|
return this.request("DescribePicture", req, cb);
|
|
497
515
|
}
|
|
516
|
+
/**
|
|
517
|
+
* 传入声纹ID以及对应音频信息,更新对应声纹信息
|
|
518
|
+
*/
|
|
519
|
+
async UpdateVoicePrint(req, cb) {
|
|
520
|
+
return this.request("UpdateVoicePrint", req, cb);
|
|
521
|
+
}
|
|
498
522
|
/**
|
|
499
523
|
* 查询TRTC监控仪表盘-数据大盘质量指标(包括下列指标)
|
|
500
524
|
joinSuccessRate:加入频道成功率。
|
|
@@ -67,6 +67,14 @@ export interface AgentConfig {
|
|
|
67
67
|
默认值为空,表示不进行过滤。
|
|
68
68
|
*/
|
|
69
69
|
FilterBracketsContent?: number;
|
|
70
|
+
/**
|
|
71
|
+
* 环境音设置
|
|
72
|
+
*/
|
|
73
|
+
AmbientSound?: AmbientSound;
|
|
74
|
+
/**
|
|
75
|
+
* 声纹配置
|
|
76
|
+
*/
|
|
77
|
+
VoicePrint?: VoicePrint;
|
|
70
78
|
}
|
|
71
79
|
/**
|
|
72
80
|
* CreatePicture请求参数结构体
|
|
@@ -874,6 +882,19 @@ export interface McuTencentVod {
|
|
|
874
882
|
*/
|
|
875
883
|
SourceContext?: string;
|
|
876
884
|
}
|
|
885
|
+
/**
|
|
886
|
+
* RegisterVoicePrint返回参数结构体
|
|
887
|
+
*/
|
|
888
|
+
export interface RegisterVoicePrintResponse {
|
|
889
|
+
/**
|
|
890
|
+
* 声纹信息ID
|
|
891
|
+
*/
|
|
892
|
+
VoicePrintId?: string;
|
|
893
|
+
/**
|
|
894
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
895
|
+
*/
|
|
896
|
+
RequestId?: string;
|
|
897
|
+
}
|
|
877
898
|
/**
|
|
878
899
|
* ModifyPicture请求参数结构体
|
|
879
900
|
*/
|
|
@@ -1022,13 +1043,13 @@ export interface DescribeRecordStatisticResponse {
|
|
|
1022
1043
|
RequestId?: string;
|
|
1023
1044
|
}
|
|
1024
1045
|
/**
|
|
1025
|
-
*
|
|
1046
|
+
* DeleteVoicePrint请求参数结构体
|
|
1026
1047
|
*/
|
|
1027
|
-
export interface
|
|
1048
|
+
export interface DeleteVoicePrintRequest {
|
|
1028
1049
|
/**
|
|
1029
|
-
*
|
|
1050
|
+
* 声纹信息ID
|
|
1030
1051
|
*/
|
|
1031
|
-
|
|
1052
|
+
VoicePrintId: string;
|
|
1032
1053
|
}
|
|
1033
1054
|
/**
|
|
1034
1055
|
* 腾讯云对象存储COS以及第三方云存储的账号信息
|
|
@@ -1067,6 +1088,19 @@ export interface CloudStorage {
|
|
|
1067
1088
|
*/
|
|
1068
1089
|
FileNamePrefix?: Array<string>;
|
|
1069
1090
|
}
|
|
1091
|
+
/**
|
|
1092
|
+
* 声纹配置参数
|
|
1093
|
+
*/
|
|
1094
|
+
export interface VoicePrint {
|
|
1095
|
+
/**
|
|
1096
|
+
* 默认为0,表示不启用声纹。1表示启用声纹,此时需要填写voiceprint id。
|
|
1097
|
+
*/
|
|
1098
|
+
Mode?: number;
|
|
1099
|
+
/**
|
|
1100
|
+
* VoicePrint Mode为1时需要填写,目前仅支持填写一个声纹id
|
|
1101
|
+
*/
|
|
1102
|
+
IdList?: Array<string>;
|
|
1103
|
+
}
|
|
1070
1104
|
/**
|
|
1071
1105
|
* DescribeTrtcUsage返回参数结构体
|
|
1072
1106
|
*/
|
|
@@ -1188,18 +1222,21 @@ export interface DescribeWebRecordRequest {
|
|
|
1188
1222
|
RecordId?: string;
|
|
1189
1223
|
}
|
|
1190
1224
|
/**
|
|
1191
|
-
*
|
|
1225
|
+
* 背景音设置,将在通话中添加环境音效,使体验更加逼真。目前支持以下选项:
|
|
1226
|
+
coffee_shop: 咖啡店氛围,背景中有人聊天。
|
|
1227
|
+
busy_office: 客服中心
|
|
1228
|
+
street_traffic: 户外街道
|
|
1229
|
+
evening_mountain: 户外山林
|
|
1192
1230
|
*/
|
|
1193
|
-
export interface
|
|
1231
|
+
export interface AmbientSound {
|
|
1194
1232
|
/**
|
|
1195
|
-
*
|
|
1196
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1233
|
+
* 环境场景选择
|
|
1197
1234
|
*/
|
|
1198
|
-
|
|
1235
|
+
Scene: string;
|
|
1199
1236
|
/**
|
|
1200
|
-
*
|
|
1237
|
+
* 控制环境音的音量。取值的范围是 [0,2]。值越低,环境音越小;值越高,环境音越响亮。如果未设置,则使用默认值 1。
|
|
1201
1238
|
*/
|
|
1202
|
-
|
|
1239
|
+
Volume?: number;
|
|
1203
1240
|
}
|
|
1204
1241
|
/**
|
|
1205
1242
|
* DescribeRecordStatistic请求参数结构体
|
|
@@ -1299,64 +1336,18 @@ export interface CloudVod {
|
|
|
1299
1336
|
TencentVod?: TencentVod;
|
|
1300
1337
|
}
|
|
1301
1338
|
/**
|
|
1302
|
-
*
|
|
1339
|
+
* DescribeTRTCMarketScaleMetricData返回参数结构体
|
|
1303
1340
|
*/
|
|
1304
|
-
export interface
|
|
1305
|
-
/**
|
|
1306
|
-
* 混流-输出流音频采样率。取值为[48000, 44100, 32000, 24000, 16000, 8000],单位是Hz。混流任务发起过程中,为了保持CDN链接的稳定,不要修改音频参数(codec、采样率、码率、声道数)。
|
|
1307
|
-
*/
|
|
1308
|
-
AudioSampleRate: number;
|
|
1309
|
-
/**
|
|
1310
|
-
* 混流-输出流音频码率。取值范围[8,500],单位为kbps。混流任务发起过程中,为了保持CDN链接的稳定,不要修改音频参数(codec、采样率、码率、声道数)。
|
|
1311
|
-
*/
|
|
1312
|
-
AudioBitrate: number;
|
|
1313
|
-
/**
|
|
1314
|
-
* 混流-输出流音频声道数,取值范围[1,2],1表示混流输出音频为单声道,2表示混流输出音频为双声道。混流任务发起过程中,为了保持CDN链接的稳定,不要修改音频参数(codec、采样率、码率、声道数)。
|
|
1315
|
-
*/
|
|
1316
|
-
AudioChannels: number;
|
|
1317
|
-
/**
|
|
1318
|
-
* 混流-输出流宽,音视频输出时必填。取值范围[0,1920],单位为像素值。
|
|
1319
|
-
*/
|
|
1320
|
-
VideoWidth?: number;
|
|
1321
|
-
/**
|
|
1322
|
-
* 混流-输出流高,音视频输出时必填。取值范围[0,1080],单位为像素值。
|
|
1323
|
-
*/
|
|
1324
|
-
VideoHeight?: number;
|
|
1325
|
-
/**
|
|
1326
|
-
* 混流-输出流码率,音视频输出时必填。取值范围[1,10000],单位为kbps。
|
|
1327
|
-
*/
|
|
1328
|
-
VideoBitrate?: number;
|
|
1329
|
-
/**
|
|
1330
|
-
* 混流-输出流帧率,音视频输出时必填。取值范围[1,60],表示混流的输出帧率可选范围为1到60fps。
|
|
1331
|
-
*/
|
|
1332
|
-
VideoFramerate?: number;
|
|
1333
|
-
/**
|
|
1334
|
-
* 混流-输出流gop,音视频输出时必填。取值范围[1,5],单位为秒。
|
|
1335
|
-
*/
|
|
1336
|
-
VideoGop?: number;
|
|
1337
|
-
/**
|
|
1338
|
-
* 混流-输出流背景色,取值是十进制整数。常用的颜色有:
|
|
1339
|
-
红色:0xff0000,对应的十进制整数是16724736。
|
|
1340
|
-
黄色:0xffff00。对应的十进制整数是16776960。
|
|
1341
|
-
绿色:0x33cc00。对应的十进制整数是3394560。
|
|
1342
|
-
蓝色:0x0066ff。对应的十进制整数是26367。
|
|
1343
|
-
黑色:0x000000。对应的十进制整数是0。
|
|
1344
|
-
白色:0xFFFFFF。对应的十进制整数是16777215。
|
|
1345
|
-
灰色:0x999999。对应的十进制整数是10066329。
|
|
1346
|
-
*/
|
|
1347
|
-
BackgroundColor?: number;
|
|
1348
|
-
/**
|
|
1349
|
-
* 混流-输出流背景图片,取值为实时音视频控制台上传的图片ID。
|
|
1350
|
-
*/
|
|
1351
|
-
BackgroundImageId?: number;
|
|
1341
|
+
export interface DescribeTRTCMarketScaleMetricDataResponse {
|
|
1352
1342
|
/**
|
|
1353
|
-
*
|
|
1343
|
+
* TRTC监控数据出参
|
|
1344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1354
1345
|
*/
|
|
1355
|
-
|
|
1346
|
+
Data: TRTCDataResp;
|
|
1356
1347
|
/**
|
|
1357
|
-
*
|
|
1348
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1358
1349
|
*/
|
|
1359
|
-
|
|
1350
|
+
RequestId?: string;
|
|
1360
1351
|
}
|
|
1361
1352
|
/**
|
|
1362
1353
|
* 渲染移动模式参数,不渲染移动模式时,请勿设置此参数。
|
|
@@ -1505,6 +1496,23 @@ export interface DescribeTRTCMarketQualityDataResponse {
|
|
|
1505
1496
|
*/
|
|
1506
1497
|
RequestId?: string;
|
|
1507
1498
|
}
|
|
1499
|
+
/**
|
|
1500
|
+
* DescribeVoicePrint返回参数结构体
|
|
1501
|
+
*/
|
|
1502
|
+
export interface DescribeVoicePrintResponse {
|
|
1503
|
+
/**
|
|
1504
|
+
* 总的条数
|
|
1505
|
+
*/
|
|
1506
|
+
TotalCount?: number;
|
|
1507
|
+
/**
|
|
1508
|
+
* 声纹信息
|
|
1509
|
+
*/
|
|
1510
|
+
Data?: Array<VoicePrintInfo>;
|
|
1511
|
+
/**
|
|
1512
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1513
|
+
*/
|
|
1514
|
+
RequestId?: string;
|
|
1515
|
+
}
|
|
1508
1516
|
/**
|
|
1509
1517
|
* 画中画模板中有效,代表小画面的布局参数
|
|
1510
1518
|
*/
|
|
@@ -1534,6 +1542,43 @@ export interface SmallVideoLayoutParams {
|
|
|
1534
1542
|
*/
|
|
1535
1543
|
LocationY?: number;
|
|
1536
1544
|
}
|
|
1545
|
+
/**
|
|
1546
|
+
* 声纹查询数据
|
|
1547
|
+
*/
|
|
1548
|
+
export interface VoicePrintInfo {
|
|
1549
|
+
/**
|
|
1550
|
+
* 声纹ID
|
|
1551
|
+
*/
|
|
1552
|
+
VoicePrintId?: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* 应用id
|
|
1555
|
+
*/
|
|
1556
|
+
AppId?: number;
|
|
1557
|
+
/**
|
|
1558
|
+
* 和声纹绑定的MetaInfo
|
|
1559
|
+
*/
|
|
1560
|
+
VoicePrintMetaInfo?: string;
|
|
1561
|
+
/**
|
|
1562
|
+
* 创建时间
|
|
1563
|
+
*/
|
|
1564
|
+
CreateTime?: string;
|
|
1565
|
+
/**
|
|
1566
|
+
* 更新时间
|
|
1567
|
+
*/
|
|
1568
|
+
UpdateTime?: string;
|
|
1569
|
+
/**
|
|
1570
|
+
* 音频格式,当前只有0(代表wav)
|
|
1571
|
+
*/
|
|
1572
|
+
AudioFormat?: number;
|
|
1573
|
+
/**
|
|
1574
|
+
* 音频名称
|
|
1575
|
+
*/
|
|
1576
|
+
AudioName?: string;
|
|
1577
|
+
/**
|
|
1578
|
+
* 请求毫秒时间戳
|
|
1579
|
+
*/
|
|
1580
|
+
ReqTimestamp?: number;
|
|
1581
|
+
}
|
|
1537
1582
|
/**
|
|
1538
1583
|
* 指定订阅流白名单或者黑名单,音频的白名单和音频黑名单不能同时设置,视频亦然。同时实际并发订阅的媒体流路数最大支持25路流,混流场景下视频的多画面最大支持24画面。支持通过设置".*$"通配符,来前缀匹配黑白名单的UserId,注意房间里不能有和通配符规则相同的用户,否则将视为订阅具体用户,前缀规则会失效。
|
|
1539
1584
|
*/
|
|
@@ -1893,6 +1938,27 @@ export interface RemoveUserByStrRoomIdResponse {
|
|
|
1893
1938
|
*/
|
|
1894
1939
|
RequestId?: string;
|
|
1895
1940
|
}
|
|
1941
|
+
/**
|
|
1942
|
+
* DescribeVoicePrint请求参数结构体
|
|
1943
|
+
*/
|
|
1944
|
+
export interface DescribeVoicePrintRequest {
|
|
1945
|
+
/**
|
|
1946
|
+
* 查询方式,0表示查询特定VoicePrintId,1表示分页查询
|
|
1947
|
+
*/
|
|
1948
|
+
DescribeMode: number;
|
|
1949
|
+
/**
|
|
1950
|
+
* 声纹ID
|
|
1951
|
+
*/
|
|
1952
|
+
VoicePrintIdList?: Array<string>;
|
|
1953
|
+
/**
|
|
1954
|
+
* 当前页码,从1开始,DescribeMode为1时填写
|
|
1955
|
+
*/
|
|
1956
|
+
PageIndex?: number;
|
|
1957
|
+
/**
|
|
1958
|
+
* 每页条数 最少20,DescribeMode为1时填写
|
|
1959
|
+
*/
|
|
1960
|
+
PageSize?: number;
|
|
1961
|
+
}
|
|
1896
1962
|
/**
|
|
1897
1963
|
* DescribeTRTCRealTimeScaleMetricData返回参数结构体
|
|
1898
1964
|
*/
|
|
@@ -2020,6 +2086,15 @@ export interface StartPublishCdnStreamResponse {
|
|
|
2020
2086
|
*/
|
|
2021
2087
|
RequestId?: string;
|
|
2022
2088
|
}
|
|
2089
|
+
/**
|
|
2090
|
+
* StartMCUMixTranscodeByStrRoomId返回参数结构体
|
|
2091
|
+
*/
|
|
2092
|
+
export interface StartMCUMixTranscodeByStrRoomIdResponse {
|
|
2093
|
+
/**
|
|
2094
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2095
|
+
*/
|
|
2096
|
+
RequestId?: string;
|
|
2097
|
+
}
|
|
2023
2098
|
/**
|
|
2024
2099
|
* 实时音视频用量在某一时间段的统计信息。
|
|
2025
2100
|
*/
|
|
@@ -2151,6 +2226,15 @@ export interface StartStreamIngestRequest {
|
|
|
2151
2226
|
*/
|
|
2152
2227
|
Volume?: number;
|
|
2153
2228
|
}
|
|
2229
|
+
/**
|
|
2230
|
+
* UpdateVoicePrint返回参数结构体
|
|
2231
|
+
*/
|
|
2232
|
+
export interface UpdateVoicePrintResponse {
|
|
2233
|
+
/**
|
|
2234
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2235
|
+
*/
|
|
2236
|
+
RequestId?: string;
|
|
2237
|
+
}
|
|
2154
2238
|
/**
|
|
2155
2239
|
* DescribeRecordingUsage返回参数结构体
|
|
2156
2240
|
*/
|
|
@@ -2169,17 +2253,30 @@ export interface DescribeRecordingUsageResponse {
|
|
|
2169
2253
|
RequestId?: string;
|
|
2170
2254
|
}
|
|
2171
2255
|
/**
|
|
2172
|
-
*
|
|
2256
|
+
* 自定义透传SEI
|
|
2173
2257
|
*/
|
|
2174
|
-
export interface
|
|
2258
|
+
export interface McuPassThrough {
|
|
2175
2259
|
/**
|
|
2176
|
-
*
|
|
2260
|
+
* 透传SEI的payload内容。
|
|
2177
2261
|
*/
|
|
2178
|
-
|
|
2262
|
+
PayloadContent: string;
|
|
2179
2263
|
/**
|
|
2180
|
-
*
|
|
2264
|
+
* SEI消息的PayloadType,取值范围5、100-254(244除外,244为我们内部自定义的时间戳SEI)。
|
|
2265
|
+
注:部分播放器可能不支持PayloadType为5带PayloadUuid的标准类型,建议优先使用其他PayloadType。
|
|
2181
2266
|
*/
|
|
2182
|
-
|
|
2267
|
+
PayloadType: number;
|
|
2268
|
+
/**
|
|
2269
|
+
* PayloadType为5,PayloadUuid必须填写。PayloadType不是5时,不需要填写,填写会被后台忽略。该值必须是32长度的十六进制。
|
|
2270
|
+
*/
|
|
2271
|
+
PayloadUuid?: string;
|
|
2272
|
+
/**
|
|
2273
|
+
* SEI发送间隔,单位毫秒,默认值为1000。
|
|
2274
|
+
*/
|
|
2275
|
+
Interval?: number;
|
|
2276
|
+
/**
|
|
2277
|
+
* 取值范围[0,1],填1:发送关键帧时会确保带SEI;填0:发送关键帧时不确保带SEI。默认值为0。
|
|
2278
|
+
*/
|
|
2279
|
+
FollowIdr?: number;
|
|
2183
2280
|
}
|
|
2184
2281
|
/**
|
|
2185
2282
|
* ModifyPicture返回参数结构体
|
|
@@ -2620,30 +2717,13 @@ export interface RecordParams {
|
|
|
2620
2717
|
FillType?: number;
|
|
2621
2718
|
}
|
|
2622
2719
|
/**
|
|
2623
|
-
*
|
|
2720
|
+
* DeleteVoicePrint返回参数结构体
|
|
2624
2721
|
*/
|
|
2625
|
-
export interface
|
|
2626
|
-
/**
|
|
2627
|
-
* 透传SEI的payload内容。
|
|
2628
|
-
*/
|
|
2629
|
-
PayloadContent: string;
|
|
2630
|
-
/**
|
|
2631
|
-
* SEI消息的PayloadType,取值范围5、100-254(244除外,244为我们内部自定义的时间戳SEI)。
|
|
2632
|
-
注:部分播放器可能不支持PayloadType为5带PayloadUuid的标准类型,建议优先使用其他PayloadType。
|
|
2633
|
-
*/
|
|
2634
|
-
PayloadType: number;
|
|
2635
|
-
/**
|
|
2636
|
-
* PayloadType为5,PayloadUuid必须填写。PayloadType不是5时,不需要填写,填写会被后台忽略。该值必须是32长度的十六进制。
|
|
2637
|
-
*/
|
|
2638
|
-
PayloadUuid?: string;
|
|
2722
|
+
export interface DeleteVoicePrintResponse {
|
|
2639
2723
|
/**
|
|
2640
|
-
*
|
|
2641
|
-
*/
|
|
2642
|
-
Interval?: number;
|
|
2643
|
-
/**
|
|
2644
|
-
* 取值范围[0,1],填1:发送关键帧时会确保带SEI;填0:发送关键帧时不确保带SEI。默认值为0。
|
|
2724
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2645
2725
|
*/
|
|
2646
|
-
|
|
2726
|
+
RequestId?: string;
|
|
2647
2727
|
}
|
|
2648
2728
|
/**
|
|
2649
2729
|
* DescribeTRTCRealTimeQualityMetricData返回参数结构体
|
|
@@ -2850,6 +2930,9 @@ export interface RecognizeConfig {
|
|
|
2850
2930
|
- "zh": 中文(简体)
|
|
2851
2931
|
- "zh-TW": 中文(繁体)
|
|
2852
2932
|
- "en": 英语
|
|
2933
|
+
- "16k_zh_edu":中文教育
|
|
2934
|
+
- "16k_zh_medical":中文医疗
|
|
2935
|
+
- "16k_zh_court":中文法庭
|
|
2853
2936
|
|
|
2854
2937
|
**标准版:**
|
|
2855
2938
|
- "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
|
|
@@ -2882,7 +2965,6 @@ export interface RecognizeConfig {
|
|
|
2882
2965
|
|
|
2883
2966
|
**注意:**
|
|
2884
2967
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
|
2885
|
-
|
|
2886
2968
|
*/
|
|
2887
2969
|
Language?: string;
|
|
2888
2970
|
/**
|
|
@@ -3306,6 +3388,31 @@ export interface VideoParams {
|
|
|
3306
3388
|
*/
|
|
3307
3389
|
Gop: number;
|
|
3308
3390
|
}
|
|
3391
|
+
/**
|
|
3392
|
+
* RegisterVoicePrint请求参数结构体
|
|
3393
|
+
*/
|
|
3394
|
+
export interface RegisterVoicePrintRequest {
|
|
3395
|
+
/**
|
|
3396
|
+
* 整个wav音频文件的base64字符串,其中wav文件限定为16k或8k采样率, 16bit位深, 单声道, 8到18秒有效音频时长,编码数据大小不超过2M
|
|
3397
|
+
*/
|
|
3398
|
+
Audio: string;
|
|
3399
|
+
/**
|
|
3400
|
+
* 毫秒时间戳
|
|
3401
|
+
*/
|
|
3402
|
+
ReqTimestamp: number;
|
|
3403
|
+
/**
|
|
3404
|
+
* 音频格式,目前只支持0,代表wav
|
|
3405
|
+
*/
|
|
3406
|
+
AudioFormat: number;
|
|
3407
|
+
/**
|
|
3408
|
+
* 音频名称,长度不要超过32
|
|
3409
|
+
*/
|
|
3410
|
+
AudioName: string;
|
|
3411
|
+
/**
|
|
3412
|
+
* 和声纹绑定的MetaInfo,长度最大不超过512
|
|
3413
|
+
*/
|
|
3414
|
+
AudioMetaInfo?: string;
|
|
3415
|
+
}
|
|
3309
3416
|
/**
|
|
3310
3417
|
* DescribePicture返回参数结构体
|
|
3311
3418
|
*/
|
|
@@ -3561,6 +3668,15 @@ export interface StartAITranscriptionRequest {
|
|
|
3561
3668
|
*/
|
|
3562
3669
|
RecognizeConfig?: RecognizeConfig;
|
|
3563
3670
|
}
|
|
3671
|
+
/**
|
|
3672
|
+
* DismissRoom返回参数结构体
|
|
3673
|
+
*/
|
|
3674
|
+
export interface DismissRoomResponse {
|
|
3675
|
+
/**
|
|
3676
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3677
|
+
*/
|
|
3678
|
+
RequestId?: string;
|
|
3679
|
+
}
|
|
3564
3680
|
/**
|
|
3565
3681
|
* StopStreamIngest返回参数结构体
|
|
3566
3682
|
*/
|
|
@@ -3588,9 +3704,14 @@ export interface MixUserInfo {
|
|
|
3588
3704
|
RoomIdType?: number;
|
|
3589
3705
|
}
|
|
3590
3706
|
/**
|
|
3591
|
-
*
|
|
3707
|
+
* DescribeTRTCRealTimeScaleData返回参数结构体
|
|
3592
3708
|
*/
|
|
3593
|
-
export interface
|
|
3709
|
+
export interface DescribeTRTCRealTimeScaleDataResponse {
|
|
3710
|
+
/**
|
|
3711
|
+
* TRTC监控数据出参
|
|
3712
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3713
|
+
*/
|
|
3714
|
+
Data?: TRTCDataResult;
|
|
3594
3715
|
/**
|
|
3595
3716
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3596
3717
|
*/
|
|
@@ -3813,6 +3934,31 @@ export interface McuSeiParams {
|
|
|
3813
3934
|
*/
|
|
3814
3935
|
PassThrough?: McuPassThrough;
|
|
3815
3936
|
}
|
|
3937
|
+
/**
|
|
3938
|
+
* UpdateVoicePrint请求参数结构体
|
|
3939
|
+
*/
|
|
3940
|
+
export interface UpdateVoicePrintRequest {
|
|
3941
|
+
/**
|
|
3942
|
+
* 声纹信息ID
|
|
3943
|
+
*/
|
|
3944
|
+
VoicePrintId: string;
|
|
3945
|
+
/**
|
|
3946
|
+
* 毫秒时间戳
|
|
3947
|
+
*/
|
|
3948
|
+
ReqTimestamp: number;
|
|
3949
|
+
/**
|
|
3950
|
+
* 音频格式,目前只支持0,代表wav
|
|
3951
|
+
*/
|
|
3952
|
+
AudioFormat?: number;
|
|
3953
|
+
/**
|
|
3954
|
+
* 整个wav音频文件的base64字符串,其中wav文件限定为16k或8k采样率, 16bit位深, 单声道, 8到18秒有效音频时长,编码数据大小不超过2M
|
|
3955
|
+
*/
|
|
3956
|
+
Audio?: string;
|
|
3957
|
+
/**
|
|
3958
|
+
* 和声纹绑定的MetaInfo,长度最大不超过512
|
|
3959
|
+
*/
|
|
3960
|
+
AudioMetaInfo?: string;
|
|
3961
|
+
}
|
|
3816
3962
|
/**
|
|
3817
3963
|
* StopAIConversation请求参数结构体
|
|
3818
3964
|
*/
|
|
@@ -4030,18 +4176,64 @@ export interface OneSdkAppIdTranscodeTimeUsagesInfo {
|
|
|
4030
4176
|
SdkAppId?: string;
|
|
4031
4177
|
}
|
|
4032
4178
|
/**
|
|
4033
|
-
*
|
|
4179
|
+
* MCU混流输出流编码参数
|
|
4034
4180
|
*/
|
|
4035
|
-
export interface
|
|
4181
|
+
export interface EncodeParams {
|
|
4036
4182
|
/**
|
|
4037
|
-
*
|
|
4038
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4183
|
+
* 混流-输出流音频采样率。取值为[48000, 44100, 32000, 24000, 16000, 8000],单位是Hz。混流任务发起过程中,为了保持CDN链接的稳定,不要修改音频参数(codec、采样率、码率、声道数)。
|
|
4039
4184
|
*/
|
|
4040
|
-
|
|
4185
|
+
AudioSampleRate: number;
|
|
4041
4186
|
/**
|
|
4042
|
-
*
|
|
4187
|
+
* 混流-输出流音频码率。取值范围[8,500],单位为kbps。混流任务发起过程中,为了保持CDN链接的稳定,不要修改音频参数(codec、采样率、码率、声道数)。
|
|
4043
4188
|
*/
|
|
4044
|
-
|
|
4189
|
+
AudioBitrate: number;
|
|
4190
|
+
/**
|
|
4191
|
+
* 混流-输出流音频声道数,取值范围[1,2],1表示混流输出音频为单声道,2表示混流输出音频为双声道。混流任务发起过程中,为了保持CDN链接的稳定,不要修改音频参数(codec、采样率、码率、声道数)。
|
|
4192
|
+
*/
|
|
4193
|
+
AudioChannels: number;
|
|
4194
|
+
/**
|
|
4195
|
+
* 混流-输出流宽,音视频输出时必填。取值范围[0,1920],单位为像素值。
|
|
4196
|
+
*/
|
|
4197
|
+
VideoWidth?: number;
|
|
4198
|
+
/**
|
|
4199
|
+
* 混流-输出流高,音视频输出时必填。取值范围[0,1080],单位为像素值。
|
|
4200
|
+
*/
|
|
4201
|
+
VideoHeight?: number;
|
|
4202
|
+
/**
|
|
4203
|
+
* 混流-输出流码率,音视频输出时必填。取值范围[1,10000],单位为kbps。
|
|
4204
|
+
*/
|
|
4205
|
+
VideoBitrate?: number;
|
|
4206
|
+
/**
|
|
4207
|
+
* 混流-输出流帧率,音视频输出时必填。取值范围[1,60],表示混流的输出帧率可选范围为1到60fps。
|
|
4208
|
+
*/
|
|
4209
|
+
VideoFramerate?: number;
|
|
4210
|
+
/**
|
|
4211
|
+
* 混流-输出流gop,音视频输出时必填。取值范围[1,5],单位为秒。
|
|
4212
|
+
*/
|
|
4213
|
+
VideoGop?: number;
|
|
4214
|
+
/**
|
|
4215
|
+
* 混流-输出流背景色,取值是十进制整数。常用的颜色有:
|
|
4216
|
+
红色:0xff0000,对应的十进制整数是16724736。
|
|
4217
|
+
黄色:0xffff00。对应的十进制整数是16776960。
|
|
4218
|
+
绿色:0x33cc00。对应的十进制整数是3394560。
|
|
4219
|
+
蓝色:0x0066ff。对应的十进制整数是26367。
|
|
4220
|
+
黑色:0x000000。对应的十进制整数是0。
|
|
4221
|
+
白色:0xFFFFFF。对应的十进制整数是16777215。
|
|
4222
|
+
灰色:0x999999。对应的十进制整数是10066329。
|
|
4223
|
+
*/
|
|
4224
|
+
BackgroundColor?: number;
|
|
4225
|
+
/**
|
|
4226
|
+
* 混流-输出流背景图片,取值为实时音视频控制台上传的图片ID。
|
|
4227
|
+
*/
|
|
4228
|
+
BackgroundImageId?: number;
|
|
4229
|
+
/**
|
|
4230
|
+
* 混流-输出流音频编码类型,取值范围[0,1, 2],0为LC-AAC,1为HE-AAC,2为HE-AACv2。默认值为0。当音频编码设置为HE-AACv2时,只支持输出流音频声道数为双声道。HE-AAC和HE-AACv2支持的输出流音频采样率范围为[48000, 44100, 32000, 24000, 16000]。混流任务发起过程中,为了保持CDN链接的稳定,不要修改音频参数(codec、采样率、码率、声道数)。
|
|
4231
|
+
*/
|
|
4232
|
+
AudioCodec?: number;
|
|
4233
|
+
/**
|
|
4234
|
+
* 混流-输出流背景图片URL地址,支持png、jpg、jpeg、bmp格式,暂不支持透明通道。URL链接长度限制为512字节。BackgroundImageUrl和BackgroundImageId参数都填时,以BackgroundImageUrl为准。图片大小限制不超过2MB。
|
|
4235
|
+
*/
|
|
4236
|
+
BackgroundImageUrl?: string;
|
|
4045
4237
|
}
|
|
4046
4238
|
/**
|
|
4047
4239
|
* 混流转推的音频相关参数。
|
|
@@ -4196,6 +4388,19 @@ export interface McuCloudVod {
|
|
|
4196
4388
|
*/
|
|
4197
4389
|
McuTencentVod?: McuTencentVod;
|
|
4198
4390
|
}
|
|
4391
|
+
/**
|
|
4392
|
+
* StopMCUMixTranscode请求参数结构体
|
|
4393
|
+
*/
|
|
4394
|
+
export interface StopMCUMixTranscodeRequest {
|
|
4395
|
+
/**
|
|
4396
|
+
* TRTC的SDKAppId。
|
|
4397
|
+
*/
|
|
4398
|
+
SdkAppId: number;
|
|
4399
|
+
/**
|
|
4400
|
+
* 房间号。
|
|
4401
|
+
*/
|
|
4402
|
+
RoomId: number;
|
|
4403
|
+
}
|
|
4199
4404
|
/**
|
|
4200
4405
|
* 单流旁路转推的用户上行信息。
|
|
4201
4406
|
*/
|