tencentcloud-sdk-nodejs-mps 4.1.188 → 4.1.191
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -437,7 +437,7 @@ export interface CreateTranscodeTemplateRequest {
|
|
|
437
437
|
*/
|
|
438
438
|
export interface ProcessLiveStreamResponse {
|
|
439
439
|
/**
|
|
440
|
-
*
|
|
440
|
+
* <p>任务 ID</p>
|
|
441
441
|
*/
|
|
442
442
|
TaskId?: string;
|
|
443
443
|
/**
|
|
@@ -4724,7 +4724,7 @@ export interface DescribeImageTaskDetailRequest {
|
|
|
4724
4724
|
*/
|
|
4725
4725
|
export interface EditMediaResponse {
|
|
4726
4726
|
/**
|
|
4727
|
-
*
|
|
4727
|
+
* <p>编辑视频的任务 ID,可以通过该 ID 查询编辑任务的状态。</p>
|
|
4728
4728
|
*/
|
|
4729
4729
|
TaskId?: string;
|
|
4730
4730
|
/**
|
|
@@ -6146,46 +6146,45 @@ export interface DeleteAIAnalysisTemplateRequest {
|
|
|
6146
6146
|
*/
|
|
6147
6147
|
export interface EditMediaRequest {
|
|
6148
6148
|
/**
|
|
6149
|
-
*
|
|
6149
|
+
* <p>输入的视频文件信息。</p>
|
|
6150
6150
|
*/
|
|
6151
6151
|
FileInfos: Array<EditMediaFileInfo>;
|
|
6152
6152
|
/**
|
|
6153
|
-
*
|
|
6153
|
+
* <p>媒体处理输出文件的目标存储。</p>
|
|
6154
6154
|
*/
|
|
6155
6155
|
OutputStorage: TaskOutputStorage;
|
|
6156
6156
|
/**
|
|
6157
|
-
*
|
|
6158
|
-
|
|
6159
|
-
注意:对于复杂合成任务,路径中的文件名只可为数字、字母、-、_ 的组合,最长 64 个字符。
|
|
6160
|
-
|
|
6157
|
+
* <p>媒体处理输出文件的目标路径。</p><p>注意:对于复杂合成任务,路径中的文件名只可为数字、字母、-、_ 的组合,最长 64 个字符。</p>
|
|
6161
6158
|
*/
|
|
6162
6159
|
OutputObjectPath: string;
|
|
6163
6160
|
/**
|
|
6164
|
-
*
|
|
6161
|
+
* <p>【剪辑】任务生成的文件配置。</p>
|
|
6165
6162
|
*/
|
|
6166
6163
|
OutputConfig?: EditMediaOutputConfig;
|
|
6167
6164
|
/**
|
|
6168
|
-
*
|
|
6169
|
-
|
|
6170
|
-
注意:当其不为空时,认为是合成任务,否则按剪辑任务处理。
|
|
6165
|
+
* <p>【合成】任务配置。</p><p>注意:当其不为空时,认为是合成任务,否则按剪辑任务处理。</p>
|
|
6171
6166
|
*/
|
|
6172
6167
|
ComposeConfig?: ComposeMediaConfig;
|
|
6173
6168
|
/**
|
|
6174
|
-
*
|
|
6169
|
+
* <p>任务的事件通知信息,不填代表不获取事件通知。</p>
|
|
6175
6170
|
*/
|
|
6176
6171
|
TaskNotifyConfig?: TaskNotifyConfig;
|
|
6177
6172
|
/**
|
|
6178
|
-
*
|
|
6173
|
+
* <p>任务优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。</p>
|
|
6179
6174
|
*/
|
|
6180
6175
|
TasksPriority?: number;
|
|
6181
6176
|
/**
|
|
6182
|
-
*
|
|
6177
|
+
* <p>用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。</p>
|
|
6183
6178
|
*/
|
|
6184
6179
|
SessionId?: string;
|
|
6185
6180
|
/**
|
|
6186
|
-
*
|
|
6181
|
+
* <p>来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。</p>
|
|
6187
6182
|
*/
|
|
6188
6183
|
SessionContext?: string;
|
|
6184
|
+
/**
|
|
6185
|
+
* <p>资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。</p>
|
|
6186
|
+
*/
|
|
6187
|
+
ResourceId?: string;
|
|
6189
6188
|
}
|
|
6190
6189
|
/**
|
|
6191
6190
|
* DescribeBlindWatermarkTemplates请求参数结构体
|
|
@@ -18146,69 +18145,57 @@ export interface LiveStreamAiReviewImageTerrorismResult {
|
|
|
18146
18145
|
*/
|
|
18147
18146
|
export interface ProcessLiveStreamRequest {
|
|
18148
18147
|
/**
|
|
18149
|
-
*
|
|
18150
|
-
trtc地址如下:
|
|
18151
|
-
trtc: //trtc.rtc.qq.com/mps/`<roomid>`?sdkappid=`<sdkappid>`&userid=`<userid>`&usersig=<`usersig>`
|
|
18152
|
-
`<roomid>` 为trtc的房间号id, 为数字
|
|
18153
|
-
`<sdkappid>` 为trtc的sdk app id
|
|
18154
|
-
`<userid>` 为服务进入房间的用户id,可以区分谁是机器人
|
|
18155
|
-
<`usersig>` 为trtc 用户的签名
|
|
18156
|
-
|
|
18157
|
-
webrtc 支持[LEB](https://cloud.tencent.com/product/leb)的直播流,地址获取请[参考](https://cloud.tencent.com/document/product/267/32720)
|
|
18158
|
-
|
|
18159
|
-
srt支持地址请[参考](https://ffmpeg.org/ffmpeg-protocols.html#srt)
|
|
18160
|
-
|
|
18161
|
-
|
|
18148
|
+
* <p>直播流 URL(必须是直播流地址,支持 rtmp,hls 和 flv, trtc,webrtc,srt等)。<br>trtc地址如下:<br> trtc: //trtc.rtc.qq.com/mps/<code><roomid></code>?sdkappid=<code><sdkappid></code>&userid=<code><userid></code>&usersig=<<code>usersig></code><br><code><roomid></code> 为trtc的房间号id, 为数字<br><code><sdkappid></code> 为trtc的sdk app id<br><code><userid></code> 为服务进入房间的用户id,可以区分谁是机器人<br><<code>usersig></code> 为trtc 用户的签名</p><p>webrtc 支持<a href="https://cloud.tencent.com/product/leb">LEB</a>的直播流,地址获取请<a href="https://cloud.tencent.com/document/product/267/32720">参考</a></p><p>srt支持地址请<a href="https://ffmpeg.org/ffmpeg-protocols.html#srt">参考</a></p>
|
|
18162
18149
|
*/
|
|
18163
18150
|
Url: string;
|
|
18164
18151
|
/**
|
|
18165
|
-
*
|
|
18152
|
+
* <p>任务的事件通知信息,用于指定直播流处理的结果。</p>
|
|
18166
18153
|
*/
|
|
18167
18154
|
TaskNotifyConfig: LiveStreamTaskNotifyConfig;
|
|
18168
18155
|
/**
|
|
18169
|
-
*
|
|
18156
|
+
* <p>直播流处理输出文件的目标存储。如处理有文件输出,该参数为必填项。</p>
|
|
18170
18157
|
*/
|
|
18171
18158
|
OutputStorage?: TaskOutputStorage;
|
|
18172
18159
|
/**
|
|
18173
|
-
*
|
|
18160
|
+
* <p>直播流处理生成的文件输出的目标目录,如<code>/movie/201909/</code>,如果不填为 <code>/</code> 目录。</p>
|
|
18174
18161
|
*/
|
|
18175
18162
|
OutputDir?: string;
|
|
18176
18163
|
/**
|
|
18177
|
-
*
|
|
18164
|
+
* <p>视频内容审核类型任务参数。</p>
|
|
18178
18165
|
*/
|
|
18179
18166
|
AiContentReviewTask?: AiContentReviewTaskInput;
|
|
18180
18167
|
/**
|
|
18181
|
-
*
|
|
18168
|
+
* <p>视频内容识别类型任务参数。</p>
|
|
18182
18169
|
*/
|
|
18183
18170
|
AiRecognitionTask?: AiRecognitionTaskInput;
|
|
18184
18171
|
/**
|
|
18185
|
-
*
|
|
18172
|
+
* <p>视频内容分析类型任务参数。</p>
|
|
18186
18173
|
*/
|
|
18187
18174
|
AiAnalysisTask?: AiAnalysisTaskInput;
|
|
18188
18175
|
/**
|
|
18189
|
-
*
|
|
18176
|
+
* <p>媒体质检类型任务参数。</p>
|
|
18190
18177
|
*/
|
|
18191
18178
|
AiQualityControlTask?: AiQualityControlTaskInput;
|
|
18192
18179
|
/**
|
|
18193
|
-
*
|
|
18180
|
+
* <p>智能字幕任务参数。</p>
|
|
18194
18181
|
*/
|
|
18195
18182
|
SmartSubtitlesTask?: LiveSmartSubtitlesTaskInput;
|
|
18196
18183
|
/**
|
|
18197
|
-
*
|
|
18184
|
+
* <p>用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。</p>
|
|
18198
18185
|
*/
|
|
18199
18186
|
SessionId?: string;
|
|
18200
18187
|
/**
|
|
18201
|
-
*
|
|
18188
|
+
* <p>来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。</p>
|
|
18202
18189
|
*/
|
|
18203
18190
|
SessionContext?: string;
|
|
18204
18191
|
/**
|
|
18205
|
-
*
|
|
18206
|
-
注意1:对于OutputStorage、OutputDir参数:
|
|
18207
|
-
<li>当服务编排中子任务节点配置了OutputStorage、OutputDir时,该子任务节点中配置的输出作为子任务的输出。</li>
|
|
18208
|
-
<li>当服务编排中子任务节点没有配置OutputStorage、OutputDir时,若对直播流发起处理(ProcessLiveStream)有输出,将覆盖原有编排的默认输出。</li>
|
|
18209
|
-
注意2:对于TaskNotifyConfig参数,若创建任务接口(ProcessLiveStream)有设置,将覆盖原有编排的默认回调。
|
|
18192
|
+
* <p>直播编排ID。<br>注意1:对于OutputStorage、OutputDir参数:</p><li>当服务编排中子任务节点配置了OutputStorage、OutputDir时,该子任务节点中配置的输出作为子任务的输出。</li><li>当服务编排中子任务节点没有配置OutputStorage、OutputDir时,若对直播流发起处理(ProcessLiveStream)有输出,将覆盖原有编排的默认输出。</li>注意2:对于TaskNotifyConfig参数,若创建任务接口(ProcessLiveStream)有设置,将覆盖原有编排的默认回调。
|
|
18210
18193
|
*/
|
|
18211
18194
|
ScheduleId?: number;
|
|
18195
|
+
/**
|
|
18196
|
+
* <p>资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。</p>
|
|
18197
|
+
*/
|
|
18198
|
+
ResourceId?: string;
|
|
18212
18199
|
}
|
|
18213
18200
|
/**
|
|
18214
18201
|
* 智能横转竖结果信息
|