tencentcloud-sdk-nodejs-vod 4.0.514 → 4.0.516
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/CHANGELOG.md +614 -0
- package/SERVICE_CHANGELOG.md +829 -90
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/services/vod/v20180717/vod_client.ts +26 -18
- package/src/services/vod/v20180717/vod_models.ts +111 -64
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +26 -18
- package/tencentcloud/services/vod/v20180717/vod_client.js +26 -18
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +103 -64
|
@@ -219,12 +219,19 @@ export interface ReviewAudioVideoTaskInput {
|
|
|
219
219
|
/**
|
|
220
220
|
* 媒体文件 ID。
|
|
221
221
|
*/
|
|
222
|
-
FileId
|
|
222
|
+
FileId?: string
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
225
|
* 音视频审核模板 ID。
|
|
226
226
|
*/
|
|
227
|
-
Definition
|
|
227
|
+
Definition?: number
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* 审核的内容,可选值:
|
|
231
|
+
<li>Media:原始音视频;</li>
|
|
232
|
+
<li>Cover:封面。</li>
|
|
233
|
+
*/
|
|
234
|
+
ReviewContents?: Array<string>
|
|
228
235
|
}
|
|
229
236
|
|
|
230
237
|
/**
|
|
@@ -2864,7 +2871,15 @@ export interface ReviewAudioVideoRequest {
|
|
|
2864
2871
|
SubAppId?: number
|
|
2865
2872
|
|
|
2866
2873
|
/**
|
|
2867
|
-
*
|
|
2874
|
+
* 审核的内容,可选值有:
|
|
2875
|
+
<li>Media:原始音视频;</li>
|
|
2876
|
+
<li>Cover:封面。</li>
|
|
2877
|
+
不填或填空数组时,默认为审核 Media。
|
|
2878
|
+
*/
|
|
2879
|
+
ReviewContents?: Array<string>
|
|
2880
|
+
|
|
2881
|
+
/**
|
|
2882
|
+
* 审核模板 ID,默认值为 10。取值范围:
|
|
2868
2883
|
<li>10:预置模板,支持检测的违规标签包括色情(Porn)、暴恐(Terror)和不适宜的信息(Polity)。</li>
|
|
2869
2884
|
*/
|
|
2870
2885
|
Definition?: number
|
|
@@ -3044,23 +3059,28 @@ export interface FileUploadTask {
|
|
|
3044
3059
|
/**
|
|
3045
3060
|
* 文件唯一 ID。
|
|
3046
3061
|
*/
|
|
3047
|
-
FileId
|
|
3062
|
+
FileId?: string
|
|
3048
3063
|
|
|
3049
3064
|
/**
|
|
3050
3065
|
* 上传完成后生成的媒体文件基础信息。
|
|
3051
3066
|
*/
|
|
3052
|
-
MediaBasicInfo
|
|
3067
|
+
MediaBasicInfo?: MediaBasicInfo
|
|
3053
3068
|
|
|
3054
3069
|
/**
|
|
3055
|
-
*
|
|
3070
|
+
* 任务类型为 Procedure 的任务 ID。若视频[上传时指定要执行的任务(procedure)](https://cloud.tencent.com/document/product/266/33475#.E4.BB.BB.E5.8A.A1.E5.8F.91.E8.B5.B7),当该任务流模板指定了 MediaProcessTask、AiAnalysisTask、AiRecognitionTask 中的一个或多个时发起该任务。
|
|
3056
3071
|
*/
|
|
3057
|
-
ProcedureTaskId
|
|
3072
|
+
ProcedureTaskId?: string
|
|
3073
|
+
|
|
3074
|
+
/**
|
|
3075
|
+
* 任务类型为 ReviewAudioVideo 的任务 ID。若视频[上传时指定要执行的任务(procedure)](https://cloud.tencent.com/document/product/266/33475#.E4.BB.BB.E5.8A.A1.E5.8F.91.E8.B5.B7),当该任务流模板指定了 ReviewAudioVideoTask 时,发起该任务。
|
|
3076
|
+
*/
|
|
3077
|
+
ReviewAudioVideoTaskId?: string
|
|
3058
3078
|
|
|
3059
3079
|
/**
|
|
3060
3080
|
* 元信息。包括大小、时长、视频流信息、音频流信息等。
|
|
3061
3081
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3062
3082
|
*/
|
|
3063
|
-
MetaData
|
|
3083
|
+
MetaData?: MediaMetaData
|
|
3064
3084
|
}
|
|
3065
3085
|
|
|
3066
3086
|
/**
|
|
@@ -4528,7 +4548,7 @@ export interface ProcessMediaResponse {
|
|
|
4528
4548
|
/**
|
|
4529
4549
|
* 任务 ID
|
|
4530
4550
|
*/
|
|
4531
|
-
TaskId
|
|
4551
|
+
TaskId?: string
|
|
4532
4552
|
|
|
4533
4553
|
/**
|
|
4534
4554
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5072,18 +5092,23 @@ export interface SplitMediaTaskSegmentInfo {
|
|
|
5072
5092
|
/**
|
|
5073
5093
|
* 视频拆条任务输入信息。
|
|
5074
5094
|
*/
|
|
5075
|
-
Input
|
|
5095
|
+
Input?: SplitMediaTaskInput
|
|
5076
5096
|
|
|
5077
5097
|
/**
|
|
5078
5098
|
* 视频拆条任务输出信息。
|
|
5079
5099
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5080
5100
|
*/
|
|
5081
|
-
Output
|
|
5101
|
+
Output?: TaskOutputMediaInfo
|
|
5082
5102
|
|
|
5083
5103
|
/**
|
|
5084
|
-
*
|
|
5104
|
+
* 任务类型为 Procedure 的任务 ID。若发起[视频拆条](https://cloud.tencent.com/document/api/266/51098)任务时,视频拆条任务信息列表指定了任务流模板(ProcedureName),当该任务流模板指定了 MediaProcessTask、AiAnalysisTask、AiRecognitionTask 中的一个或多个时发起该任务。
|
|
5085
5105
|
*/
|
|
5086
|
-
ProcedureTaskId
|
|
5106
|
+
ProcedureTaskId?: string
|
|
5107
|
+
|
|
5108
|
+
/**
|
|
5109
|
+
* 任务类型为 ReviewAudioVideo 的任务 ID。若发起[视频拆条](https://cloud.tencent.com/document/api/266/51098)任务时,视频拆条任务信息列表指定了任务流模板(ProcedureName),当该任务流模板指定了 ReviewAudioVideoTask 时,发起该任务。
|
|
5110
|
+
*/
|
|
5111
|
+
ReviewAudioVideoTaskId?: string
|
|
5087
5112
|
}
|
|
5088
5113
|
|
|
5089
5114
|
/**
|
|
@@ -5590,12 +5615,12 @@ export interface DescribeReviewTemplatesResponse {
|
|
|
5590
5615
|
/**
|
|
5591
5616
|
* 符合过滤条件的记录总数。
|
|
5592
5617
|
*/
|
|
5593
|
-
TotalCount
|
|
5618
|
+
TotalCount?: number
|
|
5594
5619
|
|
|
5595
5620
|
/**
|
|
5596
5621
|
* 审核模板详情列表。
|
|
5597
5622
|
*/
|
|
5598
|
-
ReviewTemplateSet
|
|
5623
|
+
ReviewTemplateSet?: Array<ReviewTemplate>
|
|
5599
5624
|
|
|
5600
5625
|
/**
|
|
5601
5626
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5884,7 +5909,7 @@ export interface CreateContentReviewTemplateResponse {
|
|
|
5884
5909
|
/**
|
|
5885
5910
|
* 音视频内容审核模板唯一标识。
|
|
5886
5911
|
*/
|
|
5887
|
-
Definition
|
|
5912
|
+
Definition?: number
|
|
5888
5913
|
|
|
5889
5914
|
/**
|
|
5890
5915
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -6986,6 +7011,12 @@ export interface ReviewAudioVideoTaskOutput {
|
|
|
6986
7011
|
* 涉及违规信息的嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
6987
7012
|
*/
|
|
6988
7013
|
SegmentSetFileUrlExpireTime: string
|
|
7014
|
+
|
|
7015
|
+
/**
|
|
7016
|
+
* 封面审核结果。
|
|
7017
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7018
|
+
*/
|
|
7019
|
+
CoverReviewResult: ReviewImageResult
|
|
6989
7020
|
}
|
|
6990
7021
|
|
|
6991
7022
|
/**
|
|
@@ -7136,8 +7167,9 @@ export interface ProcessMediaRequest {
|
|
|
7136
7167
|
MediaProcessTask?: MediaProcessTaskInput
|
|
7137
7168
|
|
|
7138
7169
|
/**
|
|
7139
|
-
|
|
7140
|
-
|
|
7170
|
+
* 音视频内容审核类型任务参数 \*。
|
|
7171
|
+
<font color=red>\* 不建议使用</font>,推荐使用 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 或 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217)。
|
|
7172
|
+
*/
|
|
7141
7173
|
AiContentReviewTask?: AiContentReviewTaskInput
|
|
7142
7174
|
|
|
7143
7175
|
/**
|
|
@@ -8269,12 +8301,12 @@ export interface DescribeContentReviewTemplatesResponse {
|
|
|
8269
8301
|
/**
|
|
8270
8302
|
* 符合过滤条件的记录总数。
|
|
8271
8303
|
*/
|
|
8272
|
-
TotalCount
|
|
8304
|
+
TotalCount?: number
|
|
8273
8305
|
|
|
8274
8306
|
/**
|
|
8275
8307
|
* 内容审核模板详情列表。
|
|
8276
8308
|
*/
|
|
8277
|
-
ContentReviewTemplateSet
|
|
8309
|
+
ContentReviewTemplateSet?: Array<ContentReviewTemplateItem>
|
|
8278
8310
|
|
|
8279
8311
|
/**
|
|
8280
8312
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -9910,7 +9942,7 @@ export interface PullEventsResponse {
|
|
|
9910
9942
|
* 事件列表。
|
|
9911
9943
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9912
9944
|
*/
|
|
9913
|
-
EventSet
|
|
9945
|
+
EventSet?: Array<EventContent>
|
|
9914
9946
|
|
|
9915
9947
|
/**
|
|
9916
9948
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -14606,7 +14638,7 @@ export interface AiReviewTaskPoliticalResult {
|
|
|
14606
14638
|
export interface ReviewImageResponse {
|
|
14607
14639
|
/**
|
|
14608
14640
|
* 图片审核任务结果。
|
|
14609
|
-
<font color=red>注意:该字段已废弃,建议使用
|
|
14641
|
+
<font color=red>注意:该字段已废弃,建议使用 MediaReviewResult。</font>
|
|
14610
14642
|
*/
|
|
14611
14643
|
ReviewResultSet?: Array<ContentReviewResult>
|
|
14612
14644
|
|
|
@@ -14985,32 +15017,32 @@ export interface MediaVideoStreamItem {
|
|
|
14985
15017
|
/**
|
|
14986
15018
|
* 视频流的码率,单位:bps。
|
|
14987
15019
|
*/
|
|
14988
|
-
Bitrate
|
|
15020
|
+
Bitrate?: number
|
|
14989
15021
|
|
|
14990
15022
|
/**
|
|
14991
15023
|
* 视频流的高度,单位:px。
|
|
14992
15024
|
*/
|
|
14993
|
-
Height
|
|
15025
|
+
Height?: number
|
|
14994
15026
|
|
|
14995
15027
|
/**
|
|
14996
15028
|
* 视频流的宽度,单位:px。
|
|
14997
15029
|
*/
|
|
14998
|
-
Width
|
|
15030
|
+
Width?: number
|
|
14999
15031
|
|
|
15000
15032
|
/**
|
|
15001
15033
|
* 视频流的编码格式,例如 h264。
|
|
15002
15034
|
*/
|
|
15003
|
-
Codec
|
|
15035
|
+
Codec?: string
|
|
15004
15036
|
|
|
15005
15037
|
/**
|
|
15006
15038
|
* 帧率,单位:hz。
|
|
15007
15039
|
*/
|
|
15008
|
-
Fps
|
|
15040
|
+
Fps?: number
|
|
15009
15041
|
|
|
15010
15042
|
/**
|
|
15011
15043
|
* 编码标签,仅当 Codec 为 hevc 时有效。
|
|
15012
15044
|
*/
|
|
15013
|
-
CodecTag
|
|
15045
|
+
CodecTag?: string
|
|
15014
15046
|
}
|
|
15015
15047
|
|
|
15016
15048
|
/**
|
|
@@ -17260,9 +17292,14 @@ export interface EditMediaFileInfo {
|
|
|
17260
17292
|
*/
|
|
17261
17293
|
export interface ProcessMediaByProcedureResponse {
|
|
17262
17294
|
/**
|
|
17263
|
-
*
|
|
17295
|
+
* 任务类型为 Procedure 的任务 ID,当入参 ProcedureName 对应的任务流模板指定了 MediaProcessTask、AiAnalysisTask、AiRecognitionTask 中的一个或多个时发起该任务。
|
|
17264
17296
|
*/
|
|
17265
|
-
TaskId
|
|
17297
|
+
TaskId?: string
|
|
17298
|
+
|
|
17299
|
+
/**
|
|
17300
|
+
* 任务类型为 ReviewAudioVideo 的任务 ID,当入参 ProcedureName 对应的任务流模板指定了 ReviewAudioVideoTask 时,发起该任务。
|
|
17301
|
+
*/
|
|
17302
|
+
ReviewAudioVideoTaskId?: string
|
|
17266
17303
|
|
|
17267
17304
|
/**
|
|
17268
17305
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -17404,14 +17441,14 @@ export interface EditMediaTask {
|
|
|
17404
17441
|
/**
|
|
17405
17442
|
* 任务 ID。
|
|
17406
17443
|
*/
|
|
17407
|
-
TaskId
|
|
17444
|
+
TaskId?: string
|
|
17408
17445
|
|
|
17409
17446
|
/**
|
|
17410
17447
|
* 任务流状态,取值:
|
|
17411
17448
|
<li>PROCESSING:处理中;</li>
|
|
17412
17449
|
<li>FINISH:已完成。</li>
|
|
17413
17450
|
*/
|
|
17414
|
-
Status
|
|
17451
|
+
Status?: string
|
|
17415
17452
|
|
|
17416
17453
|
/**
|
|
17417
17454
|
* 错误码,0 表示成功,其他值表示失败:
|
|
@@ -17419,54 +17456,59 @@ export interface EditMediaTask {
|
|
|
17419
17456
|
<li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
|
|
17420
17457
|
<li>70000:内部服务错误,建议重试。</li>
|
|
17421
17458
|
*/
|
|
17422
|
-
ErrCode
|
|
17459
|
+
ErrCode?: number
|
|
17423
17460
|
|
|
17424
17461
|
/**
|
|
17425
17462
|
* 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
|
|
17426
17463
|
*/
|
|
17427
|
-
ErrCodeExt
|
|
17464
|
+
ErrCodeExt?: string
|
|
17428
17465
|
|
|
17429
17466
|
/**
|
|
17430
17467
|
* 错误信息。
|
|
17431
17468
|
*/
|
|
17432
|
-
Message
|
|
17469
|
+
Message?: string
|
|
17433
17470
|
|
|
17434
17471
|
/**
|
|
17435
17472
|
* 编辑视频任务进度,取值范围 [0-100] 。
|
|
17436
17473
|
*/
|
|
17437
|
-
Progress
|
|
17474
|
+
Progress?: number
|
|
17438
17475
|
|
|
17439
17476
|
/**
|
|
17440
17477
|
* 视频编辑任务的输入。
|
|
17441
17478
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
17442
17479
|
*/
|
|
17443
|
-
Input
|
|
17480
|
+
Input?: EditMediaTaskInput
|
|
17444
17481
|
|
|
17445
17482
|
/**
|
|
17446
17483
|
* 视频编辑任务的输出。
|
|
17447
17484
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
17448
17485
|
*/
|
|
17449
|
-
Output
|
|
17486
|
+
Output?: EditMediaTaskOutput
|
|
17450
17487
|
|
|
17451
17488
|
/**
|
|
17452
17489
|
* 输出视频的元信息。
|
|
17453
17490
|
*/
|
|
17454
|
-
MetaData
|
|
17491
|
+
MetaData?: MediaMetaData
|
|
17455
17492
|
|
|
17456
17493
|
/**
|
|
17457
|
-
*
|
|
17494
|
+
* 任务类型为 Procedure 的任务 ID。若发起[编辑视频](https://cloud.tencent.com/document/api/266/34783)任务时指定了任务流模板(ProcedureName),当该任务流模板指定了 MediaProcessTask、AiAnalysisTask、AiRecognitionTask 中的一个或多个时发起该任务。
|
|
17458
17495
|
*/
|
|
17459
|
-
ProcedureTaskId
|
|
17496
|
+
ProcedureTaskId?: string
|
|
17497
|
+
|
|
17498
|
+
/**
|
|
17499
|
+
* 任务类型为 ReviewAudioVideo 的任务 ID。若发起[编辑视频](https://cloud.tencent.com/document/api/266/34783)任务时指定了任务流模板(ProcedureName),当该任务流模板指定了 ReviewAudioVideoTask 时,发起该任务。
|
|
17500
|
+
*/
|
|
17501
|
+
ReviewAudioVideoTaskId?: string
|
|
17460
17502
|
|
|
17461
17503
|
/**
|
|
17462
17504
|
* 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
|
17463
17505
|
*/
|
|
17464
|
-
SessionId
|
|
17506
|
+
SessionId?: string
|
|
17465
17507
|
|
|
17466
17508
|
/**
|
|
17467
17509
|
* 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
|
|
17468
17510
|
*/
|
|
17469
|
-
SessionContext
|
|
17511
|
+
SessionContext?: string
|
|
17470
17512
|
}
|
|
17471
17513
|
|
|
17472
17514
|
/**
|
|
@@ -18360,7 +18402,7 @@ export interface CreateReviewTemplateResponse {
|
|
|
18360
18402
|
/**
|
|
18361
18403
|
* 审核模板唯一标识。
|
|
18362
18404
|
*/
|
|
18363
|
-
Definition
|
|
18405
|
+
Definition?: number
|
|
18364
18406
|
|
|
18365
18407
|
/**
|
|
18366
18408
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -18453,20 +18495,20 @@ export interface ModifyWatermarkTemplateResponse {
|
|
|
18453
18495
|
}
|
|
18454
18496
|
|
|
18455
18497
|
/**
|
|
18456
|
-
*
|
|
18498
|
+
* 拉取上传任务信息
|
|
18457
18499
|
*/
|
|
18458
18500
|
export interface PullUploadTask {
|
|
18459
18501
|
/**
|
|
18460
|
-
*
|
|
18502
|
+
* 拉取上传任务 ID。
|
|
18461
18503
|
*/
|
|
18462
|
-
TaskId
|
|
18504
|
+
TaskId?: string
|
|
18463
18505
|
|
|
18464
18506
|
/**
|
|
18465
18507
|
* 任务流状态,取值:
|
|
18466
18508
|
<li>PROCESSING:处理中;</li>
|
|
18467
18509
|
<li>FINISH:已完成。</li>
|
|
18468
18510
|
*/
|
|
18469
|
-
Status
|
|
18511
|
+
Status?: string
|
|
18470
18512
|
|
|
18471
18513
|
/**
|
|
18472
18514
|
* 错误码,0 表示成功,其他值表示失败:
|
|
@@ -18474,53 +18516,58 @@ export interface PullUploadTask {
|
|
|
18474
18516
|
<li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
|
|
18475
18517
|
<li>70000:内部服务错误,建议重试。</li>
|
|
18476
18518
|
*/
|
|
18477
|
-
ErrCode
|
|
18519
|
+
ErrCode?: number
|
|
18478
18520
|
|
|
18479
18521
|
/**
|
|
18480
18522
|
* 错误信息。
|
|
18481
18523
|
*/
|
|
18482
|
-
Message
|
|
18524
|
+
Message?: string
|
|
18483
18525
|
|
|
18484
18526
|
/**
|
|
18485
|
-
*
|
|
18527
|
+
* 拉取上传完成后生成的视频 ID。
|
|
18486
18528
|
*/
|
|
18487
|
-
FileId
|
|
18529
|
+
FileId?: string
|
|
18488
18530
|
|
|
18489
18531
|
/**
|
|
18490
|
-
*
|
|
18532
|
+
* 拉取上传完成后生成的媒体文件基础信息。
|
|
18491
18533
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18492
18534
|
*/
|
|
18493
|
-
MediaBasicInfo
|
|
18535
|
+
MediaBasicInfo?: MediaBasicInfo
|
|
18494
18536
|
|
|
18495
18537
|
/**
|
|
18496
18538
|
* 输出视频的元信息。
|
|
18497
18539
|
*/
|
|
18498
|
-
MetaData
|
|
18540
|
+
MetaData?: MediaMetaData
|
|
18499
18541
|
|
|
18500
18542
|
/**
|
|
18501
|
-
*
|
|
18543
|
+
* 拉取上传完成后生成的播放地址。
|
|
18502
18544
|
*/
|
|
18503
|
-
FileUrl
|
|
18545
|
+
FileUrl?: string
|
|
18504
18546
|
|
|
18505
18547
|
/**
|
|
18506
|
-
*
|
|
18548
|
+
* 任务类型为 Procedure 的任务 ID。若[拉取上传](https://cloud.tencent.com/document/api/266/35575)时指定了媒体后续任务操作(Procedure),当该任务流模板指定了 MediaProcessTask、AiAnalysisTask、AiRecognitionTask 中的一个或多个时发起该任务。
|
|
18507
18549
|
*/
|
|
18508
|
-
ProcedureTaskId
|
|
18550
|
+
ProcedureTaskId?: string
|
|
18509
18551
|
|
|
18510
18552
|
/**
|
|
18511
|
-
*
|
|
18553
|
+
* 任务类型为 ReviewAudioVideo 的任务 ID。若[拉取上传](https://cloud.tencent.com/document/api/266/35575)时指定了媒体后续任务操作(Procedure),当该任务流模板指定了 ReviewAudioVideoTask 时,发起该任务。
|
|
18512
18554
|
*/
|
|
18513
|
-
|
|
18555
|
+
ReviewAudioVideoTaskId?: string
|
|
18556
|
+
|
|
18557
|
+
/**
|
|
18558
|
+
* 来源上下文,用于透传用户请求信息,[URL 拉取视频上传完成](https://cloud.tencent.com/document/product/266/7831)将返回该字段值,最长 1000 个字符。
|
|
18559
|
+
*/
|
|
18560
|
+
SessionContext?: string
|
|
18514
18561
|
|
|
18515
18562
|
/**
|
|
18516
18563
|
* 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
|
18517
18564
|
*/
|
|
18518
|
-
SessionId
|
|
18565
|
+
SessionId?: string
|
|
18519
18566
|
|
|
18520
18567
|
/**
|
|
18521
|
-
*
|
|
18568
|
+
* 拉取上传进度,取值范围 [0-100] 。
|
|
18522
18569
|
*/
|
|
18523
|
-
Progress
|
|
18570
|
+
Progress?: number
|
|
18524
18571
|
}
|
|
18525
18572
|
|
|
18526
18573
|
/**
|
|
@@ -79,7 +79,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
79
79
|
1. 在控制台上创建和修改任务流模板;
|
|
80
80
|
2. 通过任务流模板接口创建任务流模板。
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
如使用事件通知,除音视频审核任务外的事件通知的类型为 [任务流状态变更](https://cloud.tencent.com/document/product/266/9636);音视频审核任务事件通知的类型为 [音视频审核完成](https://cloud.tencent.com/document/product/266/81258)。
|
|
83
83
|
*/
|
|
84
84
|
ProcessMediaByProcedure(req: ProcessMediaByProcedureRequest, cb?: (error: string, rep: ProcessMediaByProcedureResponse) => void): Promise<ProcessMediaByProcedureResponse>;
|
|
85
85
|
/**
|
|
@@ -193,8 +193,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
193
193
|
*/
|
|
194
194
|
DescribeMediaPlayStatDetails(req: DescribeMediaPlayStatDetailsRequest, cb?: (error: string, rep: DescribeMediaPlayStatDetailsResponse) => void): Promise<DescribeMediaPlayStatDetailsResponse>;
|
|
195
195
|
/**
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
* 修改用户自定义审核模板。
|
|
197
|
+
>模板仅适用于 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 和 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 接口。
|
|
198
|
+
*/
|
|
198
199
|
ModifyReviewTemplate(req: ModifyReviewTemplateRequest, cb?: (error: string, rep: ModifyReviewTemplateResponse) => void): Promise<ModifyReviewTemplateResponse>;
|
|
199
200
|
/**
|
|
200
201
|
* 该接口返回查询时间范围内每天 License 请求次数信息。
|
|
@@ -218,8 +219,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
218
219
|
*/
|
|
219
220
|
ExecuteFunction(req: ExecuteFunctionRequest, cb?: (error: string, rep: ExecuteFunctionResponse) => void): Promise<ExecuteFunctionResponse>;
|
|
220
221
|
/**
|
|
221
|
-
|
|
222
|
-
|
|
222
|
+
* 删除用户自定义审核模板。
|
|
223
|
+
>模板仅适用于 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 和 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 接口。
|
|
224
|
+
*/
|
|
223
225
|
DeleteReviewTemplate(req: DeleteReviewTemplateRequest, cb?: (error: string, rep: DeleteReviewTemplateResponse) => void): Promise<DeleteReviewTemplateResponse>;
|
|
224
226
|
/**
|
|
225
227
|
* 该接口返回查询时间范围内每天使用的视频处理用量信息。
|
|
@@ -257,8 +259,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
257
259
|
*/
|
|
258
260
|
ComposeMedia(req: ComposeMediaRequest, cb?: (error: string, rep: ComposeMediaResponse) => void): Promise<ComposeMediaResponse>;
|
|
259
261
|
/**
|
|
260
|
-
|
|
261
|
-
|
|
262
|
+
* 该 API 已经<font color=red>不再维护</font>,新版审核模板支持音视频审核和图片审核,详细请参考 [创建审核模板](https://cloud.tencent.com/document/api/266/84391)。
|
|
263
|
+
创建用户自定义音视频内容审核模板,数量上限:50。
|
|
264
|
+
*/
|
|
262
265
|
CreateContentReviewTemplate(req: CreateContentReviewTemplateRequest, cb?: (error: string, rep: CreateContentReviewTemplateResponse) => void): Promise<CreateContentReviewTemplateResponse>;
|
|
263
266
|
/**
|
|
264
267
|
* 创建用户自定义采样截图模板,数量上限:16。
|
|
@@ -409,8 +412,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
409
412
|
*/
|
|
410
413
|
DescribeDailyMediaPlayStat(req: DescribeDailyMediaPlayStatRequest, cb?: (error: string, rep: DescribeDailyMediaPlayStatResponse) => void): Promise<DescribeDailyMediaPlayStatResponse>;
|
|
411
414
|
/**
|
|
412
|
-
|
|
413
|
-
|
|
415
|
+
* 该 API 已经<font color=red>不再维护</font>,新版审核模板支持音视频审核和图片审核,详细请参考 [删除审核模板](https://cloud.tencent.com/document/api/266/84390)。
|
|
416
|
+
删除用户自定义音视频内容审核模板。
|
|
417
|
+
*/
|
|
414
418
|
DeleteContentReviewTemplate(req: DeleteContentReviewTemplateRequest, cb?: (error: string, rep: DeleteContentReviewTemplateResponse) => void): Promise<DeleteContentReviewTemplateResponse>;
|
|
415
419
|
/**
|
|
416
420
|
* 创建用户自定义音视频内容分析模板,数量上限:50。
|
|
@@ -469,8 +473,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
469
473
|
*/
|
|
470
474
|
ModifyTranscodeTemplate(req: ModifyTranscodeTemplateRequest, cb?: (error: string, rep: ModifyTranscodeTemplateResponse) => void): Promise<ModifyTranscodeTemplateResponse>;
|
|
471
475
|
/**
|
|
472
|
-
|
|
473
|
-
|
|
476
|
+
* 该 API 已经<font color=red>不再维护</font>,新版审核模板支持音视频审核和图片审核,详细请参考 [获取审核模板列表](https://cloud.tencent.com/document/api/266/84389)。
|
|
477
|
+
根据音视频内容审核模板唯一标识,获取音视频内容审核模板详情列表。返回结果包含符合条件的所有用户自定义模板及[系统预置内容审核模板](https://cloud.tencent.com/document/product/266/33476#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E5.AE.A1.E6.A0.B8.E6.A8.A1.E6.9D.BF)。
|
|
478
|
+
*/
|
|
474
479
|
DescribeContentReviewTemplates(req: DescribeContentReviewTemplatesRequest, cb?: (error: string, rep: DescribeContentReviewTemplatesResponse) => void): Promise<DescribeContentReviewTemplatesResponse>;
|
|
475
480
|
/**
|
|
476
481
|
* 修改片头片尾模板。
|
|
@@ -489,7 +494,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
489
494
|
5. 对视频截图雪碧图;
|
|
490
495
|
6. 对视频截取一张图做封面;
|
|
491
496
|
7. 对视频转自适应码流(并加密);
|
|
492
|
-
8.
|
|
497
|
+
8. 内容审核(令人反感的信息、不安全的信息、不适宜的信息),<font color=red>不建议</font> 使用该接口发起,推荐使用 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 或 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217);
|
|
493
498
|
9. 内容分析(标签、分类、封面、按帧标签);
|
|
494
499
|
10. 内容识别(视频片头片尾、人脸、文本全文、文本关键词、语音全文、语音关键词、物体)。
|
|
495
500
|
|
|
@@ -622,8 +627,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
622
627
|
*/
|
|
623
628
|
SetDrmKeyProviderInfo(req: SetDrmKeyProviderInfoRequest, cb?: (error: string, rep: SetDrmKeyProviderInfoResponse) => void): Promise<SetDrmKeyProviderInfoResponse>;
|
|
624
629
|
/**
|
|
625
|
-
|
|
626
|
-
|
|
630
|
+
* 创建用户自定义审核模板,数量上限:50。
|
|
631
|
+
>模板仅适用于 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 和 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 接口。
|
|
632
|
+
*/
|
|
627
633
|
CreateReviewTemplate(req: CreateReviewTemplateRequest, cb?: (error: string, rep: CreateReviewTemplateResponse) => void): Promise<CreateReviewTemplateResponse>;
|
|
628
634
|
/**
|
|
629
635
|
* 根据音视频内容识别模板唯一标识,获取音视频内容识别模板详情列表。返回结果包含符合条件的所有用户自定义音视频内容识别模板及[系统预置音视频内容识别模板](https://cloud.tencent.com/document/product/266/33476#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E8.AF.86.E5.88.AB.E6.A8.A1.E6.9D.BF)。
|
|
@@ -642,8 +648,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
642
648
|
*/
|
|
643
649
|
DescribeHeadTailTemplates(req: DescribeHeadTailTemplatesRequest, cb?: (error: string, rep: DescribeHeadTailTemplatesResponse) => void): Promise<DescribeHeadTailTemplatesResponse>;
|
|
644
650
|
/**
|
|
645
|
-
|
|
646
|
-
|
|
651
|
+
* 获取审核模板列表。
|
|
652
|
+
>模板仅适用于 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 和 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 接口。
|
|
653
|
+
*/
|
|
647
654
|
DescribeReviewTemplates(req: DescribeReviewTemplatesRequest, cb?: (error: string, rep: DescribeReviewTemplatesResponse) => void): Promise<DescribeReviewTemplatesResponse>;
|
|
648
655
|
/**
|
|
649
656
|
* 该接口用于确认媒体文件(和封面文件)上传到腾讯云点播的结果,并存储媒体信息,返回文件的播放地址和文件 ID。
|
|
@@ -798,8 +805,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
798
805
|
*/
|
|
799
806
|
ModifySubAppIdStatus(req: ModifySubAppIdStatusRequest, cb?: (error: string, rep: ModifySubAppIdStatusResponse) => void): Promise<ModifySubAppIdStatusResponse>;
|
|
800
807
|
/**
|
|
801
|
-
|
|
802
|
-
|
|
808
|
+
* 该 API 已经<font color=red>不再维护</font>,新版审核模板支持音视频审核和图片审核,详细请参考 [修改审核模板](https://cloud.tencent.com/document/api/266/84388)。
|
|
809
|
+
修改用户自定义音视频内容审核模板。
|
|
810
|
+
*/
|
|
803
811
|
ModifyContentReviewTemplate(req: ModifyContentReviewTemplateRequest, cb?: (error: string, rep: ModifyContentReviewTemplateResponse) => void): Promise<ModifyContentReviewTemplateResponse>;
|
|
804
812
|
/**
|
|
805
813
|
* 该接口用于删除点播加速域名。
|
|
@@ -122,7 +122,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
122
122
|
1. 在控制台上创建和修改任务流模板;
|
|
123
123
|
2. 通过任务流模板接口创建任务流模板。
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
如使用事件通知,除音视频审核任务外的事件通知的类型为 [任务流状态变更](https://cloud.tencent.com/document/product/266/9636);音视频审核任务事件通知的类型为 [音视频审核完成](https://cloud.tencent.com/document/product/266/81258)。
|
|
126
126
|
*/
|
|
127
127
|
async ProcessMediaByProcedure(req, cb) {
|
|
128
128
|
return this.request("ProcessMediaByProcedure", req, cb);
|
|
@@ -282,8 +282,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
282
282
|
return this.request("DescribeMediaPlayStatDetails", req, cb);
|
|
283
283
|
}
|
|
284
284
|
/**
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
* 修改用户自定义审核模板。
|
|
286
|
+
>模板仅适用于 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 和 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 接口。
|
|
287
|
+
*/
|
|
287
288
|
async ModifyReviewTemplate(req, cb) {
|
|
288
289
|
return this.request("ModifyReviewTemplate", req, cb);
|
|
289
290
|
}
|
|
@@ -317,8 +318,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
317
318
|
return this.request("ExecuteFunction", req, cb);
|
|
318
319
|
}
|
|
319
320
|
/**
|
|
320
|
-
|
|
321
|
-
|
|
321
|
+
* 删除用户自定义审核模板。
|
|
322
|
+
>模板仅适用于 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 和 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 接口。
|
|
323
|
+
*/
|
|
322
324
|
async DeleteReviewTemplate(req, cb) {
|
|
323
325
|
return this.request("DeleteReviewTemplate", req, cb);
|
|
324
326
|
}
|
|
@@ -368,8 +370,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
368
370
|
return this.request("ComposeMedia", req, cb);
|
|
369
371
|
}
|
|
370
372
|
/**
|
|
371
|
-
|
|
372
|
-
|
|
373
|
+
* 该 API 已经<font color=red>不再维护</font>,新版审核模板支持音视频审核和图片审核,详细请参考 [创建审核模板](https://cloud.tencent.com/document/api/266/84391)。
|
|
374
|
+
创建用户自定义音视频内容审核模板,数量上限:50。
|
|
375
|
+
*/
|
|
373
376
|
async CreateContentReviewTemplate(req, cb) {
|
|
374
377
|
return this.request("CreateContentReviewTemplate", req, cb);
|
|
375
378
|
}
|
|
@@ -562,8 +565,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
562
565
|
return this.request("DescribeDailyMediaPlayStat", req, cb);
|
|
563
566
|
}
|
|
564
567
|
/**
|
|
565
|
-
|
|
566
|
-
|
|
568
|
+
* 该 API 已经<font color=red>不再维护</font>,新版审核模板支持音视频审核和图片审核,详细请参考 [删除审核模板](https://cloud.tencent.com/document/api/266/84390)。
|
|
569
|
+
删除用户自定义音视频内容审核模板。
|
|
570
|
+
*/
|
|
567
571
|
async DeleteContentReviewTemplate(req, cb) {
|
|
568
572
|
return this.request("DeleteContentReviewTemplate", req, cb);
|
|
569
573
|
}
|
|
@@ -644,8 +648,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
644
648
|
return this.request("ModifyTranscodeTemplate", req, cb);
|
|
645
649
|
}
|
|
646
650
|
/**
|
|
647
|
-
|
|
648
|
-
|
|
651
|
+
* 该 API 已经<font color=red>不再维护</font>,新版审核模板支持音视频审核和图片审核,详细请参考 [获取审核模板列表](https://cloud.tencent.com/document/api/266/84389)。
|
|
652
|
+
根据音视频内容审核模板唯一标识,获取音视频内容审核模板详情列表。返回结果包含符合条件的所有用户自定义模板及[系统预置内容审核模板](https://cloud.tencent.com/document/product/266/33476#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E5.AE.A1.E6.A0.B8.E6.A8.A1.E6.9D.BF)。
|
|
653
|
+
*/
|
|
649
654
|
async DescribeContentReviewTemplates(req, cb) {
|
|
650
655
|
return this.request("DescribeContentReviewTemplates", req, cb);
|
|
651
656
|
}
|
|
@@ -670,7 +675,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
670
675
|
5. 对视频截图雪碧图;
|
|
671
676
|
6. 对视频截取一张图做封面;
|
|
672
677
|
7. 对视频转自适应码流(并加密);
|
|
673
|
-
8.
|
|
678
|
+
8. 内容审核(令人反感的信息、不安全的信息、不适宜的信息),<font color=red>不建议</font> 使用该接口发起,推荐使用 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 或 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217);
|
|
674
679
|
9. 内容分析(标签、分类、封面、按帧标签);
|
|
675
680
|
10. 内容识别(视频片头片尾、人脸、文本全文、文本关键词、语音全文、语音关键词、物体)。
|
|
676
681
|
|
|
@@ -859,8 +864,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
859
864
|
return this.request("SetDrmKeyProviderInfo", req, cb);
|
|
860
865
|
}
|
|
861
866
|
/**
|
|
862
|
-
|
|
863
|
-
|
|
867
|
+
* 创建用户自定义审核模板,数量上限:50。
|
|
868
|
+
>模板仅适用于 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 和 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 接口。
|
|
869
|
+
*/
|
|
864
870
|
async CreateReviewTemplate(req, cb) {
|
|
865
871
|
return this.request("CreateReviewTemplate", req, cb);
|
|
866
872
|
}
|
|
@@ -889,8 +895,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
889
895
|
return this.request("DescribeHeadTailTemplates", req, cb);
|
|
890
896
|
}
|
|
891
897
|
/**
|
|
892
|
-
|
|
893
|
-
|
|
898
|
+
* 获取审核模板列表。
|
|
899
|
+
>模板仅适用于 [音视频审核(ReviewAudioVideo)](https://cloud.tencent.com/document/api/266/80283) 和 [图片审核(ReviewImage)](https://cloud.tencent.com/document/api/266/73217) 接口。
|
|
900
|
+
*/
|
|
894
901
|
async DescribeReviewTemplates(req, cb) {
|
|
895
902
|
return this.request("DescribeReviewTemplates", req, cb);
|
|
896
903
|
}
|
|
@@ -1085,8 +1092,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1085
1092
|
return this.request("ModifySubAppIdStatus", req, cb);
|
|
1086
1093
|
}
|
|
1087
1094
|
/**
|
|
1088
|
-
|
|
1089
|
-
|
|
1095
|
+
* 该 API 已经<font color=red>不再维护</font>,新版审核模板支持音视频审核和图片审核,详细请参考 [修改审核模板](https://cloud.tencent.com/document/api/266/84388)。
|
|
1096
|
+
修改用户自定义音视频内容审核模板。
|
|
1097
|
+
*/
|
|
1090
1098
|
async ModifyContentReviewTemplate(req, cb) {
|
|
1091
1099
|
return this.request("ModifyContentReviewTemplate", req, cb);
|
|
1092
1100
|
}
|