tencentcloud-sdk-nodejs-trtc 4.1.228 → 4.1.229
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.
|
@@ -69,6 +69,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
69
69
|
async DescribeTRTCRealTimeScaleData(req, cb) {
|
|
70
70
|
return this.request("DescribeTRTCRealTimeScaleData", req, cb);
|
|
71
71
|
}
|
|
72
|
+
async DescribeTRTCSegmentModerationUsage(req, cb) {
|
|
73
|
+
return this.request("DescribeTRTCSegmentModerationUsage", req, cb);
|
|
74
|
+
}
|
|
72
75
|
async UpdateVoicePrint(req, cb) {
|
|
73
76
|
return this.request("UpdateVoicePrint", req, cb);
|
|
74
77
|
}
|
|
@@ -144,6 +147,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
144
147
|
async StopStreamIngest(req, cb) {
|
|
145
148
|
return this.request("StopStreamIngest", req, cb);
|
|
146
149
|
}
|
|
150
|
+
async DescribeUnusualEvent(req, cb) {
|
|
151
|
+
return this.request("DescribeUnusualEvent", req, cb);
|
|
152
|
+
}
|
|
147
153
|
async VoiceClone(req, cb) {
|
|
148
154
|
return this.request("VoiceClone", req, cb);
|
|
149
155
|
}
|
|
@@ -165,8 +171,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
165
171
|
async DeleteCloudSliceTask(req, cb) {
|
|
166
172
|
return this.request("DeleteCloudSliceTask", req, cb);
|
|
167
173
|
}
|
|
168
|
-
async
|
|
169
|
-
return this.request("
|
|
174
|
+
async DescribeTRTCDedicatedCloudAccUsage(req, cb) {
|
|
175
|
+
return this.request("DescribeTRTCDedicatedCloudAccUsage", req, cb);
|
|
170
176
|
}
|
|
171
177
|
async DescribeTrtcMcuTranscodeTime(req, cb) {
|
|
172
178
|
return this.request("DescribeTrtcMcuTranscodeTime", req, cb);
|
|
@@ -216,8 +222,11 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
216
222
|
async UpdateStreamIngest(req, cb) {
|
|
217
223
|
return this.request("UpdateStreamIngest", req, cb);
|
|
218
224
|
}
|
|
219
|
-
async
|
|
220
|
-
return this.request("
|
|
225
|
+
async DescribeTRTCAIRecognitionUsage(req, cb) {
|
|
226
|
+
return this.request("DescribeTRTCAIRecognitionUsage", req, cb);
|
|
227
|
+
}
|
|
228
|
+
async DescribeVoicePrint(req, cb) {
|
|
229
|
+
return this.request("DescribeVoicePrint", req, cb);
|
|
221
230
|
}
|
|
222
231
|
async TextToSpeechSSE(req, cb) {
|
|
223
232
|
return this.request("TextToSpeechSSE", req, cb);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeAsyncTextToSpeechRequest, ModifyCloudSliceTaskResponse, DescribeCloudModerationResponse, CreatePictureRequest, DescribeTRTCRealTimeScaleDataRequest, StartAIConversationResponse, DescribeTRTCMarketScaleDataRequest, VoiceCloneRequest, DescribeUserEventRequest, DeleteCloudModerationRequest, CreateCloudSliceTaskRequest, AsyncTextToSpeechRequest, DescribeTrtcRoomUsageResponse,
|
|
2
|
+
import { DescribeAsyncTextToSpeechRequest, ModifyCloudSliceTaskResponse, DescribeCloudModerationResponse, StartStreamIngestResponse, CreatePictureRequest, DescribeTRTCRealTimeScaleDataRequest, StartAIConversationResponse, DescribeTRTCMarketScaleDataRequest, VoiceCloneRequest, DescribeUserEventRequest, DeleteCloudModerationRequest, CreateCloudSliceTaskRequest, AsyncTextToSpeechRequest, DescribeTrtcRoomUsageResponse, RegisterVoicePrintRequest, DeleteCloudSliceTaskRequest, ControlAIConversationResponse, StopAITranscriptionRequest, UpdateAIConversationResponse, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, CreateCloudModerationResponse, DescribeTRTCSegmentModerationUsageRequest, DescribeTRTCMarketScaleDataResponse, RegisterVoicePrintResponse, ModifyPictureRequest, DescribeWebRecordResponse, DescribeCloudTranscriptionResponse, DescribeUserInfoRequest, DeleteCloudModerationResponse, DescribeRelayUsageRequest, DismissRoomResponse, DescribeRecordStatisticResponse, DeleteVoicePrintRequest, DescribeAsyncTextToSpeechResponse, DescribeTrtcUsageResponse, CreateCloudRecordingResponse, StartMCUMixTranscodeByStrRoomIdRequest, DescribeWebRecordRequest, DescribeRecordStatisticRequest, DescribeRoomInfoRequest, CreateBasicModerationRequest, DescribeTRTCMarketScaleMetricDataResponse, DescribeCallDetailInfoResponse, DescribeTRTCRealTimeQualityDataResponse, DescribeTRTCAIRecognitionUsageResponse, DescribeMixTranscodingUsageRequest, DescribeTRTCRealTimeQualityDataRequest, DescribeStreamIngestResponse, CreateCloudTranscriptionResponse, DescribeTRTCMarketQualityDataResponse, DescribeVoicePrintResponse, DescribeTrtcUsageRequest, DescribeRoomInfoResponse, StartWebRecordRequest, DescribeAITranscriptionRequest, CreateBasicModerationResponse, DescribeAIConversationResponse, DeleteCloudTranscriptionResponse, DescribeUserInfoResponse, RemoveUserByStrRoomIdResponse, DescribeVoicePrintRequest, UpdateStreamIngestResponse, StartMCUMixTranscodeRequest, StartPublishCdnStreamResponse, StartMCUMixTranscodeByStrRoomIdResponse, DeleteCloudSliceTaskResponse, DescribeTRTCMarketScaleMetricDataRequest, DescribeRelayUsageResponse, StartStreamIngestRequest, UpdateVoicePrintResponse, TextToSpeechSSEResponse, DescribeRecordingUsageResponse, DescribeRecordingUsageRequest, ModifyPictureResponse, DescribeScaleInfoResponse, ModifyCloudSliceTaskRequest, StopMCUMixTranscodeResponse, DescribeMixTranscodingUsageResponse, RemoveUserRequest, DismissRoomRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, DeleteVoicePrintResponse, StartWebRecordResponse, DescribeCloudRecordingResponse, ModifyCloudModerationRequest, CreateCloudRecordingRequest, DeleteBasicModerationRequest, DeleteCloudRecordingResponse, StartAITranscriptionRequest, StopMCUMixTranscodeByStrRoomIdRequest, StartAIConversationRequest, DeletePictureResponse, ModifyCloudRecordingRequest, StopAIConversationResponse, StartPublishCdnStreamRequest, DescribeAIConversationRequest, DismissRoomByStrRoomIdRequest, DescribeTRTCAIRecognitionUsageRequest, CreateCloudSliceTaskResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, ModifyCloudModerationResponse, DescribeTRTCSegmentModerationUsageResponse, DescribePictureResponse, DescribeTrtcRoomUsageRequest, TextToSpeechResponse, CreateCloudModerationRequest, StopStreamIngestRequest, DescribeTrtcMcuTranscodeTimeRequest, StopStreamIngestResponse, DescribeScaleInfoRequest, ControlAIConversationRequest, DismissRoomByStrRoomIdResponse, StopPublishCdnStreamResponse, DescribeUnusualEventResponse, ModifyCloudRecordingResponse, CreateCloudTranscriptionRequest, AsyncTextToSpeechResponse, DescribeCloudSliceTaskRequest, StopPublishCdnStreamRequest, DescribeTRTCMarketQualityDataRequest, DescribeTRTCRealTimeScaleDataResponse, DeleteCloudTranscriptionRequest, UpdatePublishCdnStreamRequest, DescribeTRTCDedicatedCloudAccUsageRequest, VoiceCloneResponse, UpdateStreamIngestRequest, TextToSpeechSSERequest, StopWebRecordResponse, DeletePictureRequest, StopWebRecordRequest, UpdateVoicePrintRequest, StopAIConversationRequest, UpdateAIConversationRequest, UpdatePublishCdnStreamResponse, RemoveUserByStrRoomIdRequest, DeleteBasicModerationResponse, TextToSpeechRequest, DescribeStreamIngestRequest, DescribeTRTCDedicatedCloudAccUsageResponse, DescribeCloudTranscriptionRequest, StopAITranscriptionResponse, StopMCUMixTranscodeRequest, DescribeCloudModerationRequest, DescribeAITranscriptionResponse, DescribeCloudSliceTaskResponse, CreatePictureResponse, StartAITranscriptionResponse, RemoveUserResponse } from "./trtc_models";
|
|
3
3
|
/**
|
|
4
4
|
* trtc client
|
|
5
5
|
* @class
|
|
@@ -164,6 +164,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
164
164
|
2.查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时。
|
|
165
165
|
*/
|
|
166
166
|
DescribeTRTCRealTimeScaleData(req: DescribeTRTCRealTimeScaleDataRequest, cb?: (error: string, rep: DescribeTRTCRealTimeScaleDataResponse) => void): Promise<DescribeTRTCRealTimeScaleDataResponse>;
|
|
167
|
+
/**
|
|
168
|
+
* 切片截图与内容理解用量查询,支持查询音视频切片(云端切片场景)和 AI 内容理解(审核场景)两种业务类型
|
|
169
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
170
|
+
- 单次查询统计区间最多不能超过31天。
|
|
171
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
172
|
+
*/
|
|
173
|
+
DescribeTRTCSegmentModerationUsage(req: DescribeTRTCSegmentModerationUsageRequest, cb?: (error: string, rep: DescribeTRTCSegmentModerationUsageResponse) => void): Promise<DescribeTRTCSegmentModerationUsageResponse>;
|
|
167
174
|
/**
|
|
168
175
|
* 传入声纹ID以及对应音频信息,更新对应声纹信息
|
|
169
176
|
*/
|
|
@@ -325,6 +332,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
325
332
|
* 停止一个输入在线媒体流任务。
|
|
326
333
|
*/
|
|
327
334
|
StopStreamIngest(req: StopStreamIngestRequest, cb?: (error: string, rep: StopStreamIngestResponse) => void): Promise<StopStreamIngestResponse>;
|
|
335
|
+
/**
|
|
336
|
+
* 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。(同老接口DescribeAbnormalEvent)
|
|
337
|
+
异常体验ID映射见:https://cloud.tencent.com/document/product/647/44916
|
|
338
|
+
*/
|
|
339
|
+
DescribeUnusualEvent(req: DescribeUnusualEventRequest, cb?: (error: string, rep: DescribeUnusualEventResponse) => void): Promise<DescribeUnusualEventResponse>;
|
|
328
340
|
/**
|
|
329
341
|
* 声音克隆
|
|
330
342
|
*/
|
|
@@ -368,9 +380,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
368
380
|
*/
|
|
369
381
|
DeleteCloudSliceTask(req: DeleteCloudSliceTaskRequest, cb?: (error: string, rep: DeleteCloudSliceTaskResponse) => void): Promise<DeleteCloudSliceTaskResponse>;
|
|
370
382
|
/**
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
383
|
+
* TRTC专属云网络加速用量查询
|
|
384
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
385
|
+
- 单次查询统计区间最多不能超过31天。
|
|
386
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
387
|
+
*/
|
|
388
|
+
DescribeTRTCDedicatedCloudAccUsage(req: DescribeTRTCDedicatedCloudAccUsageRequest, cb?: (error: string, rep: DescribeTRTCDedicatedCloudAccUsageResponse) => void): Promise<DescribeTRTCDedicatedCloudAccUsageResponse>;
|
|
374
389
|
/**
|
|
375
390
|
* 查询旁路转码计费时长。
|
|
376
391
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -461,10 +476,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
461
476
|
*/
|
|
462
477
|
UpdateStreamIngest(req: UpdateStreamIngestRequest, cb?: (error: string, rep: UpdateStreamIngestResponse) => void): Promise<UpdateStreamIngestResponse>;
|
|
463
478
|
/**
|
|
464
|
-
*
|
|
465
|
-
|
|
479
|
+
* AI 智能识别与对话用量查询(AI对话/语音转文本/实时翻译/实时语音合成)
|
|
480
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
481
|
+
- 单次查询统计区间最多不能超过31天。
|
|
482
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
466
483
|
*/
|
|
467
|
-
|
|
484
|
+
DescribeTRTCAIRecognitionUsage(req: DescribeTRTCAIRecognitionUsageRequest, cb?: (error: string, rep: DescribeTRTCAIRecognitionUsageResponse) => void): Promise<DescribeTRTCAIRecognitionUsageResponse>;
|
|
485
|
+
/**
|
|
486
|
+
* 查询先前注册的声纹信息
|
|
487
|
+
*/
|
|
488
|
+
DescribeVoicePrint(req: DescribeVoicePrintRequest, cb?: (error: string, rep: DescribeVoicePrintResponse) => void): Promise<DescribeVoicePrintResponse>;
|
|
468
489
|
/**
|
|
469
490
|
* SSE流式文本转语音
|
|
470
491
|
*/
|
|
@@ -230,6 +230,15 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
230
230
|
async DescribeTRTCRealTimeScaleData(req, cb) {
|
|
231
231
|
return this.request("DescribeTRTCRealTimeScaleData", req, cb);
|
|
232
232
|
}
|
|
233
|
+
/**
|
|
234
|
+
* 切片截图与内容理解用量查询,支持查询音视频切片(云端切片场景)和 AI 内容理解(审核场景)两种业务类型
|
|
235
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
236
|
+
- 单次查询统计区间最多不能超过31天。
|
|
237
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
238
|
+
*/
|
|
239
|
+
async DescribeTRTCSegmentModerationUsage(req, cb) {
|
|
240
|
+
return this.request("DescribeTRTCSegmentModerationUsage", req, cb);
|
|
241
|
+
}
|
|
233
242
|
/**
|
|
234
243
|
* 传入声纹ID以及对应音频信息,更新对应声纹信息
|
|
235
244
|
*/
|
|
@@ -441,6 +450,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
441
450
|
async StopStreamIngest(req, cb) {
|
|
442
451
|
return this.request("StopStreamIngest", req, cb);
|
|
443
452
|
}
|
|
453
|
+
/**
|
|
454
|
+
* 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。(同老接口DescribeAbnormalEvent)
|
|
455
|
+
异常体验ID映射见:https://cloud.tencent.com/document/product/647/44916
|
|
456
|
+
*/
|
|
457
|
+
async DescribeUnusualEvent(req, cb) {
|
|
458
|
+
return this.request("DescribeUnusualEvent", req, cb);
|
|
459
|
+
}
|
|
444
460
|
/**
|
|
445
461
|
* 声音克隆
|
|
446
462
|
*/
|
|
@@ -498,10 +514,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
498
514
|
return this.request("DeleteCloudSliceTask", req, cb);
|
|
499
515
|
}
|
|
500
516
|
/**
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
517
|
+
* TRTC专属云网络加速用量查询
|
|
518
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
519
|
+
- 单次查询统计区间最多不能超过31天。
|
|
520
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
521
|
+
*/
|
|
522
|
+
async DescribeTRTCDedicatedCloudAccUsage(req, cb) {
|
|
523
|
+
return this.request("DescribeTRTCDedicatedCloudAccUsage", req, cb);
|
|
505
524
|
}
|
|
506
525
|
/**
|
|
507
526
|
* 查询旁路转码计费时长。
|
|
@@ -625,11 +644,19 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
625
644
|
return this.request("UpdateStreamIngest", req, cb);
|
|
626
645
|
}
|
|
627
646
|
/**
|
|
628
|
-
*
|
|
629
|
-
|
|
647
|
+
* AI 智能识别与对话用量查询(AI对话/语音转文本/实时翻译/实时语音合成)
|
|
648
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
649
|
+
- 单次查询统计区间最多不能超过31天。
|
|
650
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
630
651
|
*/
|
|
631
|
-
async
|
|
632
|
-
return this.request("
|
|
652
|
+
async DescribeTRTCAIRecognitionUsage(req, cb) {
|
|
653
|
+
return this.request("DescribeTRTCAIRecognitionUsage", req, cb);
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* 查询先前注册的声纹信息
|
|
657
|
+
*/
|
|
658
|
+
async DescribeVoicePrint(req, cb) {
|
|
659
|
+
return this.request("DescribeVoicePrint", req, cb);
|
|
633
660
|
}
|
|
634
661
|
/**
|
|
635
662
|
* SSE流式文本转语音
|
|
@@ -41,6 +41,19 @@ export interface DescribeCloudModerationResponse {
|
|
|
41
41
|
*/
|
|
42
42
|
RequestId?: string;
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* StartStreamIngest返回参数结构体
|
|
46
|
+
*/
|
|
47
|
+
export interface StartStreamIngestResponse {
|
|
48
|
+
/**
|
|
49
|
+
* 输入在线媒体流的任务 ID。任务 ID 是对一次输入在线媒体流生命周期过程的唯一标识,结束任务时会失去意义。任务 ID 需要业务保存下来,作为下次针对这个任务操作的参数。
|
|
50
|
+
*/
|
|
51
|
+
TaskId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
54
|
+
*/
|
|
55
|
+
RequestId?: string;
|
|
56
|
+
}
|
|
44
57
|
/**
|
|
45
58
|
* 机器人参数
|
|
46
59
|
*/
|
|
@@ -389,6 +402,27 @@ export interface McuVideoParams {
|
|
|
389
402
|
*/
|
|
390
403
|
BackgroundRenderMode?: number;
|
|
391
404
|
}
|
|
405
|
+
/**
|
|
406
|
+
* 混流自定义裁剪参数
|
|
407
|
+
*/
|
|
408
|
+
export interface McuCustomCrop {
|
|
409
|
+
/**
|
|
410
|
+
* 自定义裁剪起始位置的X偏移,单位为像素值,大于等于0。
|
|
411
|
+
*/
|
|
412
|
+
LocationX: number;
|
|
413
|
+
/**
|
|
414
|
+
* 自定义裁剪起始位置的Y偏移,单位为像素值,大于等于0。
|
|
415
|
+
*/
|
|
416
|
+
LocationY: number;
|
|
417
|
+
/**
|
|
418
|
+
* 自定义裁剪画面的宽度,单位为像素值,大于0,且LocationX+Width不超过10000
|
|
419
|
+
*/
|
|
420
|
+
Width: number;
|
|
421
|
+
/**
|
|
422
|
+
* 自定义裁剪画面的高度,单位为像素值,大于0,且LocationY+Height不超过10000
|
|
423
|
+
*/
|
|
424
|
+
Height: number;
|
|
425
|
+
}
|
|
392
426
|
/**
|
|
393
427
|
* DescribeTRTCRealTimeScaleData请求参数结构体
|
|
394
428
|
*/
|
|
@@ -772,17 +806,29 @@ export interface DescribeTrtcRoomUsageResponse {
|
|
|
772
806
|
RequestId?: string;
|
|
773
807
|
}
|
|
774
808
|
/**
|
|
775
|
-
*
|
|
809
|
+
* RegisterVoicePrint请求参数结构体
|
|
776
810
|
*/
|
|
777
|
-
export interface
|
|
811
|
+
export interface RegisterVoicePrintRequest {
|
|
778
812
|
/**
|
|
779
|
-
*
|
|
813
|
+
* 整个wav音频文件的base64字符串,其中wav文件限定为16k采样率, 16bit位深, 单声道, 8到18秒音频时长,有效音频不小于6秒(不能有太多静音段),编码数据大小不超过2M
|
|
780
814
|
*/
|
|
781
|
-
|
|
815
|
+
Audio: string;
|
|
782
816
|
/**
|
|
783
|
-
*
|
|
817
|
+
* 毫秒时间戳
|
|
784
818
|
*/
|
|
785
|
-
|
|
819
|
+
ReqTimestamp: number;
|
|
820
|
+
/**
|
|
821
|
+
* 音频格式,目前只支持0,代表wav
|
|
822
|
+
*/
|
|
823
|
+
AudioFormat: number;
|
|
824
|
+
/**
|
|
825
|
+
* 音频名称,长度不要超过32
|
|
826
|
+
*/
|
|
827
|
+
AudioName: string;
|
|
828
|
+
/**
|
|
829
|
+
* 和声纹绑定的MetaInfo,长度最大不超过512
|
|
830
|
+
*/
|
|
831
|
+
AudioMetaInfo?: string;
|
|
786
832
|
}
|
|
787
833
|
/**
|
|
788
834
|
* 转录用户信息
|
|
@@ -1107,6 +1153,31 @@ export interface CreateCloudModerationResponse {
|
|
|
1107
1153
|
*/
|
|
1108
1154
|
RequestId?: string;
|
|
1109
1155
|
}
|
|
1156
|
+
/**
|
|
1157
|
+
* DescribeTRTCSegmentModerationUsage请求参数结构体
|
|
1158
|
+
*/
|
|
1159
|
+
export interface DescribeTRTCSegmentModerationUsageRequest {
|
|
1160
|
+
/**
|
|
1161
|
+
* 查询开始时间,格式为YYYY-MM-DD HH:mm:ss。
|
|
1162
|
+
*/
|
|
1163
|
+
StartTime: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* 查询结束时间,格式为YYYY-MM-DD HH:mm:ss。单次查询统计区间最多不能超过31天。
|
|
1166
|
+
*/
|
|
1167
|
+
EndTime: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* 媒体类型,枚举值:audio(音频)、picture(图片)
|
|
1170
|
+
*/
|
|
1171
|
+
Type: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* 使用场景(业务类型),枚举值:0 = AI 内容理解(审核场景)、1 = 音视频切片(云端切片场景)
|
|
1174
|
+
*/
|
|
1175
|
+
Business: number;
|
|
1176
|
+
/**
|
|
1177
|
+
* 应用ID,可不传。传应用ID时返回的是该应用的用量,不传时返回多个应用的合计值。
|
|
1178
|
+
*/
|
|
1179
|
+
SdkAppId?: number;
|
|
1180
|
+
}
|
|
1110
1181
|
/**
|
|
1111
1182
|
* DescribeTRTCMarketScaleData返回参数结构体
|
|
1112
1183
|
*/
|
|
@@ -1323,20 +1394,6 @@ export interface DescribeUserInfoRequest {
|
|
|
1323
1394
|
*/
|
|
1324
1395
|
PageSize?: number;
|
|
1325
1396
|
}
|
|
1326
|
-
/**
|
|
1327
|
-
* DescribeTRTCMarketQualityData返回参数结构体
|
|
1328
|
-
*/
|
|
1329
|
-
export interface DescribeTRTCMarketQualityDataResponse {
|
|
1330
|
-
/**
|
|
1331
|
-
* TRTC监控数据出参
|
|
1332
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1333
|
-
*/
|
|
1334
|
-
Data?: TRTCDataResult;
|
|
1335
|
-
/**
|
|
1336
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1337
|
-
*/
|
|
1338
|
-
RequestId?: string;
|
|
1339
|
-
}
|
|
1340
1397
|
/**
|
|
1341
1398
|
* DeleteCloudModeration返回参数结构体
|
|
1342
1399
|
*/
|
|
@@ -1840,25 +1897,34 @@ export interface DescribeTRTCRealTimeQualityDataResponse {
|
|
|
1840
1897
|
RequestId?: string;
|
|
1841
1898
|
}
|
|
1842
1899
|
/**
|
|
1843
|
-
*
|
|
1900
|
+
* 指定动态布局中悬浮布局和屏幕分享布局的大画面信息,只在悬浮布局和屏幕分享布局有效。
|
|
1844
1901
|
*/
|
|
1845
|
-
export interface
|
|
1902
|
+
export interface MaxVideoUser {
|
|
1846
1903
|
/**
|
|
1847
|
-
*
|
|
1904
|
+
* 用户媒体流参数。
|
|
1848
1905
|
*/
|
|
1849
|
-
|
|
1906
|
+
UserMediaStream: UserMediaStream;
|
|
1907
|
+
}
|
|
1908
|
+
/**
|
|
1909
|
+
* DescribeTRTCAIRecognitionUsage返回参数结构体
|
|
1910
|
+
*/
|
|
1911
|
+
export interface DescribeTRTCAIRecognitionUsageResponse {
|
|
1850
1912
|
/**
|
|
1851
|
-
*
|
|
1913
|
+
* 用量类型列表
|
|
1852
1914
|
*/
|
|
1853
|
-
|
|
1915
|
+
UsageKey?: Array<string>;
|
|
1854
1916
|
/**
|
|
1855
|
-
*
|
|
1917
|
+
* 用量列表
|
|
1856
1918
|
*/
|
|
1857
|
-
|
|
1919
|
+
UsageList?: Array<UsageList>;
|
|
1858
1920
|
/**
|
|
1859
|
-
*
|
|
1921
|
+
* 总用量列表
|
|
1860
1922
|
*/
|
|
1861
|
-
|
|
1923
|
+
TotalUsage?: Array<number>;
|
|
1924
|
+
/**
|
|
1925
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1926
|
+
*/
|
|
1927
|
+
RequestId?: string;
|
|
1862
1928
|
}
|
|
1863
1929
|
/**
|
|
1864
1930
|
* DescribeMixTranscodingUsage请求参数结构体
|
|
@@ -1878,6 +1944,27 @@ export interface DescribeMixTranscodingUsageRequest {
|
|
|
1878
1944
|
*/
|
|
1879
1945
|
SdkAppId?: number;
|
|
1880
1946
|
}
|
|
1947
|
+
/**
|
|
1948
|
+
* DescribeTRTCRealTimeQualityData请求参数结构体
|
|
1949
|
+
*/
|
|
1950
|
+
export interface DescribeTRTCRealTimeQualityDataRequest {
|
|
1951
|
+
/**
|
|
1952
|
+
* 用户SdkAppId(如:1400xxxxxx)
|
|
1953
|
+
*/
|
|
1954
|
+
SdkAppId: string;
|
|
1955
|
+
/**
|
|
1956
|
+
* 开始时间,unix时间戳,单位:秒(查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时)
|
|
1957
|
+
*/
|
|
1958
|
+
StartTime: number;
|
|
1959
|
+
/**
|
|
1960
|
+
* 结束时间,unix时间戳,单位:秒
|
|
1961
|
+
*/
|
|
1962
|
+
EndTime: number;
|
|
1963
|
+
/**
|
|
1964
|
+
* 房间ID
|
|
1965
|
+
*/
|
|
1966
|
+
RoomId?: string;
|
|
1967
|
+
}
|
|
1881
1968
|
/**
|
|
1882
1969
|
* DescribeStreamIngest返回参数结构体
|
|
1883
1970
|
*/
|
|
@@ -1921,25 +2008,18 @@ export interface CreateCloudTranscriptionResponse {
|
|
|
1921
2008
|
RequestId?: string;
|
|
1922
2009
|
}
|
|
1923
2010
|
/**
|
|
1924
|
-
*
|
|
2011
|
+
* DescribeTRTCMarketQualityData返回参数结构体
|
|
1925
2012
|
*/
|
|
1926
|
-
export interface
|
|
1927
|
-
/**
|
|
1928
|
-
* 用户SdkAppId(如:1400xxxxxx)
|
|
1929
|
-
*/
|
|
1930
|
-
SdkAppId: string;
|
|
1931
|
-
/**
|
|
1932
|
-
* 开始时间,unix时间戳,单位:秒(查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时)
|
|
1933
|
-
*/
|
|
1934
|
-
StartTime: number;
|
|
2013
|
+
export interface DescribeTRTCMarketQualityDataResponse {
|
|
1935
2014
|
/**
|
|
1936
|
-
*
|
|
2015
|
+
* TRTC监控数据出参
|
|
2016
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1937
2017
|
*/
|
|
1938
|
-
|
|
2018
|
+
Data?: TRTCDataResult;
|
|
1939
2019
|
/**
|
|
1940
|
-
*
|
|
2020
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1941
2021
|
*/
|
|
1942
|
-
|
|
2022
|
+
RequestId?: string;
|
|
1943
2023
|
}
|
|
1944
2024
|
/**
|
|
1945
2025
|
* DescribeVoicePrint返回参数结构体
|
|
@@ -3390,6 +3470,19 @@ export interface DeleteVoicePrintResponse {
|
|
|
3390
3470
|
*/
|
|
3391
3471
|
RequestId?: string;
|
|
3392
3472
|
}
|
|
3473
|
+
/**
|
|
3474
|
+
* 用量列表
|
|
3475
|
+
*/
|
|
3476
|
+
export interface UsageList {
|
|
3477
|
+
/**
|
|
3478
|
+
* 时间
|
|
3479
|
+
*/
|
|
3480
|
+
TimeKey?: string;
|
|
3481
|
+
/**
|
|
3482
|
+
* 用量数值
|
|
3483
|
+
*/
|
|
3484
|
+
UsageValue?: Array<number>;
|
|
3485
|
+
}
|
|
3393
3486
|
/**
|
|
3394
3487
|
* StartWebRecord返回参数结构体
|
|
3395
3488
|
*/
|
|
@@ -3596,6 +3689,51 @@ export interface DeleteCloudRecordingResponse {
|
|
|
3596
3689
|
*/
|
|
3597
3690
|
RequestId?: string;
|
|
3598
3691
|
}
|
|
3692
|
+
/**
|
|
3693
|
+
* 自定义模板中有效,指定用户视频在混合画面中的位置。
|
|
3694
|
+
*/
|
|
3695
|
+
export interface PresetLayoutConfig {
|
|
3696
|
+
/**
|
|
3697
|
+
* 指定显示在该画面上的用户ID。如果不指定用户ID,会按照用户加入房间的顺序自动匹配PresetLayoutConfig中的画面设置。
|
|
3698
|
+
*/
|
|
3699
|
+
UserId?: string;
|
|
3700
|
+
/**
|
|
3701
|
+
* 当该画面指定用户时,代表用户的流类型。0为摄像头,1为屏幕分享。小画面为web用户时此值填0。
|
|
3702
|
+
*/
|
|
3703
|
+
StreamType?: number;
|
|
3704
|
+
/**
|
|
3705
|
+
* 该画面在输出时的宽度,单位为像素值,不填默认为0。
|
|
3706
|
+
*/
|
|
3707
|
+
ImageWidth?: number;
|
|
3708
|
+
/**
|
|
3709
|
+
* 该画面在输出时的高度,单位为像素值,不填默认为0。
|
|
3710
|
+
*/
|
|
3711
|
+
ImageHeight?: number;
|
|
3712
|
+
/**
|
|
3713
|
+
* 该画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。
|
|
3714
|
+
*/
|
|
3715
|
+
LocationX?: number;
|
|
3716
|
+
/**
|
|
3717
|
+
* 该画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。
|
|
3718
|
+
*/
|
|
3719
|
+
LocationY?: number;
|
|
3720
|
+
/**
|
|
3721
|
+
* 该画面在输出时的层级,不填默认为0。
|
|
3722
|
+
*/
|
|
3723
|
+
ZOrder?: number;
|
|
3724
|
+
/**
|
|
3725
|
+
* 该画面在输出时的显示模式:0为裁剪,1为缩放,2为缩放并显示黑底。不填默认为0。
|
|
3726
|
+
*/
|
|
3727
|
+
RenderMode?: number;
|
|
3728
|
+
/**
|
|
3729
|
+
* 该当前位置用户混入的流类型:0为混入音视频,1为只混入视频,2为只混入音频。默认为0,建议配合指定用户ID使用。
|
|
3730
|
+
*/
|
|
3731
|
+
MixInputType?: number;
|
|
3732
|
+
/**
|
|
3733
|
+
* 占位图ID。启用占位图功能时,在当前位置的用户没有上行视频时显示占位图。占位图大小不能超过2M,在实时音视频控制台上传并生成,https://cloud.tencent.com/document/product/647/50769
|
|
3734
|
+
*/
|
|
3735
|
+
PlaceImageId?: number;
|
|
3736
|
+
}
|
|
3599
3737
|
/**
|
|
3600
3738
|
* StartAITranscription请求参数结构体
|
|
3601
3739
|
*/
|
|
@@ -4082,17 +4220,29 @@ export interface DismissRoomByStrRoomIdRequest {
|
|
|
4082
4220
|
RoomId: string;
|
|
4083
4221
|
}
|
|
4084
4222
|
/**
|
|
4085
|
-
*
|
|
4223
|
+
* DescribeTRTCAIRecognitionUsage请求参数结构体
|
|
4086
4224
|
*/
|
|
4087
|
-
export interface
|
|
4225
|
+
export interface DescribeTRTCAIRecognitionUsageRequest {
|
|
4088
4226
|
/**
|
|
4089
|
-
*
|
|
4227
|
+
* 查询开始时间,格式为YYYY-MM-DD HH:mm:ss。
|
|
4090
4228
|
*/
|
|
4091
|
-
|
|
4229
|
+
StartTime: string;
|
|
4092
4230
|
/**
|
|
4093
|
-
*
|
|
4231
|
+
* 查询结束时间,格式为YYYY-MM-DD HH:mm:ss。单次查询统计区间最多不能超过31天。
|
|
4094
4232
|
*/
|
|
4095
|
-
|
|
4233
|
+
EndTime: string;
|
|
4234
|
+
/**
|
|
4235
|
+
* 用量类型列表。
|
|
4236
|
+
- conversation AI 实时对话
|
|
4237
|
+
- asr 语音转文本
|
|
4238
|
+
- translation 实时翻译
|
|
4239
|
+
- tts 实时语音合成
|
|
4240
|
+
*/
|
|
4241
|
+
AuType: Array<string>;
|
|
4242
|
+
/**
|
|
4243
|
+
* 应用ID,可不传。传应用ID时返回的是该应用的用量,不传时返回多个应用的合计值。
|
|
4244
|
+
*/
|
|
4245
|
+
SdkAppId?: string;
|
|
4096
4246
|
}
|
|
4097
4247
|
/**
|
|
4098
4248
|
* CreateCloudSliceTask返回参数结构体
|
|
@@ -4256,29 +4406,25 @@ export interface VideoParams {
|
|
|
4256
4406
|
Gop: number;
|
|
4257
4407
|
}
|
|
4258
4408
|
/**
|
|
4259
|
-
*
|
|
4409
|
+
* DescribeTRTCSegmentModerationUsage返回参数结构体
|
|
4260
4410
|
*/
|
|
4261
|
-
export interface
|
|
4411
|
+
export interface DescribeTRTCSegmentModerationUsageResponse {
|
|
4262
4412
|
/**
|
|
4263
|
-
*
|
|
4413
|
+
* 用量指标名列表
|
|
4264
4414
|
*/
|
|
4265
|
-
|
|
4415
|
+
UsageKey?: Array<string>;
|
|
4266
4416
|
/**
|
|
4267
|
-
*
|
|
4417
|
+
* 用量明细列表
|
|
4268
4418
|
*/
|
|
4269
|
-
|
|
4419
|
+
UsageList?: Array<UsageList>;
|
|
4270
4420
|
/**
|
|
4271
|
-
*
|
|
4421
|
+
* 汇总用量列表
|
|
4272
4422
|
*/
|
|
4273
|
-
|
|
4274
|
-
/**
|
|
4275
|
-
* 音频名称,长度不要超过32
|
|
4276
|
-
*/
|
|
4277
|
-
AudioName: string;
|
|
4423
|
+
TotalUsage?: Array<number | bigint>;
|
|
4278
4424
|
/**
|
|
4279
|
-
*
|
|
4425
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4280
4426
|
*/
|
|
4281
|
-
|
|
4427
|
+
RequestId?: string;
|
|
4282
4428
|
}
|
|
4283
4429
|
/**
|
|
4284
4430
|
* DescribePicture返回参数结构体
|
|
@@ -4498,6 +4644,19 @@ export interface DismissRoomByStrRoomIdResponse {
|
|
|
4498
4644
|
*/
|
|
4499
4645
|
RequestId?: string;
|
|
4500
4646
|
}
|
|
4647
|
+
/**
|
|
4648
|
+
* StopPublishCdnStream返回参数结构体
|
|
4649
|
+
*/
|
|
4650
|
+
export interface StopPublishCdnStreamResponse {
|
|
4651
|
+
/**
|
|
4652
|
+
* 转推任务唯一的String Id
|
|
4653
|
+
*/
|
|
4654
|
+
TaskId?: string;
|
|
4655
|
+
/**
|
|
4656
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4657
|
+
*/
|
|
4658
|
+
RequestId?: string;
|
|
4659
|
+
}
|
|
4501
4660
|
/**
|
|
4502
4661
|
* DescribeUnusualEvent返回参数结构体
|
|
4503
4662
|
*/
|
|
@@ -4800,13 +4959,21 @@ export interface SliceStorageParams {
|
|
|
4800
4959
|
CloudSliceStorage?: CloudSliceStorage;
|
|
4801
4960
|
}
|
|
4802
4961
|
/**
|
|
4803
|
-
*
|
|
4962
|
+
* DescribeTRTCDedicatedCloudAccUsage请求参数结构体
|
|
4804
4963
|
*/
|
|
4805
|
-
export interface
|
|
4964
|
+
export interface DescribeTRTCDedicatedCloudAccUsageRequest {
|
|
4806
4965
|
/**
|
|
4807
|
-
*
|
|
4966
|
+
* 查询开始时间,格式为YYYY-MM-DD HH:mm:ss。
|
|
4808
4967
|
*/
|
|
4809
|
-
|
|
4968
|
+
StartTime: string;
|
|
4969
|
+
/**
|
|
4970
|
+
* 查询结束时间,格式为YYYY-MM-DD HH:mm:ss。单次查询统计区间最多不能超过31天。
|
|
4971
|
+
*/
|
|
4972
|
+
EndTime: string;
|
|
4973
|
+
/**
|
|
4974
|
+
* 应用ID,可不传。传应用ID时返回的是该应用的用量,不传时返回多个应用的合计值。
|
|
4975
|
+
*/
|
|
4976
|
+
SdkAppId?: number;
|
|
4810
4977
|
}
|
|
4811
4978
|
/**
|
|
4812
4979
|
* 审核存储参数
|
|
@@ -5414,49 +5581,25 @@ export interface McuAudioParams {
|
|
|
5414
5581
|
UnSubscribeAudioList?: Array<McuUserInfoParams>;
|
|
5415
5582
|
}
|
|
5416
5583
|
/**
|
|
5417
|
-
*
|
|
5584
|
+
* DescribeTRTCDedicatedCloudAccUsage返回参数结构体
|
|
5418
5585
|
*/
|
|
5419
|
-
export interface
|
|
5420
|
-
/**
|
|
5421
|
-
* 指定显示在该画面上的用户ID。如果不指定用户ID,会按照用户加入房间的顺序自动匹配PresetLayoutConfig中的画面设置。
|
|
5422
|
-
*/
|
|
5423
|
-
UserId?: string;
|
|
5424
|
-
/**
|
|
5425
|
-
* 当该画面指定用户时,代表用户的流类型。0为摄像头,1为屏幕分享。小画面为web用户时此值填0。
|
|
5426
|
-
*/
|
|
5427
|
-
StreamType?: number;
|
|
5586
|
+
export interface DescribeTRTCDedicatedCloudAccUsageResponse {
|
|
5428
5587
|
/**
|
|
5429
|
-
*
|
|
5430
|
-
*/
|
|
5431
|
-
ImageWidth?: number;
|
|
5432
|
-
/**
|
|
5433
|
-
* 该画面在输出时的高度,单位为像素值,不填默认为0。
|
|
5434
|
-
*/
|
|
5435
|
-
ImageHeight?: number;
|
|
5436
|
-
/**
|
|
5437
|
-
* 该画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。
|
|
5438
|
-
*/
|
|
5439
|
-
LocationX?: number;
|
|
5440
|
-
/**
|
|
5441
|
-
* 该画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。
|
|
5588
|
+
* 用量指标名列表
|
|
5442
5589
|
*/
|
|
5443
|
-
|
|
5590
|
+
UsageKey?: Array<string>;
|
|
5444
5591
|
/**
|
|
5445
|
-
*
|
|
5592
|
+
* 用量明细列表
|
|
5446
5593
|
*/
|
|
5447
|
-
|
|
5594
|
+
UsageList?: Array<UsageList>;
|
|
5448
5595
|
/**
|
|
5449
|
-
*
|
|
5596
|
+
* 汇总用量列表
|
|
5450
5597
|
*/
|
|
5451
|
-
|
|
5598
|
+
TotalUsage?: Array<number | bigint>;
|
|
5452
5599
|
/**
|
|
5453
|
-
*
|
|
5454
|
-
*/
|
|
5455
|
-
MixInputType?: number;
|
|
5456
|
-
/**
|
|
5457
|
-
* 占位图ID。启用占位图功能时,在当前位置的用户没有上行视频时显示占位图。占位图大小不能超过2M,在实时音视频控制台上传并生成,https://cloud.tencent.com/document/product/647/50769
|
|
5600
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5458
5601
|
*/
|
|
5459
|
-
|
|
5602
|
+
RequestId?: string;
|
|
5460
5603
|
}
|
|
5461
5604
|
/**
|
|
5462
5605
|
* 转推参数。
|
|
@@ -5473,17 +5616,17 @@ export interface McuPublishCdnParam {
|
|
|
5473
5616
|
IsTencentCdn?: number;
|
|
5474
5617
|
}
|
|
5475
5618
|
/**
|
|
5476
|
-
*
|
|
5619
|
+
* DescribeCloudTranscription请求参数结构体
|
|
5477
5620
|
*/
|
|
5478
|
-
export interface
|
|
5621
|
+
export interface DescribeCloudTranscriptionRequest {
|
|
5479
5622
|
/**
|
|
5480
|
-
*
|
|
5623
|
+
* TRTC的SDKAppId,和转录的房间所对应的SDKAppId相同。
|
|
5481
5624
|
*/
|
|
5482
|
-
|
|
5625
|
+
SdkAppId: number;
|
|
5483
5626
|
/**
|
|
5484
|
-
*
|
|
5627
|
+
* 转录任务的唯一Id,在启动转录成功后会返回。
|
|
5485
5628
|
*/
|
|
5486
|
-
|
|
5629
|
+
TaskId: string;
|
|
5487
5630
|
}
|
|
5488
5631
|
/**
|
|
5489
5632
|
* 录制音频转码参数。
|