tencentcloud-sdk-nodejs-trtc 4.1.272 → 4.1.278
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.
|
@@ -6,6 +6,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
6
6
|
async CreateCloudModeration(req, cb) {
|
|
7
7
|
return this.request("CreateCloudModeration", req, cb);
|
|
8
8
|
}
|
|
9
|
+
async DescribeTRTCRealTimeQualityData(req, cb) {
|
|
10
|
+
return this.request("DescribeTRTCRealTimeQualityData", req, cb);
|
|
11
|
+
}
|
|
9
12
|
async StopWebRecord(req, cb) {
|
|
10
13
|
return this.request("StopWebRecord", req, cb);
|
|
11
14
|
}
|
|
@@ -21,6 +24,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
21
24
|
async DescribeRoomInfo(req, cb) {
|
|
22
25
|
return this.request("DescribeRoomInfo", req, cb);
|
|
23
26
|
}
|
|
27
|
+
async ModifyPicture(req, cb) {
|
|
28
|
+
return this.request("ModifyPicture", req, cb);
|
|
29
|
+
}
|
|
24
30
|
async DescribeWebRecord(req, cb) {
|
|
25
31
|
return this.request("DescribeWebRecord", req, cb);
|
|
26
32
|
}
|
|
@@ -42,11 +48,11 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
42
48
|
async StopMCUMixTranscodeByStrRoomId(req, cb) {
|
|
43
49
|
return this.request("StopMCUMixTranscodeByStrRoomId", req, cb);
|
|
44
50
|
}
|
|
45
|
-
async
|
|
46
|
-
return this.request("
|
|
51
|
+
async DescribeTRTCRealTimeScaleData(req, cb) {
|
|
52
|
+
return this.request("DescribeTRTCRealTimeScaleData", req, cb);
|
|
47
53
|
}
|
|
48
|
-
async
|
|
49
|
-
return this.request("
|
|
54
|
+
async DescribeAIConversation(req, cb) {
|
|
55
|
+
return this.request("DescribeAIConversation", req, cb);
|
|
50
56
|
}
|
|
51
57
|
async StartMCUMixTranscodeByStrRoomId(req, cb) {
|
|
52
58
|
return this.request("StartMCUMixTranscodeByStrRoomId", req, cb);
|
|
@@ -57,6 +63,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
57
63
|
async StartStreamIngest(req, cb) {
|
|
58
64
|
return this.request("StartStreamIngest", req, cb);
|
|
59
65
|
}
|
|
66
|
+
async StartAIConversation(req, cb) {
|
|
67
|
+
return this.request("StartAIConversation", req, cb);
|
|
68
|
+
}
|
|
60
69
|
async RemoveUserByStrRoomId(req, cb) {
|
|
61
70
|
return this.request("RemoveUserByStrRoomId", req, cb);
|
|
62
71
|
}
|
|
@@ -66,8 +75,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
66
75
|
async CreatePicture(req, cb) {
|
|
67
76
|
return this.request("CreatePicture", req, cb);
|
|
68
77
|
}
|
|
69
|
-
async
|
|
70
|
-
return this.request("
|
|
78
|
+
async CreateLiveStreamModeration(req, cb) {
|
|
79
|
+
return this.request("CreateLiveStreamModeration", req, cb);
|
|
71
80
|
}
|
|
72
81
|
async DescribeTRTCSegmentModerationUsage(req, cb) {
|
|
73
82
|
return this.request("DescribeTRTCSegmentModerationUsage", req, cb);
|
|
@@ -81,6 +90,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
81
90
|
async DeleteBasicModeration(req, cb) {
|
|
82
91
|
return this.request("DeleteBasicModeration", req, cb);
|
|
83
92
|
}
|
|
93
|
+
async DescribeLiveStreamModeration(req, cb) {
|
|
94
|
+
return this.request("DescribeLiveStreamModeration", req, cb);
|
|
95
|
+
}
|
|
84
96
|
async ModifyCloudRecording(req, cb) {
|
|
85
97
|
return this.request("ModifyCloudRecording", req, cb);
|
|
86
98
|
}
|
|
@@ -129,8 +141,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
129
141
|
async DescribeCloudTranscription(req, cb) {
|
|
130
142
|
return this.request("DescribeCloudTranscription", req, cb);
|
|
131
143
|
}
|
|
132
|
-
async
|
|
133
|
-
return this.request("
|
|
144
|
+
async DeleteLiveStreamModeration(req, cb) {
|
|
145
|
+
return this.request("DeleteLiveStreamModeration", req, cb);
|
|
134
146
|
}
|
|
135
147
|
async DescribeUserInfo(req, cb) {
|
|
136
148
|
return this.request("DescribeUserInfo", req, cb);
|
|
@@ -180,8 +192,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
180
192
|
async DescribeCloudRecording(req, cb) {
|
|
181
193
|
return this.request("DescribeCloudRecording", req, cb);
|
|
182
194
|
}
|
|
183
|
-
async
|
|
184
|
-
return this.request("
|
|
195
|
+
async DescribeRelayUsage(req, cb) {
|
|
196
|
+
return this.request("DescribeRelayUsage", req, cb);
|
|
185
197
|
}
|
|
186
198
|
async DescribeAITranscription(req, cb) {
|
|
187
199
|
return this.request("DescribeAITranscription", req, cb);
|
|
@@ -189,8 +201,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
189
201
|
async UpdatePublishCdnStream(req, cb) {
|
|
190
202
|
return this.request("UpdatePublishCdnStream", req, cb);
|
|
191
203
|
}
|
|
192
|
-
async
|
|
193
|
-
return this.request("
|
|
204
|
+
async DeleteVoicePrint(req, cb) {
|
|
205
|
+
return this.request("DeleteVoicePrint", req, cb);
|
|
194
206
|
}
|
|
195
207
|
async CreateCloudSliceTask(req, cb) {
|
|
196
208
|
return this.request("CreateCloudSliceTask", req, cb);
|
|
@@ -207,9 +219,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
207
219
|
async DescribeCloudModeration(req, cb) {
|
|
208
220
|
return this.request("DescribeCloudModeration", req, cb);
|
|
209
221
|
}
|
|
210
|
-
async DescribeAIConversation(req, cb) {
|
|
211
|
-
return this.request("DescribeAIConversation", req, cb);
|
|
212
|
-
}
|
|
213
222
|
async DescribeTRTCMarketQualityData(req, cb) {
|
|
214
223
|
return this.request("DescribeTRTCMarketQualityData", req, cb);
|
|
215
224
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeAsyncTextToSpeechRequest, ModifyCloudSliceTaskResponse, DescribeCloudModerationResponse, StartStreamIngestResponse, CreatePictureRequest, DescribeTRTCRealTimeScaleDataRequest, StartAIConversationResponse, DescribeTRTCMarketScaleDataRequest, VoiceCloneRequest, DescribeUserEventRequest, DeleteCloudModerationRequest, CreateCloudSliceTaskRequest, AsyncTextToSpeechRequest, DescribeTrtcRoomUsageResponse, RegisterVoicePrintRequest, DeleteCloudSliceTaskRequest, ControlAIConversationResponse,
|
|
2
|
+
import { DescribeAsyncTextToSpeechRequest, ModifyCloudSliceTaskResponse, DescribeCloudModerationResponse, StartStreamIngestResponse, CreatePictureRequest, DescribeTRTCRealTimeScaleDataRequest, StartAIConversationResponse, DescribeTRTCMarketScaleDataRequest, VoiceCloneRequest, DescribeUserEventRequest, DeleteCloudModerationRequest, CreateLiveStreamModerationRequest, CreateCloudSliceTaskRequest, AsyncTextToSpeechRequest, DescribeTrtcRoomUsageResponse, RegisterVoicePrintRequest, DeleteCloudSliceTaskRequest, ControlAIConversationResponse, StopAIConversationRequest, UpdateAIConversationResponse, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, CreateCloudModerationResponse, DescribeTRTCSegmentModerationUsageRequest, DescribeTRTCMarketScaleDataResponse, RegisterVoicePrintResponse, ModifyPictureRequest, DescribeWebRecordResponse, DescribeCloudTranscriptionResponse, DescribeUserInfoRequest, DeleteCloudModerationResponse, DescribeRelayUsageRequest, DismissRoomResponse, DescribeRecordStatisticResponse, DescribeLiveStreamModerationResponse, DeleteVoicePrintRequest, DescribeAsyncTextToSpeechResponse, DescribeTrtcUsageResponse, StopAITranscriptionRequest, 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, DeleteLiveStreamModerationResponse, StartMCUMixTranscodeByStrRoomIdResponse, DeleteCloudSliceTaskResponse, DescribeTRTCMarketScaleMetricDataRequest, DescribeRelayUsageResponse, StartStreamIngestRequest, UpdateVoicePrintResponse, TextToSpeechSSEResponse, DescribeRecordingUsageResponse, DescribeRecordingUsageRequest, ModifyPictureResponse, DescribeScaleInfoResponse, ModifyCloudSliceTaskRequest, StopMCUMixTranscodeResponse, DescribeMixTranscodingUsageResponse, RemoveUserRequest, DismissRoomRequest, DeleteLiveStreamModerationRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, DeleteVoicePrintResponse, StartWebRecordResponse, DescribeCloudRecordingResponse, ModifyCloudModerationRequest, CreateCloudRecordingRequest, DeleteBasicModerationRequest, DeleteCloudRecordingResponse, StartAITranscriptionRequest, StopMCUMixTranscodeByStrRoomIdRequest, StartAIConversationRequest, DeletePictureResponse, ModifyCloudRecordingRequest, StopAIConversationResponse, CreateLiveStreamModerationResponse, DescribeAIConversationRequest, DismissRoomByStrRoomIdRequest, DescribeTRTCAIRecognitionUsageRequest, CreateCloudSliceTaskResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, ModifyCloudModerationResponse, DescribeLiveStreamModerationRequest, 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, StartPublishCdnStreamRequest, 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
|
|
@@ -12,6 +12,15 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
12
12
|
●指定存储参数(ModerationStorageParams)将命中的切片文件指定上传到您希望的云存储,目前支持腾讯云(对象存储COS)以及第三方AWS(S3)和阿里云(OSS)
|
|
13
13
|
*/
|
|
14
14
|
CreateCloudModeration(req: CreateCloudModerationRequest, cb?: (error: string, rep: CreateCloudModerationResponse) => void): Promise<CreateCloudModerationResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* 查询TRTC监控仪表盘-实时监控质量指标(会返回下列指标)
|
|
17
|
+
-视频卡顿率
|
|
18
|
+
-音频卡顿率
|
|
19
|
+
注意:
|
|
20
|
+
1.调用接口需开通监控仪表盘【基础版】和【进阶版】,监控仪表盘【免费版】不支持调用,详情参考[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)。
|
|
21
|
+
2.查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时。
|
|
22
|
+
*/
|
|
23
|
+
DescribeTRTCRealTimeQualityData(req: DescribeTRTCRealTimeQualityDataRequest, cb?: (error: string, rep: DescribeTRTCRealTimeQualityDataResponse) => void): Promise<DescribeTRTCRealTimeQualityDataResponse>;
|
|
15
24
|
/**
|
|
16
25
|
* 停止页面录制任务
|
|
17
26
|
*/
|
|
@@ -43,6 +52,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
43
52
|
方式二:通过订阅[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)商业套餐包「基础版」(可查近7天)和「进阶版」(可查近14天),[前往订阅](https://buy.cloud.tencent.com/trtc_monitor)。
|
|
44
53
|
*/
|
|
45
54
|
DescribeRoomInfo(req: DescribeRoomInfoRequest, cb?: (error: string, rep: DescribeRoomInfoResponse) => void): Promise<DescribeRoomInfoResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁修改自定义背景图或水印素材,可通过此接口修改已上传的图片。无需频繁修改图片素材的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
|
57
|
+
*/
|
|
58
|
+
ModifyPicture(req: ModifyPictureRequest, cb?: (error: string, rep: ModifyPictureResponse) => void): Promise<ModifyPictureResponse>;
|
|
46
59
|
/**
|
|
47
60
|
* 查询页面录制任务
|
|
48
61
|
*/
|
|
@@ -99,15 +112,18 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
99
112
|
*/
|
|
100
113
|
StopMCUMixTranscodeByStrRoomId(req: StopMCUMixTranscodeByStrRoomIdRequest, cb?: (error: string, rep: StopMCUMixTranscodeByStrRoomIdResponse) => void): Promise<StopMCUMixTranscodeByStrRoomIdResponse>;
|
|
101
114
|
/**
|
|
102
|
-
*
|
|
103
|
-
|
|
104
|
-
|
|
115
|
+
* 查询TRTC监控仪表盘-实时监控规模指标(会返回下列指标)
|
|
116
|
+
-userCount(在线用户数)
|
|
117
|
+
-roomCount(在线房间数)
|
|
118
|
+
注意:
|
|
119
|
+
1.调用接口需开通监控仪表盘【基础版】和【进阶版】,监控仪表盘【免费版】不支持调用,详情参考[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)。
|
|
120
|
+
2.查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时。
|
|
105
121
|
*/
|
|
106
|
-
|
|
122
|
+
DescribeTRTCRealTimeScaleData(req: DescribeTRTCRealTimeScaleDataRequest, cb?: (error: string, rep: DescribeTRTCRealTimeScaleDataResponse) => void): Promise<DescribeTRTCRealTimeScaleDataResponse>;
|
|
107
123
|
/**
|
|
108
|
-
*
|
|
124
|
+
* 查询AI对话任务状态。
|
|
109
125
|
*/
|
|
110
|
-
|
|
126
|
+
DescribeAIConversation(req: DescribeAIConversationRequest, cb?: (error: string, rep: DescribeAIConversationResponse) => void): Promise<DescribeAIConversationResponse>;
|
|
111
127
|
/**
|
|
112
128
|
* 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
|
|
113
129
|
|
|
@@ -141,6 +157,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
141
157
|
使用输入在线媒体流功能需先订阅 [尊享版或旗舰版套餐包](https://cloud.tencent.com/document/product/647/85386) 解锁能力位。
|
|
142
158
|
*/
|
|
143
159
|
StartStreamIngest(req: StartStreamIngestRequest, cb?: (error: string, rep: StartStreamIngestResponse) => void): Promise<StartStreamIngestResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* 启动AI对话任务,AI通道机器人进入TRTC房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景
|
|
162
|
+
|
|
163
|
+
TRTC AI对话功能内置语音转文本能力,同时提供通道服务,即客户可灵活指定第三方AI模型(LLM)服务和文本转音频(TTS)服务,更多[功能说明](https://cloud.tencent.com/document/product/647/108901)。
|
|
164
|
+
*/
|
|
165
|
+
StartAIConversation(req: StartAIConversationRequest, cb?: (error: string, rep: StartAIConversationResponse) => void): Promise<StartAIConversationResponse>;
|
|
144
166
|
/**
|
|
145
167
|
* 接口说明:将用户从房间移出,适用于主播/房主/管理员踢人等场景。支持所有平台,Android、iOS、Windows 和 macOS 需升级到 TRTC SDK 6.6及以上版本。
|
|
146
168
|
*/
|
|
@@ -154,14 +176,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
154
176
|
*/
|
|
155
177
|
CreatePicture(req: CreatePictureRequest, cb?: (error: string, rep: CreatePictureResponse) => void): Promise<CreatePictureResponse>;
|
|
156
178
|
/**
|
|
157
|
-
*
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
注意:
|
|
161
|
-
1.调用接口需开通监控仪表盘【基础版】和【进阶版】,监控仪表盘【免费版】不支持调用,详情参考[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)。
|
|
162
|
-
2.查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时。
|
|
179
|
+
* 启动一路直播流审核。服务端异步拉流、定频截帧、音频切片、送审,通过回调返回结果。一次一个任务(一路流)。您可以通过此接口实现如下目标:
|
|
180
|
+
●指定内容参数(LiveModerationParams)来指定内容理解需要的详细参数。
|
|
181
|
+
●指定存储参数(LiveModerationStorageParams)将命中的切片文件指定上传到您希望的云存储,目前支持腾讯云(对象存储COS)以及第三方AWS(S3)和阿里云(OSS)
|
|
163
182
|
*/
|
|
164
|
-
|
|
183
|
+
CreateLiveStreamModeration(req: CreateLiveStreamModerationRequest, cb?: (error: string, rep: CreateLiveStreamModerationResponse) => void): Promise<CreateLiveStreamModerationResponse>;
|
|
165
184
|
/**
|
|
166
185
|
* 切片截图与内容理解用量查询,支持查询音视频切片(云端切片场景)和 AI 内容理解(审核场景)两种业务类型
|
|
167
186
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -181,6 +200,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
181
200
|
* 成功开启审核任务后,可以使用此接口来停止任务。
|
|
182
201
|
*/
|
|
183
202
|
DeleteBasicModeration(req: DeleteBasicModerationRequest, cb?: (error: string, rep: DeleteBasicModerationResponse) => void): Promise<DeleteBasicModerationResponse>;
|
|
203
|
+
/**
|
|
204
|
+
* 成功开启直播流AI 内容理解任务后,可以使用此接口来查询AI 内容理解任务状态,仅在任务进行时有效,任务退出后查询将会返回错误。
|
|
205
|
+
*/
|
|
206
|
+
DescribeLiveStreamModeration(req: DescribeLiveStreamModerationRequest, cb?: (error: string, rep: DescribeLiveStreamModerationResponse) => void): Promise<DescribeLiveStreamModerationResponse>;
|
|
184
207
|
/**
|
|
185
208
|
* 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
|
|
186
209
|
*/
|
|
@@ -296,14 +319,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
296
319
|
*/
|
|
297
320
|
DescribeCloudTranscription(req: DescribeCloudTranscriptionRequest, cb?: (error: string, rep: DescribeCloudTranscriptionResponse) => void): Promise<DescribeCloudTranscriptionResponse>;
|
|
298
321
|
/**
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
303
|
-
- 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
|
304
|
-
- 默认接口请求频率限制:5次/秒。
|
|
305
|
-
*/
|
|
306
|
-
DescribeRelayUsage(req: DescribeRelayUsageRequest, cb?: (error: string, rep: DescribeRelayUsageResponse) => void): Promise<DescribeRelayUsageResponse>;
|
|
322
|
+
* 成功开启直播流AI 内容理解任务后,可以使用此接口来停止进行内容识别。
|
|
323
|
+
*/
|
|
324
|
+
DeleteLiveStreamModeration(req: DeleteLiveStreamModerationRequest, cb?: (error: string, rep: DeleteLiveStreamModerationResponse) => void): Promise<DeleteLiveStreamModerationResponse>;
|
|
307
325
|
/**
|
|
308
326
|
* 查询指定时间内的用户列表,最大可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。(同老接口DescribeUserInformation)
|
|
309
327
|
**注意**:
|
|
@@ -398,9 +416,14 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
398
416
|
*/
|
|
399
417
|
DescribeCloudRecording(req: DescribeCloudRecordingRequest, cb?: (error: string, rep: DescribeCloudRecordingResponse) => void): Promise<DescribeCloudRecordingResponse>;
|
|
400
418
|
/**
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
419
|
+
* 获取TRTC旁路转推的用量明细。
|
|
420
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
421
|
+
- 单次查询统计区间最多不能超过31天。
|
|
422
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
423
|
+
- 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
|
424
|
+
- 默认接口请求频率限制:5次/秒。
|
|
425
|
+
*/
|
|
426
|
+
DescribeRelayUsage(req: DescribeRelayUsageRequest, cb?: (error: string, rep: DescribeRelayUsageResponse) => void): Promise<DescribeRelayUsageResponse>;
|
|
404
427
|
/**
|
|
405
428
|
* 查询AI转录任务状态。
|
|
406
429
|
*/
|
|
@@ -412,14 +435,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
412
435
|
*/
|
|
413
436
|
UpdatePublishCdnStream(req: UpdatePublishCdnStreamRequest, cb?: (error: string, rep: UpdatePublishCdnStreamResponse) => void): Promise<UpdatePublishCdnStreamResponse>;
|
|
414
437
|
/**
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
注意:
|
|
419
|
-
1.调用接口需开通监控仪表盘【基础版】和【进阶版】,监控仪表盘【免费版】不支持调用,详情参考[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)。
|
|
420
|
-
2.查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时。
|
|
421
|
-
*/
|
|
422
|
-
DescribeTRTCRealTimeQualityData(req: DescribeTRTCRealTimeQualityDataRequest, cb?: (error: string, rep: DescribeTRTCRealTimeQualityDataResponse) => void): Promise<DescribeTRTCRealTimeQualityDataResponse>;
|
|
438
|
+
* 传入声纹ID,删除之前注册的声纹信息
|
|
439
|
+
*/
|
|
440
|
+
DeleteVoicePrint(req: DeleteVoicePrintRequest, cb?: (error: string, rep: DeleteVoicePrintResponse) => void): Promise<DeleteVoicePrintResponse>;
|
|
423
441
|
/**
|
|
424
442
|
* 接口说明:
|
|
425
443
|
启动云端切片功能,完成房间内的音视频切片,并上传到指定的云存储。
|
|
@@ -445,10 +463,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
445
463
|
* 成功开启AI 内容理解任务后,可以使用此接口来查询AI 内容理解任务状态和订阅的黑白名单信息。仅在任务进行时有效,任务退出后查询将会返回错误。
|
|
446
464
|
*/
|
|
447
465
|
DescribeCloudModeration(req: DescribeCloudModerationRequest, cb?: (error: string, rep: DescribeCloudModerationResponse) => void): Promise<DescribeCloudModerationResponse>;
|
|
448
|
-
/**
|
|
449
|
-
* 查询AI对话任务状态。
|
|
450
|
-
*/
|
|
451
|
-
DescribeAIConversation(req: DescribeAIConversationRequest, cb?: (error: string, rep: DescribeAIConversationResponse) => void): Promise<DescribeAIConversationResponse>;
|
|
452
466
|
/**
|
|
453
467
|
* 查询TRTC监控仪表盘-数据大盘质量指标(包括下列指标)
|
|
454
468
|
joinSuccessRate:加入频道成功率。
|
|
@@ -36,6 +36,17 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
36
36
|
async CreateCloudModeration(req, cb) {
|
|
37
37
|
return this.request("CreateCloudModeration", req, cb);
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* 查询TRTC监控仪表盘-实时监控质量指标(会返回下列指标)
|
|
41
|
+
-视频卡顿率
|
|
42
|
+
-音频卡顿率
|
|
43
|
+
注意:
|
|
44
|
+
1.调用接口需开通监控仪表盘【基础版】和【进阶版】,监控仪表盘【免费版】不支持调用,详情参考[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)。
|
|
45
|
+
2.查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时。
|
|
46
|
+
*/
|
|
47
|
+
async DescribeTRTCRealTimeQualityData(req, cb) {
|
|
48
|
+
return this.request("DescribeTRTCRealTimeQualityData", req, cb);
|
|
49
|
+
}
|
|
39
50
|
/**
|
|
40
51
|
* 停止页面录制任务
|
|
41
52
|
*/
|
|
@@ -77,6 +88,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
77
88
|
async DescribeRoomInfo(req, cb) {
|
|
78
89
|
return this.request("DescribeRoomInfo", req, cb);
|
|
79
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁修改自定义背景图或水印素材,可通过此接口修改已上传的图片。无需频繁修改图片素材的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
|
93
|
+
*/
|
|
94
|
+
async ModifyPicture(req, cb) {
|
|
95
|
+
return this.request("ModifyPicture", req, cb);
|
|
96
|
+
}
|
|
80
97
|
/**
|
|
81
98
|
* 查询页面录制任务
|
|
82
99
|
*/
|
|
@@ -147,18 +164,21 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
147
164
|
return this.request("StopMCUMixTranscodeByStrRoomId", req, cb);
|
|
148
165
|
}
|
|
149
166
|
/**
|
|
150
|
-
*
|
|
151
|
-
|
|
152
|
-
|
|
167
|
+
* 查询TRTC监控仪表盘-实时监控规模指标(会返回下列指标)
|
|
168
|
+
-userCount(在线用户数)
|
|
169
|
+
-roomCount(在线房间数)
|
|
170
|
+
注意:
|
|
171
|
+
1.调用接口需开通监控仪表盘【基础版】和【进阶版】,监控仪表盘【免费版】不支持调用,详情参考[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)。
|
|
172
|
+
2.查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时。
|
|
153
173
|
*/
|
|
154
|
-
async
|
|
155
|
-
return this.request("
|
|
174
|
+
async DescribeTRTCRealTimeScaleData(req, cb) {
|
|
175
|
+
return this.request("DescribeTRTCRealTimeScaleData", req, cb);
|
|
156
176
|
}
|
|
157
177
|
/**
|
|
158
|
-
*
|
|
178
|
+
* 查询AI对话任务状态。
|
|
159
179
|
*/
|
|
160
|
-
async
|
|
161
|
-
return this.request("
|
|
180
|
+
async DescribeAIConversation(req, cb) {
|
|
181
|
+
return this.request("DescribeAIConversation", req, cb);
|
|
162
182
|
}
|
|
163
183
|
/**
|
|
164
184
|
* 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
|
|
@@ -199,6 +219,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
199
219
|
async StartStreamIngest(req, cb) {
|
|
200
220
|
return this.request("StartStreamIngest", req, cb);
|
|
201
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* 启动AI对话任务,AI通道机器人进入TRTC房间,与房间内指定的成员进行AI对话,适用于智能客服,AI口语教师等场景
|
|
224
|
+
|
|
225
|
+
TRTC AI对话功能内置语音转文本能力,同时提供通道服务,即客户可灵活指定第三方AI模型(LLM)服务和文本转音频(TTS)服务,更多[功能说明](https://cloud.tencent.com/document/product/647/108901)。
|
|
226
|
+
*/
|
|
227
|
+
async StartAIConversation(req, cb) {
|
|
228
|
+
return this.request("StartAIConversation", req, cb);
|
|
229
|
+
}
|
|
202
230
|
/**
|
|
203
231
|
* 接口说明:将用户从房间移出,适用于主播/房主/管理员踢人等场景。支持所有平台,Android、iOS、Windows 和 macOS 需升级到 TRTC SDK 6.6及以上版本。
|
|
204
232
|
*/
|
|
@@ -218,15 +246,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
218
246
|
return this.request("CreatePicture", req, cb);
|
|
219
247
|
}
|
|
220
248
|
/**
|
|
221
|
-
*
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
注意:
|
|
225
|
-
1.调用接口需开通监控仪表盘【基础版】和【进阶版】,监控仪表盘【免费版】不支持调用,详情参考[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)。
|
|
226
|
-
2.查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时。
|
|
249
|
+
* 启动一路直播流审核。服务端异步拉流、定频截帧、音频切片、送审,通过回调返回结果。一次一个任务(一路流)。您可以通过此接口实现如下目标:
|
|
250
|
+
●指定内容参数(LiveModerationParams)来指定内容理解需要的详细参数。
|
|
251
|
+
●指定存储参数(LiveModerationStorageParams)将命中的切片文件指定上传到您希望的云存储,目前支持腾讯云(对象存储COS)以及第三方AWS(S3)和阿里云(OSS)
|
|
227
252
|
*/
|
|
228
|
-
async
|
|
229
|
-
return this.request("
|
|
253
|
+
async CreateLiveStreamModeration(req, cb) {
|
|
254
|
+
return this.request("CreateLiveStreamModeration", req, cb);
|
|
230
255
|
}
|
|
231
256
|
/**
|
|
232
257
|
* 切片截图与内容理解用量查询,支持查询音视频切片(云端切片场景)和 AI 内容理解(审核场景)两种业务类型
|
|
@@ -255,6 +280,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
255
280
|
async DeleteBasicModeration(req, cb) {
|
|
256
281
|
return this.request("DeleteBasicModeration", req, cb);
|
|
257
282
|
}
|
|
283
|
+
/**
|
|
284
|
+
* 成功开启直播流AI 内容理解任务后,可以使用此接口来查询AI 内容理解任务状态,仅在任务进行时有效,任务退出后查询将会返回错误。
|
|
285
|
+
*/
|
|
286
|
+
async DescribeLiveStreamModeration(req, cb) {
|
|
287
|
+
return this.request("DescribeLiveStreamModeration", req, cb);
|
|
288
|
+
}
|
|
258
289
|
/**
|
|
259
290
|
* 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
|
|
260
291
|
*/
|
|
@@ -402,15 +433,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
402
433
|
return this.request("DescribeCloudTranscription", req, cb);
|
|
403
434
|
}
|
|
404
435
|
/**
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
- 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
|
410
|
-
- 默认接口请求频率限制:5次/秒。
|
|
411
|
-
*/
|
|
412
|
-
async DescribeRelayUsage(req, cb) {
|
|
413
|
-
return this.request("DescribeRelayUsage", req, cb);
|
|
436
|
+
* 成功开启直播流AI 内容理解任务后,可以使用此接口来停止进行内容识别。
|
|
437
|
+
*/
|
|
438
|
+
async DeleteLiveStreamModeration(req, cb) {
|
|
439
|
+
return this.request("DeleteLiveStreamModeration", req, cb);
|
|
414
440
|
}
|
|
415
441
|
/**
|
|
416
442
|
* 查询指定时间内的用户列表,最大可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。(同老接口DescribeUserInformation)
|
|
@@ -538,10 +564,15 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
538
564
|
return this.request("DescribeCloudRecording", req, cb);
|
|
539
565
|
}
|
|
540
566
|
/**
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
567
|
+
* 获取TRTC旁路转推的用量明细。
|
|
568
|
+
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
569
|
+
- 单次查询统计区间最多不能超过31天。
|
|
570
|
+
- 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
|
571
|
+
- 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
|
572
|
+
- 默认接口请求频率限制:5次/秒。
|
|
573
|
+
*/
|
|
574
|
+
async DescribeRelayUsage(req, cb) {
|
|
575
|
+
return this.request("DescribeRelayUsage", req, cb);
|
|
545
576
|
}
|
|
546
577
|
/**
|
|
547
578
|
* 查询AI转录任务状态。
|
|
@@ -558,15 +589,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
558
589
|
return this.request("UpdatePublishCdnStream", req, cb);
|
|
559
590
|
}
|
|
560
591
|
/**
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
1.调用接口需开通监控仪表盘【基础版】和【进阶版】,监控仪表盘【免费版】不支持调用,详情参考[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)。
|
|
566
|
-
2.查询时间范围根据监控仪表盘功能版本而定,基础版可查近3小时,进阶版可查近12小时。
|
|
567
|
-
*/
|
|
568
|
-
async DescribeTRTCRealTimeQualityData(req, cb) {
|
|
569
|
-
return this.request("DescribeTRTCRealTimeQualityData", req, cb);
|
|
592
|
+
* 传入声纹ID,删除之前注册的声纹信息
|
|
593
|
+
*/
|
|
594
|
+
async DeleteVoicePrint(req, cb) {
|
|
595
|
+
return this.request("DeleteVoicePrint", req, cb);
|
|
570
596
|
}
|
|
571
597
|
/**
|
|
572
598
|
* 接口说明:
|
|
@@ -603,12 +629,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
603
629
|
async DescribeCloudModeration(req, cb) {
|
|
604
630
|
return this.request("DescribeCloudModeration", req, cb);
|
|
605
631
|
}
|
|
606
|
-
/**
|
|
607
|
-
* 查询AI对话任务状态。
|
|
608
|
-
*/
|
|
609
|
-
async DescribeAIConversation(req, cb) {
|
|
610
|
-
return this.request("DescribeAIConversation", req, cb);
|
|
611
|
-
}
|
|
612
632
|
/**
|
|
613
633
|
* 查询TRTC监控仪表盘-数据大盘质量指标(包括下列指标)
|
|
614
634
|
joinSuccessRate:加入频道成功率。
|
|
@@ -147,6 +147,35 @@ export interface TerminologyItem {
|
|
|
147
147
|
*/
|
|
148
148
|
Terminology: Array<TermPair>;
|
|
149
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* 直播流ai内容理解参数
|
|
152
|
+
*/
|
|
153
|
+
export interface LiveModerationParams {
|
|
154
|
+
/**
|
|
155
|
+
* <p>AI 内容理解任务类型</p><p>枚举值:</p><ul><li>1: 音频切片理解</li><li>2: 视频截帧理解</li><li>3: 音视切片+视频截帧理解 </li></ul><p>默认值:3</p>
|
|
156
|
+
*/
|
|
157
|
+
ModerationType?: number;
|
|
158
|
+
/**
|
|
159
|
+
* <p>持续没有上行推流的状态超过MaxIdleTime的时长,自动停止切片。</p><p>取值范围:[30, 1800]</p><p>单位:秒</p><p>默认值:30</p>
|
|
160
|
+
*/
|
|
161
|
+
MaxIdleTime?: number;
|
|
162
|
+
/**
|
|
163
|
+
* <p>视频截帧间隔</p><p>取值范围:[1, 60]</p><p>单位:秒</p><p>默认值:5</p>
|
|
164
|
+
*/
|
|
165
|
+
SliceVideo?: number;
|
|
166
|
+
/**
|
|
167
|
+
* <p>音频切片时长</p><p>取值范围:[5, 60]</p><p>单位:秒</p><p>默认值:15</p>
|
|
168
|
+
*/
|
|
169
|
+
SliceAudio?: number;
|
|
170
|
+
/**
|
|
171
|
+
* <p>是否保存文件</p><p>枚举值:</p><ul><li>0: 0不保存</li><li>1: 1保存所有</li><li>2: 仅命中</li></ul><p>默认值:1</p>
|
|
172
|
+
*/
|
|
173
|
+
SaveModerationFile?: number;
|
|
174
|
+
/**
|
|
175
|
+
* <p>是否回调所有内容理解结果</p><p>枚举值:</p><ul><li>0: 回调所有结果</li><li>1: 仅回调命中结果</li></ul><p>默认值:0</p>
|
|
176
|
+
*/
|
|
177
|
+
CallbackAllResults?: number;
|
|
178
|
+
}
|
|
150
179
|
/**
|
|
151
180
|
* CreatePicture请求参数结构体
|
|
152
181
|
*/
|
|
@@ -735,6 +764,39 @@ export interface DeleteCloudModerationRequest {
|
|
|
735
764
|
*/
|
|
736
765
|
TaskId: string;
|
|
737
766
|
}
|
|
767
|
+
/**
|
|
768
|
+
* CreateLiveStreamModeration请求参数结构体
|
|
769
|
+
*/
|
|
770
|
+
export interface CreateLiveStreamModerationRequest {
|
|
771
|
+
/**
|
|
772
|
+
* <p>TRTC的<a href="https://cloud.tencent.com/document/product/647/46351#sdkappid">SdkAppId</a>。</p>
|
|
773
|
+
*/
|
|
774
|
+
SdkAppId: number;
|
|
775
|
+
/**
|
|
776
|
+
* <p>直播流输入源</p>
|
|
777
|
+
*/
|
|
778
|
+
Input: Input;
|
|
779
|
+
/**
|
|
780
|
+
* <p>直播流ai理解审核参数</p>
|
|
781
|
+
*/
|
|
782
|
+
LiveModerationParams: LiveModerationParams;
|
|
783
|
+
/**
|
|
784
|
+
* <p>业务自定义唯一标识,原样透传到回调</p><p>入参限制:长度限制60字符</p>
|
|
785
|
+
*/
|
|
786
|
+
DataId: string;
|
|
787
|
+
/**
|
|
788
|
+
* <p>额外信息透传结构体(房间/主播/业务自定义),原样回带到回调</p>
|
|
789
|
+
*/
|
|
790
|
+
SourceInfo?: SourceInfo;
|
|
791
|
+
/**
|
|
792
|
+
* <p>直播流ai理解转存文件存储参数</p>
|
|
793
|
+
*/
|
|
794
|
+
LiveModerationStorageParams?: LiveModerationStorageParams;
|
|
795
|
+
/**
|
|
796
|
+
* <p>单路任务最大的生命周期</p><p>取值范围:[1, 72]</p><p>单位:小时</p><p>默认值:48</p>
|
|
797
|
+
*/
|
|
798
|
+
ResourceExpiredHour?: number;
|
|
799
|
+
}
|
|
738
800
|
/**
|
|
739
801
|
* CreateCloudSliceTask请求参数结构体
|
|
740
802
|
*/
|
|
@@ -843,6 +905,26 @@ export interface DescribeTrtcRoomUsageResponse {
|
|
|
843
905
|
*/
|
|
844
906
|
RequestId?: string;
|
|
845
907
|
}
|
|
908
|
+
/**
|
|
909
|
+
* TRTC数据大盘/实时监控 API接口数据出参
|
|
910
|
+
*/
|
|
911
|
+
export interface TRTCDataResp {
|
|
912
|
+
/**
|
|
913
|
+
* StatementID值,监控仪表盘下固定为0。
|
|
914
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
915
|
+
*/
|
|
916
|
+
StatementID: number;
|
|
917
|
+
/**
|
|
918
|
+
* 查询结果数据,以Columns-Values形式返回。
|
|
919
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
920
|
+
*/
|
|
921
|
+
Series: Array<SeriesInfo>;
|
|
922
|
+
/**
|
|
923
|
+
* Total值,监控仪表盘功能下固定为1。
|
|
924
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
925
|
+
*/
|
|
926
|
+
Total: number;
|
|
927
|
+
}
|
|
846
928
|
/**
|
|
847
929
|
* RegisterVoicePrint请求参数结构体
|
|
848
930
|
*/
|
|
@@ -951,11 +1033,11 @@ export interface ControlAIConversationResponse {
|
|
|
951
1033
|
RequestId?: string;
|
|
952
1034
|
}
|
|
953
1035
|
/**
|
|
954
|
-
*
|
|
1036
|
+
* StopAIConversation请求参数结构体
|
|
955
1037
|
*/
|
|
956
|
-
export interface
|
|
1038
|
+
export interface StopAIConversationRequest {
|
|
957
1039
|
/**
|
|
958
|
-
*
|
|
1040
|
+
* 唯一标识任务。
|
|
959
1041
|
*/
|
|
960
1042
|
TaskId: string;
|
|
961
1043
|
}
|
|
@@ -1300,6 +1382,23 @@ export interface RegisterVoicePrintResponse {
|
|
|
1300
1382
|
*/
|
|
1301
1383
|
RequestId?: string;
|
|
1302
1384
|
}
|
|
1385
|
+
/**
|
|
1386
|
+
* 额外信息透传结构体(房间/主播/业务自定义),原样回带到回调
|
|
1387
|
+
*/
|
|
1388
|
+
export interface SourceInfo {
|
|
1389
|
+
/**
|
|
1390
|
+
* <p>直播间 ID(用于结果透传与去重;数字房间号也用 string 传)</p>
|
|
1391
|
+
*/
|
|
1392
|
+
RoomId?: string;
|
|
1393
|
+
/**
|
|
1394
|
+
* <p>房间号类型</p><p>枚举值:</p><ul><li>0: 字符串房间号</li><li>1: 数字房间号</li></ul>
|
|
1395
|
+
*/
|
|
1396
|
+
RoomIdType?: number;
|
|
1397
|
+
/**
|
|
1398
|
+
* <p>主播/被审核方 ID</p>
|
|
1399
|
+
*/
|
|
1400
|
+
UserId?: string;
|
|
1401
|
+
}
|
|
1303
1402
|
/**
|
|
1304
1403
|
* ModifyPicture请求参数结构体
|
|
1305
1404
|
*/
|
|
@@ -1514,6 +1613,23 @@ export interface DescribeRecordStatisticResponse {
|
|
|
1514
1613
|
*/
|
|
1515
1614
|
RequestId?: string;
|
|
1516
1615
|
}
|
|
1616
|
+
/**
|
|
1617
|
+
* DescribeLiveStreamModeration返回参数结构体
|
|
1618
|
+
*/
|
|
1619
|
+
export interface DescribeLiveStreamModerationResponse {
|
|
1620
|
+
/**
|
|
1621
|
+
* <p>AI 内容理解任务的唯一Id,在启动切片任务成功后会返回。</p>
|
|
1622
|
+
*/
|
|
1623
|
+
TaskId?: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* <p>AI内容理解任务的状态信息。Idle:表示当前任务空闲中,InProgress:表示当前任务正在进行中,Exited:表示当前任务正在退出的过程中。</p><p>枚举值:</p><ul><li>InProgress: 进行中</li></ul>
|
|
1626
|
+
*/
|
|
1627
|
+
Status?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1630
|
+
*/
|
|
1631
|
+
RequestId?: string;
|
|
1632
|
+
}
|
|
1517
1633
|
/**
|
|
1518
1634
|
* DeleteVoicePrint请求参数结构体
|
|
1519
1635
|
*/
|
|
@@ -1624,6 +1740,15 @@ export interface DescribeTrtcUsageResponse {
|
|
|
1624
1740
|
*/
|
|
1625
1741
|
RequestId?: string;
|
|
1626
1742
|
}
|
|
1743
|
+
/**
|
|
1744
|
+
* StopAITranscription请求参数结构体
|
|
1745
|
+
*/
|
|
1746
|
+
export interface StopAITranscriptionRequest {
|
|
1747
|
+
/**
|
|
1748
|
+
* 唯一标识转录任务。
|
|
1749
|
+
*/
|
|
1750
|
+
TaskId: string;
|
|
1751
|
+
}
|
|
1627
1752
|
/**
|
|
1628
1753
|
* 返回的质量数据,时间:值
|
|
1629
1754
|
*/
|
|
@@ -2770,6 +2895,28 @@ export interface StartPublishCdnStreamResponse {
|
|
|
2770
2895
|
*/
|
|
2771
2896
|
RequestId?: string;
|
|
2772
2897
|
}
|
|
2898
|
+
/**
|
|
2899
|
+
* DeleteLiveStreamModeration返回参数结构体
|
|
2900
|
+
*/
|
|
2901
|
+
export interface DeleteLiveStreamModerationResponse {
|
|
2902
|
+
/**
|
|
2903
|
+
* <p>AI 内容理解任务的唯一Id,在启动切片任务成功后会返回。</p>
|
|
2904
|
+
*/
|
|
2905
|
+
TaskId?: string;
|
|
2906
|
+
/**
|
|
2907
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2908
|
+
*/
|
|
2909
|
+
RequestId?: string;
|
|
2910
|
+
}
|
|
2911
|
+
/**
|
|
2912
|
+
* 直播流aI理解的转存文件存储参数
|
|
2913
|
+
*/
|
|
2914
|
+
export interface LiveModerationStorageParams {
|
|
2915
|
+
/**
|
|
2916
|
+
* <p>直播流ai理解文件转存</p>
|
|
2917
|
+
*/
|
|
2918
|
+
CloudModerationStorage?: CloudModerationStorage;
|
|
2919
|
+
}
|
|
2773
2920
|
/**
|
|
2774
2921
|
* StartMCUMixTranscodeByStrRoomId返回参数结构体
|
|
2775
2922
|
*/
|
|
@@ -3314,6 +3461,19 @@ export interface SdkAppIdRecordUsage {
|
|
|
3314
3461
|
*/
|
|
3315
3462
|
Usages?: Array<RecordUsage>;
|
|
3316
3463
|
}
|
|
3464
|
+
/**
|
|
3465
|
+
* 拉流输入源
|
|
3466
|
+
*/
|
|
3467
|
+
export interface Input {
|
|
3468
|
+
/**
|
|
3469
|
+
* <p>直播拉流地址</p><p>入参限制:字符长度小于2048</p>
|
|
3470
|
+
*/
|
|
3471
|
+
Url: string;
|
|
3472
|
+
/**
|
|
3473
|
+
* <p>显式协议</p><p>枚举值:</p><ul><li>rtmp: rtmp协议</li></ul>
|
|
3474
|
+
*/
|
|
3475
|
+
Format?: string;
|
|
3476
|
+
}
|
|
3317
3477
|
/**
|
|
3318
3478
|
* 音频编码参数。
|
|
3319
3479
|
*/
|
|
@@ -3386,6 +3546,19 @@ export interface DismissRoomRequest {
|
|
|
3386
3546
|
*/
|
|
3387
3547
|
RoomId: number;
|
|
3388
3548
|
}
|
|
3549
|
+
/**
|
|
3550
|
+
* DeleteLiveStreamModeration请求参数结构体
|
|
3551
|
+
*/
|
|
3552
|
+
export interface DeleteLiveStreamModerationRequest {
|
|
3553
|
+
/**
|
|
3554
|
+
* <p>TRTC的SDKAppId,和TRTC的房间所对应的SDKAppId相同。</p>
|
|
3555
|
+
*/
|
|
3556
|
+
SdkAppId: number;
|
|
3557
|
+
/**
|
|
3558
|
+
* <p>AI 内容理解任务的唯一Id,在启动切片任务成功后会返回。</p>
|
|
3559
|
+
*/
|
|
3560
|
+
TaskId: string;
|
|
3561
|
+
}
|
|
3389
3562
|
/**
|
|
3390
3563
|
* DescribeUnusualEvent请求参数结构体
|
|
3391
3564
|
*/
|
|
@@ -4012,61 +4185,17 @@ export interface StopAIConversationResponse {
|
|
|
4012
4185
|
RequestId?: string;
|
|
4013
4186
|
}
|
|
4014
4187
|
/**
|
|
4015
|
-
*
|
|
4188
|
+
* CreateLiveStreamModeration返回参数结构体
|
|
4016
4189
|
*/
|
|
4017
|
-
export interface
|
|
4018
|
-
/**
|
|
4019
|
-
* TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和转推的房间所对应的SdkAppId相同。
|
|
4020
|
-
*/
|
|
4021
|
-
SdkAppId: number;
|
|
4022
|
-
/**
|
|
4023
|
-
* 主房间信息RoomId,转推的TRTC房间所对应的RoomId。
|
|
4024
|
-
*/
|
|
4025
|
-
RoomId: string;
|
|
4026
|
-
/**
|
|
4027
|
-
* 主房间信息RoomType,必须和转推的房间所对应的RoomId类型相同,0为整型房间号,1为字符串房间号。
|
|
4028
|
-
*/
|
|
4029
|
-
RoomIdType: number;
|
|
4030
|
-
/**
|
|
4031
|
-
* 转推服务加入TRTC房间的机器人参数。
|
|
4032
|
-
*/
|
|
4033
|
-
AgentParams: AgentParams;
|
|
4034
|
-
/**
|
|
4035
|
-
* 是否转码,0表示无需转码,1表示需要转码。
|
|
4036
|
-
WithTranscoding为0,表示旁路转推,默认不转码;WithTranscoding为1,表示混流转推,此时一定会转码,并收取转码费用。
|
|
4037
|
-
注:
|
|
4038
|
-
1,混流是必须转码的,这个参数需设置为1。
|
|
4039
|
-
2,WithTranscoding=0时,视频输出Codec默认跟随上行视频Codec,如果上行视频Codec发生变化,CDN会断流重推。
|
|
4040
|
-
*/
|
|
4041
|
-
WithTranscoding: number;
|
|
4042
|
-
/**
|
|
4043
|
-
* 转推流的音频编码参数。由于音频是必转码的(不会收取转码费用),所以启动任务的时候,必须填写。
|
|
4044
|
-
*/
|
|
4045
|
-
AudioParams?: McuAudioParams;
|
|
4190
|
+
export interface CreateLiveStreamModerationResponse {
|
|
4046
4191
|
/**
|
|
4047
|
-
*
|
|
4048
|
-
*/
|
|
4049
|
-
VideoParams?: McuVideoParams;
|
|
4050
|
-
/**
|
|
4051
|
-
* 需要单流旁路转推的用户上行参数,单流旁路转推时,WithTranscoding需要设置为0。
|
|
4052
|
-
*/
|
|
4053
|
-
SingleSubscribeParams?: SingleSubscribeParams;
|
|
4054
|
-
/**
|
|
4055
|
-
* 转推的CDN参数,一个任务最多支持10个推流URL。和回推房间参数必须要有一个。
|
|
4056
|
-
*/
|
|
4057
|
-
PublishCdnParams?: Array<McuPublishCdnParam>;
|
|
4058
|
-
/**
|
|
4059
|
-
* 混流SEI参数
|
|
4060
|
-
*/
|
|
4061
|
-
SeiParams?: McuSeiParams;
|
|
4062
|
-
/**
|
|
4063
|
-
* 回推房间信息,一个任务最多支持回推10个房间,和转推CDN参数必须要有一个。注:回推房间需使用10.4及以上SDK版本,如您有需求,请联系腾讯云技术支持。
|
|
4192
|
+
* <p>AI 内容理解服务分配的任务ID。任务ID是对一次切片任务生命周期过程的唯一标识,结束任务时会失去意义。任务ID需要业务保存下来,作为下次针对这个任务操作的参数</p>
|
|
4064
4193
|
*/
|
|
4065
|
-
|
|
4194
|
+
TaskId?: string;
|
|
4066
4195
|
/**
|
|
4067
|
-
*
|
|
4196
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4068
4197
|
*/
|
|
4069
|
-
|
|
4198
|
+
RequestId?: string;
|
|
4070
4199
|
}
|
|
4071
4200
|
/**
|
|
4072
4201
|
* DescribeAIConversation请求参数结构体
|
|
@@ -4376,24 +4505,17 @@ export interface Terminology {
|
|
|
4376
4505
|
Target: string;
|
|
4377
4506
|
}
|
|
4378
4507
|
/**
|
|
4379
|
-
*
|
|
4508
|
+
* DescribeLiveStreamModeration请求参数结构体
|
|
4380
4509
|
*/
|
|
4381
|
-
export interface
|
|
4382
|
-
/**
|
|
4383
|
-
* StatementID值,监控仪表盘下固定为0。
|
|
4384
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4385
|
-
*/
|
|
4386
|
-
StatementID: number;
|
|
4510
|
+
export interface DescribeLiveStreamModerationRequest {
|
|
4387
4511
|
/**
|
|
4388
|
-
*
|
|
4389
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4512
|
+
* <p>TRTC的SDKAppId,和录制的房间所对应的SDKAppId相同。</p>
|
|
4390
4513
|
*/
|
|
4391
|
-
|
|
4514
|
+
SdkAppId: number;
|
|
4392
4515
|
/**
|
|
4393
|
-
*
|
|
4394
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4516
|
+
* <p>AI 内容理解任务的唯一Id,在启动切片任务成功后会返回。</p>
|
|
4395
4517
|
*/
|
|
4396
|
-
|
|
4518
|
+
TaskId: string;
|
|
4397
4519
|
}
|
|
4398
4520
|
/**
|
|
4399
4521
|
* 录制视频转码参数。
|
|
@@ -5198,13 +5320,61 @@ export interface UpdateVoicePrintRequest {
|
|
|
5198
5320
|
AudioMetaInfo?: string;
|
|
5199
5321
|
}
|
|
5200
5322
|
/**
|
|
5201
|
-
*
|
|
5323
|
+
* StartPublishCdnStream请求参数结构体
|
|
5202
5324
|
*/
|
|
5203
|
-
export interface
|
|
5325
|
+
export interface StartPublishCdnStreamRequest {
|
|
5204
5326
|
/**
|
|
5205
|
-
*
|
|
5327
|
+
* TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),和转推的房间所对应的SdkAppId相同。
|
|
5206
5328
|
*/
|
|
5207
|
-
|
|
5329
|
+
SdkAppId: number;
|
|
5330
|
+
/**
|
|
5331
|
+
* 主房间信息RoomId,转推的TRTC房间所对应的RoomId。
|
|
5332
|
+
*/
|
|
5333
|
+
RoomId: string;
|
|
5334
|
+
/**
|
|
5335
|
+
* 主房间信息RoomType,必须和转推的房间所对应的RoomId类型相同,0为整型房间号,1为字符串房间号。
|
|
5336
|
+
*/
|
|
5337
|
+
RoomIdType: number;
|
|
5338
|
+
/**
|
|
5339
|
+
* 转推服务加入TRTC房间的机器人参数。
|
|
5340
|
+
*/
|
|
5341
|
+
AgentParams: AgentParams;
|
|
5342
|
+
/**
|
|
5343
|
+
* 是否转码,0表示无需转码,1表示需要转码。
|
|
5344
|
+
WithTranscoding为0,表示旁路转推,默认不转码;WithTranscoding为1,表示混流转推,此时一定会转码,并收取转码费用。
|
|
5345
|
+
注:
|
|
5346
|
+
1,混流是必须转码的,这个参数需设置为1。
|
|
5347
|
+
2,WithTranscoding=0时,视频输出Codec默认跟随上行视频Codec,如果上行视频Codec发生变化,CDN会断流重推。
|
|
5348
|
+
*/
|
|
5349
|
+
WithTranscoding: number;
|
|
5350
|
+
/**
|
|
5351
|
+
* 转推流的音频编码参数。由于音频是必转码的(不会收取转码费用),所以启动任务的时候,必须填写。
|
|
5352
|
+
*/
|
|
5353
|
+
AudioParams?: McuAudioParams;
|
|
5354
|
+
/**
|
|
5355
|
+
* 转推流的视频编码参数,不填表示纯音频转推。
|
|
5356
|
+
*/
|
|
5357
|
+
VideoParams?: McuVideoParams;
|
|
5358
|
+
/**
|
|
5359
|
+
* 需要单流旁路转推的用户上行参数,单流旁路转推时,WithTranscoding需要设置为0。
|
|
5360
|
+
*/
|
|
5361
|
+
SingleSubscribeParams?: SingleSubscribeParams;
|
|
5362
|
+
/**
|
|
5363
|
+
* 转推的CDN参数,一个任务最多支持10个推流URL。和回推房间参数必须要有一个。
|
|
5364
|
+
*/
|
|
5365
|
+
PublishCdnParams?: Array<McuPublishCdnParam>;
|
|
5366
|
+
/**
|
|
5367
|
+
* 混流SEI参数
|
|
5368
|
+
*/
|
|
5369
|
+
SeiParams?: McuSeiParams;
|
|
5370
|
+
/**
|
|
5371
|
+
* 回推房间信息,一个任务最多支持回推10个房间,和转推CDN参数必须要有一个。注:回推房间需使用10.4及以上SDK版本,如您有需求,请联系腾讯云技术支持。
|
|
5372
|
+
*/
|
|
5373
|
+
FeedBackRoomParams?: Array<McuFeedBackRoomParams>;
|
|
5374
|
+
/**
|
|
5375
|
+
* 转推录制参数,[参考文档](https://cloud.tencent.com/document/product/647/111748)。
|
|
5376
|
+
*/
|
|
5377
|
+
RecordParams?: McuRecordParams;
|
|
5208
5378
|
}
|
|
5209
5379
|
/**
|
|
5210
5380
|
* 事件信息,包括,事件时间戳,事件ID,
|