![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.vod.v20180717.VodClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.vod.v20180717;
import java.lang.reflect.Type;
import com.google.gson.JsonSyntaxException;
import com.google.gson.reflect.TypeToken;
import com.tencentcloudapi.common.exception.TencentCloudSDKException;
import com.tencentcloudapi.common.AbstractClient;
import com.tencentcloudapi.common.profile.ClientProfile;
import com.tencentcloudapi.common.JsonResponseModel;
import com.tencentcloudapi.common.Credential;
import com.tencentcloudapi.vod.v20180717.models.*;
public class VodClient extends AbstractClient{
private static String endpoint = "vod.tencentcloudapi.com";
private static String service = "vod";
private static String version = "2018-07-17";
public VodClient(Credential credential, String region) {
this(credential, region, new ClientProfile());
}
public VodClient(Credential credential, String region, ClientProfile profile) {
super(VodClient.endpoint, VodClient.version, credential, region, profile);
}
/**
** This API is used to apply for uploading a media file (and cover file) to VOD and obtain the metadata of file storage (including upload path and upload signature) for subsequent use by the uploading API.
* For the detailed upload process, please see [Overview of Upload from Client](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1).
* @param req ApplyUploadRequest
* @return ApplyUploadResponse
* @throws TencentCloudSDKException
*/
public ApplyUploadResponse ApplyUpload(ApplyUploadRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ApplyUpload", ApplyUploadResponse.class);
}
/**
*This API is used to associate/disassociate subtitles with/from a media file of a specific adaptive bitrate streaming template ID.
* @param req AttachMediaSubtitlesRequest
* @return AttachMediaSubtitlesResponse
* @throws TencentCloudSDKException
*/
public AttachMediaSubtitlesResponse AttachMediaSubtitles(AttachMediaSubtitlesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AttachMediaSubtitles", AttachMediaSubtitlesResponse.class);
}
/**
*Clone CDN Domain.
* @param req CloneCDNDomainRequest
* @return CloneCDNDomainResponse
* @throws TencentCloudSDKException
*/
public CloneCDNDomainResponse CloneCDNDomain(CloneCDNDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CloneCDNDomain", CloneCDNDomainResponse.class);
}
/**
*This API is used to confirm the result of uploading a media file (and cover file) to VOD, store the media information, and return the playback address and ID of the file.
* @param req CommitUploadRequest
* @return CommitUploadResponse
* @throws TencentCloudSDKException
*/
public CommitUploadResponse CommitUpload(CommitUploadRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CommitUpload", CommitUploadResponse.class);
}
/**
*This API is used to compose a media file. You can use it to do the following:
1. **Rotation/Flipping**: Rotate a video or image by a specific angle or flip a video or image.
2. **Audio control**: Increase/Lower the volume of an audio/video file or mute an audio/video file.
3. **Overlaying**: Overlay videos/images in a specified sequence to achieve the picture-in-picture effect.
4. **Audio mixing**: Mix the audios of audio/video files.
5 **Audio extraction**: Extract audio from a video.
6. **Clipping**: Clip segments from audio/video files according to a specified start and end time.
7. **Splicing**: Splice videos/audios/images in a specified sequence.
8. **Transition**: Add transition effects between video segments or images that are spliced together.
The output file is in MP4 or MP3 format. In the callback for media composition, the event type is [ComposeMediaComplete](https://intl.cloud.tencent.com/document/product/266/43000?from_cn_redirect=1).
* @param req ComposeMediaRequest
* @return ComposeMediaResponse
* @throws TencentCloudSDKException
*/
public ComposeMediaResponse ComposeMedia(ComposeMediaRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ComposeMedia", ComposeMediaResponse.class);
}
/**
** After the `PullEvents` API is called to get an event, this API must be called to confirm that the message has been received;
* After the event handler is obtained, the validity period of waiting for confirmation is 30 seconds. If the wait exceeds 30 seconds, a parameter error will be reported (4000);
* For more information, please see the [reliable callback](https://intl.cloud.tencent.com/document/product/266/33779?from_cn_redirect=1#.E5.8F.AF.E9.9D.A0.E5.9B.9E.E8.B0.83) of event notification.
* @param req ConfirmEventsRequest
* @return ConfirmEventsResponse
* @throws TencentCloudSDKException
*/
public ConfirmEventsResponse ConfirmEvents(ConfirmEventsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ConfirmEvents", ConfirmEventsResponse.class);
}
/**
*This API is used to create a custom video content analysis template. Up to 50 templates can be created.
* @param req CreateAIAnalysisTemplateRequest
* @return CreateAIAnalysisTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateAIAnalysisTemplateResponse CreateAIAnalysisTemplate(CreateAIAnalysisTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAIAnalysisTemplate", CreateAIAnalysisTemplateResponse.class);
}
/**
*This API is used to create a custom video content recognition template. Up to 50 templates can be created.
* @param req CreateAIRecognitionTemplateRequest
* @return CreateAIRecognitionTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateAIRecognitionTemplateResponse CreateAIRecognitionTemplate(CreateAIRecognitionTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAIRecognitionTemplate", CreateAIRecognitionTemplateResponse.class);
}
/**
*This API is used to create an adaptive bitrate streaming template. Up to 100 templates can be created.
* @param req CreateAdaptiveDynamicStreamingTemplateRequest
* @return CreateAdaptiveDynamicStreamingTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateAdaptiveDynamicStreamingTemplateResponse CreateAdaptiveDynamicStreamingTemplate(CreateAdaptiveDynamicStreamingTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAdaptiveDynamicStreamingTemplate", CreateAdaptiveDynamicStreamingTemplateResponse.class);
}
/**
*This API is used to create a custom animated image generating template. Up to 16 templates can be created.
* @param req CreateAnimatedGraphicsTemplateRequest
* @return CreateAnimatedGraphicsTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateAnimatedGraphicsTemplateResponse CreateAnimatedGraphicsTemplate(CreateAnimatedGraphicsTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAnimatedGraphicsTemplate", CreateAnimatedGraphicsTemplateResponse.class);
}
/**
*This API is used for adding domain names to VOD. A user can add up to 20 domain names. 1. After the domain name is added successfully, VOD will carry out the deployment of the domain name. It takes approximately 2 minutes for the domain name to change from the deployment status to the online status.
* @param req CreateCDNDomainRequest
* @return CreateCDNDomainResponse
* @throws TencentCloudSDKException
*/
public CreateCDNDomainResponse CreateCDNDomain(CreateCDNDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateCDNDomain", CreateCDNDomainResponse.class);
}
/**
** This API is used to categorize media assets for management;
* It does not affect the categories of existing media assets. If you want to modify the category of a media asset, call the [ModifyMediaInfo](https://intl.cloud.tencent.com/document/product/266/31762?from_cn_redirect=1) API.
* There can be up to 4 levels of categories.
* One category can have up to 500 subcategories under it.
* @param req CreateClassRequest
* @return CreateClassResponse
* @throws TencentCloudSDKException
*/
public CreateClassResponse CreateClass(CreateClassRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateClass", CreateClassResponse.class);
}
/**
*We have stopped updating this API. Our new moderation templates can moderate audio/video as well as images. For details, see [CreateReviewTemplate](https://intl.cloud.tencent.com/document/api/266/84391?from_cn_redirect=1).
This API is used to create a custom audio/video moderation template. Up to 50 templates can be created in total.
* @param req CreateContentReviewTemplateRequest
* @return CreateContentReviewTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateContentReviewTemplateResponse CreateContentReviewTemplate(CreateContentReviewTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateContentReviewTemplate", CreateContentReviewTemplateResponse.class);
}
/**
*This API is used for generating a subdomain resolution, prompting the customer to add it to the domain name resolution, used for wildcard domain and domain name retrieval verification of ownership.
* @param req CreateDomainVerifyRecordRequest
* @return CreateDomainVerifyRecordResponse
* @throws TencentCloudSDKException
*/
public CreateDomainVerifyRecordResponse CreateDomainVerifyRecord(CreateDomainVerifyRecordRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateDomainVerifyRecord", CreateDomainVerifyRecordResponse.class);
}
/**
*Create enhance media template.
* @param req CreateEnhanceMediaTemplateRequest
* @return CreateEnhanceMediaTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateEnhanceMediaTemplateResponse CreateEnhanceMediaTemplate(CreateEnhanceMediaTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateEnhanceMediaTemplate", CreateEnhanceMediaTemplateResponse.class);
}
/**
*Create HeadTail Template.
* @param req CreateHeadTailTemplateRequest
* @return CreateHeadTailTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateHeadTailTemplateResponse CreateHeadTailTemplate(CreateHeadTailTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateHeadTailTemplate", CreateHeadTailTemplateResponse.class);
}
/**
*This API is used to create a custom image processing template. A template can include at most 10 operations, for example, crop-scale-crop-blur-scale-crop-scale-crop-blur-scale. You can have up to 16 image processing templates.
* @param req CreateImageProcessingTemplateRequest
* @return CreateImageProcessingTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateImageProcessingTemplateResponse CreateImageProcessingTemplate(CreateImageProcessingTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateImageProcessingTemplate", CreateImageProcessingTemplateResponse.class);
}
/**
*This API is used to create a custom image sprite generating template. Up to 16 templates can be created.
* @param req CreateImageSpriteTemplateRequest
* @return CreateImageSpriteTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateImageSpriteTemplateResponse CreateImageSpriteTemplate(CreateImageSpriteTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateImageSpriteTemplate", CreateImageSpriteTemplateResponse.class);
}
/**
*Create Just In Time Transcode Template.
* @param req CreateJustInTimeTranscodeTemplateRequest
* @return CreateJustInTimeTranscodeTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateJustInTimeTranscodeTemplateResponse CreateJustInTimeTranscodeTemplate(CreateJustInTimeTranscodeTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateJustInTimeTranscodeTemplate", CreateJustInTimeTranscodeTemplateResponse.class);
}
/**
*This API is used to create samples for using facial features positioning and other technologies to perform video processing operations such as content recognition and inappropriate information recognition.
* @param req CreatePersonSampleRequest
* @return CreatePersonSampleResponse
* @throws TencentCloudSDKException
*/
public CreatePersonSampleResponse CreatePersonSample(CreatePersonSampleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePersonSample", CreatePersonSampleResponse.class);
}
/**
*This API is used to create a custom task flow template. Up to 50 templates can be created.
* @param req CreateProcedureTemplateRequest
* @return CreateProcedureTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateProcedureTemplateResponse CreateProcedureTemplate(CreateProcedureTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateProcedureTemplate", CreateProcedureTemplateResponse.class);
}
/**
*Creates media quality inspection template.
* @param req CreateQualityInspectTemplateRequest
* @return CreateQualityInspectTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateQualityInspectTemplateResponse CreateQualityInspectTemplate(CreateQualityInspectTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateQualityInspectTemplate", CreateQualityInspectTemplateResponse.class);
}
/**
*Create rebuild media template.
* @param req CreateRebuildMediaTemplateRequest
* @return CreateRebuildMediaTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateRebuildMediaTemplateResponse CreateRebuildMediaTemplate(CreateRebuildMediaTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateRebuildMediaTemplate", CreateRebuildMediaTemplateResponse.class);
}
/**
*This API is used to create a custom moderation template. Up to 50 templates can be created in total.
> The templates can only be used by the APIs [ReviewAudioVideo](https://intl.cloud.tencent.com/document/api/266/80283?from_cn_redirect=1) and [ReviewImage](https://intl.cloud.tencent.com/document/api/266/73217?from_cn_redirect=1).
* @param req CreateReviewTemplateRequest
* @return CreateReviewTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateReviewTemplateResponse CreateReviewTemplate(CreateReviewTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateReviewTemplate", CreateReviewTemplateResponse.class);
}
/**
*This API is used to create a playlist. You can create at most 100 playlists.
For each video on the list, you can either use the original file or a transcoding file.
The files must be in HLS format. Preferably, they should have the same bitrate and resolution.
* @param req CreateRoundPlayRequest
* @return CreateRoundPlayResponse
* @throws TencentCloudSDKException
*/
public CreateRoundPlayResponse CreateRoundPlay(CreateRoundPlayRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateRoundPlay", CreateRoundPlayResponse.class);
}
/**
*This API is used to create a custom sampled screencapturing template. Up to 16 templates can be created.
* @param req CreateSampleSnapshotTemplateRequest
* @return CreateSampleSnapshotTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateSampleSnapshotTemplateResponse CreateSampleSnapshotTemplate(CreateSampleSnapshotTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSampleSnapshotTemplate", CreateSampleSnapshotTemplateResponse.class);
}
/**
*This API is used to create a custom time point screencapturing template. Up to 16 templates can be created.
* @param req CreateSnapshotByTimeOffsetTemplateRequest
* @return CreateSnapshotByTimeOffsetTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateSnapshotByTimeOffsetTemplateResponse CreateSnapshotByTimeOffsetTemplate(CreateSnapshotByTimeOffsetTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSnapshotByTimeOffsetTemplate", CreateSnapshotByTimeOffsetTemplateResponse.class);
}
/**
*This API is used to enable storage in a region.
1. When you activate VOD, the system will enable storage for you in certain regions. If you need to store data in another region, you can use this API to enable storage in that region.
2. You can use the `DescribeStorageRegions` API to query all supported storage regions and the regions you have storage access to currently.
* @param req CreateStorageRegionRequest
* @return CreateStorageRegionResponse
* @throws TencentCloudSDKException
*/
public CreateStorageRegionResponse CreateStorageRegion(CreateStorageRegionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateStorageRegion", CreateStorageRegionResponse.class);
}
/**
*This API is used to create a VOD subapplication.
* @param req CreateSubAppIdRequest
* @return CreateSubAppIdResponse
* @throws TencentCloudSDKException
*/
public CreateSubAppIdResponse CreateSubAppId(CreateSubAppIdRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSubAppId", CreateSubAppIdResponse.class);
}
/**
*We have stopped updating this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to create a player configuration. Up to 100 configurations can be created.
* @param req CreateSuperPlayerConfigRequest
* @return CreateSuperPlayerConfigResponse
* @throws TencentCloudSDKException
*/
public CreateSuperPlayerConfigResponse CreateSuperPlayerConfig(CreateSuperPlayerConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSuperPlayerConfig", CreateSuperPlayerConfigResponse.class);
}
/**
*This API is used to create a custom transcoding template. Up to 100 templates can be created.
* @param req CreateTranscodeTemplateRequest
* @return CreateTranscodeTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateTranscodeTemplateResponse CreateTranscodeTemplate(CreateTranscodeTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateTranscodeTemplate", CreateTranscodeTemplateResponse.class);
}
/**
*This API is used to add an acceleration domain name to VOD. One user can add up to 20 domain names.
1. After a domain name is added, VOD will deploy it, and it takes about 2 minutes for the domain name status to change from `Deploying` to `Online`.
* @param req CreateVodDomainRequest
* @return CreateVodDomainResponse
* @throws TencentCloudSDKException
*/
public CreateVodDomainResponse CreateVodDomain(CreateVodDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateVodDomain", CreateVodDomainResponse.class);
}
/**
*This API is used to create a custom watermarking template. Up to 1,000 templates can be created.
* @param req CreateWatermarkTemplateRequest
* @return CreateWatermarkTemplateResponse
* @throws TencentCloudSDKException
*/
public CreateWatermarkTemplateResponse CreateWatermarkTemplate(CreateWatermarkTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateWatermarkTemplate", CreateWatermarkTemplateResponse.class);
}
/**
*This API is used to create keyword samples in batches for using OCR and ASR technologies to perform video processing operations such as content recognition and inappropriate information recognition.
* @param req CreateWordSamplesRequest
* @return CreateWordSamplesResponse
* @throws TencentCloudSDKException
*/
public CreateWordSamplesResponse CreateWordSamples(CreateWordSamplesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateWordSamples", CreateWordSamplesResponse.class);
}
/**
*This API is used to delete a custom video content analysis template.
Note: templates with an ID below 10000 are preset and cannot be deleted.
* @param req DeleteAIAnalysisTemplateRequest
* @return DeleteAIAnalysisTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteAIAnalysisTemplateResponse DeleteAIAnalysisTemplate(DeleteAIAnalysisTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAIAnalysisTemplate", DeleteAIAnalysisTemplateResponse.class);
}
/**
*This API is used to delete a custom video content recognition template.
* @param req DeleteAIRecognitionTemplateRequest
* @return DeleteAIRecognitionTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteAIRecognitionTemplateResponse DeleteAIRecognitionTemplate(DeleteAIRecognitionTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAIRecognitionTemplate", DeleteAIRecognitionTemplateResponse.class);
}
/**
*This API is used to delete an adaptive bitrate streaming template.
* @param req DeleteAdaptiveDynamicStreamingTemplateRequest
* @return DeleteAdaptiveDynamicStreamingTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteAdaptiveDynamicStreamingTemplateResponse DeleteAdaptiveDynamicStreamingTemplate(DeleteAdaptiveDynamicStreamingTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAdaptiveDynamicStreamingTemplate", DeleteAdaptiveDynamicStreamingTemplateResponse.class);
}
/**
*This API is used to delete a custom animated image generating template.
* @param req DeleteAnimatedGraphicsTemplateRequest
* @return DeleteAnimatedGraphicsTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteAnimatedGraphicsTemplateResponse DeleteAnimatedGraphicsTemplate(DeleteAnimatedGraphicsTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAnimatedGraphicsTemplate", DeleteAnimatedGraphicsTemplateResponse.class);
}
/**
*Delete CDN Domain
* @param req DeleteCDNDomainRequest
* @return DeleteCDNDomainResponse
* @throws TencentCloudSDKException
*/
public DeleteCDNDomainResponse DeleteCDNDomain(DeleteCDNDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteCDNDomain", DeleteCDNDomainResponse.class);
}
/**
** A category can be deleted only if it has no subcategories and associated media files;
* Otherwise, [delete the media files](https://intl.cloud.tencent.com/document/product/266/31764?from_cn_redirect=1) and subcategories first before deleting the category.
* @param req DeleteClassRequest
* @return DeleteClassResponse
* @throws TencentCloudSDKException
*/
public DeleteClassResponse DeleteClass(DeleteClassRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteClass", DeleteClassResponse.class);
}
/**
*We have stopped updating this API. Our new moderation templates can moderate audio/video as well as images. For details, see [DeleteReviewTemplate](https://intl.cloud.tencent.com/document/api/266/84390?from_cn_redirect=1).
This API is used to delete a custom audio/video moderation template.
* @param req DeleteContentReviewTemplateRequest
* @return DeleteContentReviewTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteContentReviewTemplateResponse DeleteContentReviewTemplate(DeleteContentReviewTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteContentReviewTemplate", DeleteContentReviewTemplateResponse.class);
}
/**
*Delete Enhance Media template
* @param req DeleteEnhanceMediaTemplateRequest
* @return DeleteEnhanceMediaTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteEnhanceMediaTemplateResponse DeleteEnhanceMediaTemplate(DeleteEnhanceMediaTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteEnhanceMediaTemplate", DeleteEnhanceMediaTemplateResponse.class);
}
/**
*Delete HeadTail Template
* @param req DeleteHeadTailTemplateRequest
* @return DeleteHeadTailTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteHeadTailTemplateResponse DeleteHeadTailTemplate(DeleteHeadTailTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteHeadTailTemplate", DeleteHeadTailTemplateResponse.class);
}
/**
*This API is used to delete an image processing template.
* @param req DeleteImageProcessingTemplateRequest
* @return DeleteImageProcessingTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteImageProcessingTemplateResponse DeleteImageProcessingTemplate(DeleteImageProcessingTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteImageProcessingTemplate", DeleteImageProcessingTemplateResponse.class);
}
/**
*This API is used to delete an image sprite generating template.
* @param req DeleteImageSpriteTemplateRequest
* @return DeleteImageSpriteTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteImageSpriteTemplateResponse DeleteImageSpriteTemplate(DeleteImageSpriteTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteImageSpriteTemplate", DeleteImageSpriteTemplateResponse.class);
}
/**
*Delete Just In Time Transcode Template.
* @param req DeleteJustInTimeTranscodeTemplateRequest
* @return DeleteJustInTimeTranscodeTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteJustInTimeTranscodeTemplateResponse DeleteJustInTimeTranscodeTemplate(DeleteJustInTimeTranscodeTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteJustInTimeTranscodeTemplate", DeleteJustInTimeTranscodeTemplateResponse.class);
}
/**
** This API is used to delete a media file and its processed files, such as the transcoded video files, image sprites, screenshots, and videos for publishing on WeChat.
* You can delete the original files, transcoded video files, and videos for publishing on WeChat, etc. of videos with specified IDs.
* Note: after the original file of a video is deleted, you cannot transcode the video, publish it on WeChat, or perform other operations on it.
* @param req DeleteMediaRequest
* @return DeleteMediaResponse
* @throws TencentCloudSDKException
*/
public DeleteMediaResponse DeleteMedia(DeleteMediaRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteMedia", DeleteMediaResponse.class);
}
/**
*This API is used to delete samples according to sample IDs.
* @param req DeletePersonSampleRequest
* @return DeletePersonSampleResponse
* @throws TencentCloudSDKException
*/
public DeletePersonSampleResponse DeletePersonSample(DeletePersonSampleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeletePersonSample", DeletePersonSampleResponse.class);
}
/**
*Delete user-created task flow templates.
* @param req DeleteProcedureTemplateRequest
* @return DeleteProcedureTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteProcedureTemplateResponse DeleteProcedureTemplate(DeleteProcedureTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteProcedureTemplate", DeleteProcedureTemplateResponse.class);
}
/**
*Deletes media quality inspection template.
* @param req DeleteQualityInspectTemplateRequest
* @return DeleteQualityInspectTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteQualityInspectTemplateResponse DeleteQualityInspectTemplate(DeleteQualityInspectTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteQualityInspectTemplate", DeleteQualityInspectTemplateResponse.class);
}
/**
*Delete rebuild media template.
* @param req DeleteRebuildMediaTemplateRequest
* @return DeleteRebuildMediaTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteRebuildMediaTemplateResponse DeleteRebuildMediaTemplate(DeleteRebuildMediaTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteRebuildMediaTemplate", DeleteRebuildMediaTemplateResponse.class);
}
/**
*This API is used to delete a custom moderation template.
> The templates can only be used by the APIs [ReviewAudioVideo](https://intl.cloud.tencent.com/document/api/266/80283?from_cn_redirect=1) and [ReviewImage](https://intl.cloud.tencent.com/document/api/266/73217?from_cn_redirect=1).
* @param req DeleteReviewTemplateRequest
* @return DeleteReviewTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteReviewTemplateResponse DeleteReviewTemplate(DeleteReviewTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteReviewTemplate", DeleteReviewTemplateResponse.class);
}
/**
*This API is used to delete a playlist.
* @param req DeleteRoundPlayRequest
* @return DeleteRoundPlayResponse
* @throws TencentCloudSDKException
*/
public DeleteRoundPlayResponse DeleteRoundPlay(DeleteRoundPlayRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteRoundPlay", DeleteRoundPlayResponse.class);
}
/**
*This API is used to delete a custom sampled screencapturing template.
* @param req DeleteSampleSnapshotTemplateRequest
* @return DeleteSampleSnapshotTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteSampleSnapshotTemplateResponse DeleteSampleSnapshotTemplate(DeleteSampleSnapshotTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSampleSnapshotTemplate", DeleteSampleSnapshotTemplateResponse.class);
}
/**
*This API is used to delete a custom time point screencapturing template.
* @param req DeleteSnapshotByTimeOffsetTemplateRequest
* @return DeleteSnapshotByTimeOffsetTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteSnapshotByTimeOffsetTemplateResponse DeleteSnapshotByTimeOffsetTemplate(DeleteSnapshotByTimeOffsetTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSnapshotByTimeOffsetTemplate", DeleteSnapshotByTimeOffsetTemplateResponse.class);
}
/**
*We have stopped updating this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to delete a player configuration.
*Note: Preset player configurations cannot be deleted.*
* @param req DeleteSuperPlayerConfigRequest
* @return DeleteSuperPlayerConfigResponse
* @throws TencentCloudSDKException
*/
public DeleteSuperPlayerConfigResponse DeleteSuperPlayerConfig(DeleteSuperPlayerConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSuperPlayerConfig", DeleteSuperPlayerConfigResponse.class);
}
/**
*This API is used to delete a custom transcoding template.
* @param req DeleteTranscodeTemplateRequest
* @return DeleteTranscodeTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteTranscodeTemplateResponse DeleteTranscodeTemplate(DeleteTranscodeTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteTranscodeTemplate", DeleteTranscodeTemplateResponse.class);
}
/**
*This API is used to delete an acceleration domain name from VOD.
1. Before deleting a domain name, disable its acceleration in all regions.
* @param req DeleteVodDomainRequest
* @return DeleteVodDomainResponse
* @throws TencentCloudSDKException
*/
public DeleteVodDomainResponse DeleteVodDomain(DeleteVodDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteVodDomain", DeleteVodDomainResponse.class);
}
/**
*This API is used to delete a custom watermarking template.
* @param req DeleteWatermarkTemplateRequest
* @return DeleteWatermarkTemplateResponse
* @throws TencentCloudSDKException
*/
public DeleteWatermarkTemplateResponse DeleteWatermarkTemplate(DeleteWatermarkTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteWatermarkTemplate", DeleteWatermarkTemplateResponse.class);
}
/**
*This API is used to delete keyword samples in batches.
* @param req DeleteWordSamplesRequest
* @return DeleteWordSamplesResponse
* @throws TencentCloudSDKException
*/
public DeleteWordSamplesResponse DeleteWordSamples(DeleteWordSamplesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteWordSamples", DeleteWordSamplesResponse.class);
}
/**
*This API is used to get the list of video content analysis templates based on unique template ID. The returned result includes all eligible custom and [preset video content analysis templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.A7.86.E9.A2.91.E5.86.85.E5.AE.B9.E5.88.86.E6.9E.90.E6.A8.A1.E6.9D.BF).
* @param req DescribeAIAnalysisTemplatesRequest
* @return DescribeAIAnalysisTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeAIAnalysisTemplatesResponse DescribeAIAnalysisTemplates(DescribeAIAnalysisTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAIAnalysisTemplates", DescribeAIAnalysisTemplatesResponse.class);
}
/**
*This API is used to get the list of video content recognition templates based on unique template ID. The return result includes all eligible custom and [preset video content recognition templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.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).
* @param req DescribeAIRecognitionTemplatesRequest
* @return DescribeAIRecognitionTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeAIRecognitionTemplatesResponse DescribeAIRecognitionTemplates(DescribeAIRecognitionTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAIRecognitionTemplates", DescribeAIRecognitionTemplatesResponse.class);
}
/**
*This API is used to query the list of transcoding to adaptive bitrate streaming templates and supports paged queries by filters.
* @param req DescribeAdaptiveDynamicStreamingTemplatesRequest
* @return DescribeAdaptiveDynamicStreamingTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeAdaptiveDynamicStreamingTemplatesResponse DescribeAdaptiveDynamicStreamingTemplates(DescribeAdaptiveDynamicStreamingTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAdaptiveDynamicStreamingTemplates", DescribeAdaptiveDynamicStreamingTemplatesResponse.class);
}
/**
** This API is used to get the information of all categories.
* @param req DescribeAllClassRequest
* @return DescribeAllClassResponse
* @throws TencentCloudSDKException
*/
public DescribeAllClassResponse DescribeAllClass(DescribeAllClassRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAllClass", DescribeAllClassResponse.class);
}
/**
*This API is used to query the list of animated image generating templates and supports paged queries by filters.
* @param req DescribeAnimatedGraphicsTemplatesRequest
* @return DescribeAnimatedGraphicsTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeAnimatedGraphicsTemplatesResponse DescribeAnimatedGraphicsTemplates(DescribeAnimatedGraphicsTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAnimatedGraphicsTemplates", DescribeAnimatedGraphicsTemplatesResponse.class);
}
/**
*Describe CDN Domains
* @param req DescribeCDNDomainsRequest
* @return DescribeCDNDomainsResponse
* @throws TencentCloudSDKException
*/
public DescribeCDNDomainsResponse DescribeCDNDomains(DescribeCDNDomainsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCDNDomains", DescribeCDNDomainsResponse.class);
}
/**
*This API is used to query CDN bandwidth, traffic, and other data of VOD domain names.
* The query period is up to 90 days.
* You can query data of different service regions.
* You can query data of Chinese mainland by region and ISP.
* @param req DescribeCDNStatDetailsRequest
* @return DescribeCDNStatDetailsResponse
* @throws TencentCloudSDKException
*/
public DescribeCDNStatDetailsResponse DescribeCDNStatDetails(DescribeCDNStatDetailsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCDNStatDetails", DescribeCDNStatDetailsResponse.class);
}
/**
*This API is used to query the CDN statistics of VOD such as traffic and bandwidth.
1. Only CDN usage data for the last 365 days can be queried.
2. The query time range cannot be more than 90 days.
3. The time granularity of usage data can be specified, including 5-minute, 1-hour, and 1-day.
4. Traffic refers to the total traffic within the query time granularity, while bandwidth the peak bandwidth.
* @param req DescribeCDNUsageDataRequest
* @return DescribeCDNUsageDataResponse
* @throws TencentCloudSDKException
*/
public DescribeCDNUsageDataResponse DescribeCDNUsageData(DescribeCDNUsageDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCDNUsageData", DescribeCDNUsageDataResponse.class);
}
/**
*This API is used to query the download links of CDN access logs of a VOD domain name.
1. Only download links of CDN logs for the last 30 days can be queried.
2. By default, CDN generates a log file every hour. If there is no CDN access for a certain hour, no log file will be generated for the hour.
3. A CDN log download link is valid for 24 hours.
* @param req DescribeCdnLogsRequest
* @return DescribeCdnLogsResponse
* @throws TencentCloudSDKException
*/
public DescribeCdnLogsResponse DescribeCdnLogs(DescribeCdnLogsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeCdnLogs", DescribeCdnLogsResponse.class);
}
/**
*This interface returns client upload acceleration statistics within the query time range.
1. You can query the client upload acceleration statistics in the last 365 days.
2. The query time span does not exceed 90 days.
3. If the query time span exceeds 1 day, data with day granularity will be returned. Otherwise, data with 5-minute granularity will be returned.
* @param req DescribeClientUploadAccelerationUsageDataRequest
* @return DescribeClientUploadAccelerationUsageDataResponse
* @throws TencentCloudSDKException
*/
public DescribeClientUploadAccelerationUsageDataResponse DescribeClientUploadAccelerationUsageData(DescribeClientUploadAccelerationUsageDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeClientUploadAccelerationUsageData", DescribeClientUploadAccelerationUsageDataResponse.class);
}
/**
*We have stopped updating this API. Our new moderation templates can moderate audio/video as well as images. For details, see [DescribeReviewTemplates](https://intl.cloud.tencent.com/document/api/266/84389?from_cn_redirect=1).
This API is used to get the information of custom and [preset](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.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) audio/video moderation templates based on template IDs.
* @param req DescribeContentReviewTemplatesRequest
* @return DescribeContentReviewTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeContentReviewTemplatesResponse DescribeContentReviewTemplates(DescribeContentReviewTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeContentReviewTemplates", DescribeContentReviewTemplatesResponse.class);
}
/**
*This API is used to query the download links of playback statistics files.
* You can query the download links of playback statistics files in the past year. The start and end dates for query cannot be more than 90 days apart.
* Every day, VOD will analyze CDN request logs of the previous day and then generate a playback statistics file.
* A playback statistics file includes playback times and traffic of media files.
* Notes on playback times:
1. HLS file: VOD counts playback times when M3U8 files are accessed, but not when TS files are accessed.
2. Other files (MP4 files for example): VOD does not count playback times when the playback request carries the `range` parameter and the `start` parameter in `range` is not `0`. In other cases, VOD counts playback times.
* Statistics on playback devices: VOD counts playback times on mobile clients when the playback request carries the `UserAgent` parameter which includes an identifier such as `Android` or `iPhone`. In other cases, VOD counts playback times on PC clients.
* @param req DescribeDailyPlayStatFileListRequest
* @return DescribeDailyPlayStatFileListResponse
* @throws TencentCloudSDKException
*/
public DescribeDailyPlayStatFileListResponse DescribeDailyPlayStatFileList(DescribeDailyPlayStatFileListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDailyPlayStatFileList", DescribeDailyPlayStatFileListResponse.class);
}
/**
*This API is used to query DRM key information.
* @param req DescribeDrmKeyProviderInfoRequest
* @return DescribeDrmKeyProviderInfoResponse
* @throws TencentCloudSDKException
*/
public DescribeDrmKeyProviderInfoResponse DescribeDrmKeyProviderInfo(DescribeDrmKeyProviderInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDrmKeyProviderInfo", DescribeDrmKeyProviderInfoResponse.class);
}
/**
*Describe Enhance Media Templates.
* @param req DescribeEnhanceMediaTemplatesRequest
* @return DescribeEnhanceMediaTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeEnhanceMediaTemplatesResponse DescribeEnhanceMediaTemplates(DescribeEnhanceMediaTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeEnhanceMediaTemplates", DescribeEnhanceMediaTemplatesResponse.class);
}
/**
*Tencent Cloud VOD provides customers with services such as media upload, media management, and media processing. During or after the execution of these services, Tencent Cloud VOD also offers various corresponding event notifications to facilitate developers' awareness of the service processing status and to perform subsequent business operations. Developers can use this interface to query the current configuration of event notification reception methods, reception addresses, and which events have callback notification reception enabled.
* @param req DescribeEventConfigRequest
* @return DescribeEventConfigResponse
* @throws TencentCloudSDKException
*/
public DescribeEventConfigResponse DescribeEventConfig(DescribeEventConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeEventConfig", DescribeEventConfigResponse.class);
}
/**
*This API is used to get file attributes asynchronously.
- Currently, this API can only get the MD5 hash of a file.
- If the file queried is in HLS or DASH format, the attributes of the index file will be returned.
* @param req DescribeFileAttributesRequest
* @return DescribeFileAttributesResponse
* @throws TencentCloudSDKException
*/
public DescribeFileAttributesResponse DescribeFileAttributes(DescribeFileAttributesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeFileAttributes", DescribeFileAttributesResponse.class);
}
/**
*Describe HeadTail Templates.
* @param req DescribeHeadTailTemplatesRequest
* @return DescribeHeadTailTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeHeadTailTemplatesResponse DescribeHeadTailTemplates(DescribeHeadTailTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeHeadTailTemplates", DescribeHeadTailTemplatesResponse.class);
}
/**
*This API is used to query image processing templates. You can specify the filters as well as the offset to start returning records from.
* @param req DescribeImageProcessingTemplatesRequest
* @return DescribeImageProcessingTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeImageProcessingTemplatesResponse DescribeImageProcessingTemplates(DescribeImageProcessingTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeImageProcessingTemplates", DescribeImageProcessingTemplatesResponse.class);
}
/**
*This interface returns the image review usage information used every day within the query time range.
1. You can query the image review statistics for the last 365 days.
2. The query time span does not exceed 90 days.
3. If the query time span exceeds 1 day, data with a granularity of days will be returned. Otherwise, data with a granularity of 5 minutes will be returned.
* @param req DescribeImageReviewUsageDataRequest
* @return DescribeImageReviewUsageDataResponse
* @throws TencentCloudSDKException
*/
public DescribeImageReviewUsageDataResponse DescribeImageReviewUsageData(DescribeImageReviewUsageDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeImageReviewUsageData", DescribeImageReviewUsageDataResponse.class);
}
/**
*This API is used to query the list of image sprite generating templates and supports paged queries by filters.
* @param req DescribeImageSpriteTemplatesRequest
* @return DescribeImageSpriteTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeImageSpriteTemplatesResponse DescribeImageSpriteTemplates(DescribeImageSpriteTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeImageSpriteTemplates", DescribeImageSpriteTemplatesResponse.class);
}
/**
*Describe Just In Time Transcode Templates.
* @param req DescribeJustInTimeTranscodeTemplatesRequest
* @return DescribeJustInTimeTranscodeTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeJustInTimeTranscodeTemplatesResponse DescribeJustInTimeTranscodeTemplates(DescribeJustInTimeTranscodeTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeJustInTimeTranscodeTemplates", DescribeJustInTimeTranscodeTemplatesResponse.class);
}
/**
*This interface returns information about the number of license requests per day within the query time range.
1. You can query the license request statistics in the last 365 days.
2. The query time span does not exceed 90 days.
3. If the query time span exceeds 1 day, data with a granularity of days will be returned. Otherwise, data with a granularity of 5 minutes will be returned.
* @param req DescribeLicenseUsageDataRequest
* @return DescribeLicenseUsageDataResponse
* @throws TencentCloudSDKException
*/
public DescribeLicenseUsageDataResponse DescribeLicenseUsageData(DescribeLicenseUsageDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeLicenseUsageData", DescribeLicenseUsageDataResponse.class);
}
/**
*1. This API is used to get the information of multiple media files. Specifically, the information returned is as follows:
1. `basicInfo`: Basic information including the file name, category, playback URL, and thumbnail.
2. `metaData`: Metadata including the file size, duration, video stream information, and audio stream information.
3. `transcodeInfo`: Transcoding information including the URLs, video stream parameters, and audio stream parameters of transcoding outputs.
4. `animatedGraphicsInfo`: The information of the animated images (such as GIF images) generated.
5. `sampleSnapshotInfo`: The information of the sampled screenshots generated.
6. `imageSpriteInfo`: The information of the image sprites generated.
7. `snapshotByTimeOffsetInfo`: The information of the time point screenshots generated.
8. `keyFrameDescInfo`: The video timestamp information.
9. `adaptiveDynamicStreamingInfo`: Adaptive bitrate information including the specifications, encryption type, and formats of the streams.
10. `reviewInfo`: Moderation details for audio/video content and thumbnails.
2. You can specify what information to return.
* @param req DescribeMediaInfosRequest
* @return DescribeMediaInfosResponse
* @throws TencentCloudSDKException
*/
public DescribeMediaInfosResponse DescribeMediaInfos(DescribeMediaInfosRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeMediaInfos", DescribeMediaInfosResponse.class);
}
/**
*This API is used to query the playback statistics of a media file at the specified granularity.
* You can query playback statistics in the past year.
* If the granularity is an hour, the start and end time cannot be more than seven days apart.
* If the granularity is a day, the start and end time cannot be more than 90 days apart.
* @param req DescribeMediaPlayStatDetailsRequest
* @return DescribeMediaPlayStatDetailsResponse
* @throws TencentCloudSDKException
*/
public DescribeMediaPlayStatDetailsResponse DescribeMediaPlayStatDetails(DescribeMediaPlayStatDetailsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeMediaPlayStatDetails", DescribeMediaPlayStatDetailsResponse.class);
}
/**
*This API is used to query the information of video processing usage within the specified time range.
1. Statistics on video processing for the last 365 days can be queried.
2. The query time range cannot be more than 90 days.
* @param req DescribeMediaProcessUsageDataRequest
* @return DescribeMediaProcessUsageDataResponse
* @throws TencentCloudSDKException
*/
public DescribeMediaProcessUsageDataResponse DescribeMediaProcessUsageData(DescribeMediaProcessUsageDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeMediaProcessUsageData", DescribeMediaProcessUsageDataResponse.class);
}
/**
*This API is used to query the information of samples and supports paginated queries by sample ID, name, and tag.
* @param req DescribePersonSamplesRequest
* @return DescribePersonSamplesResponse
* @throws TencentCloudSDKException
*/
public DescribePersonSamplesResponse DescribePersonSamples(DescribePersonSamplesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribePersonSamples", DescribePersonSamplesResponse.class);
}
/**
*This API is used to get the list of task flow template details by task flow template name.
* @param req DescribeProcedureTemplatesRequest
* @return DescribeProcedureTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeProcedureTemplatesResponse DescribeProcedureTemplates(DescribeProcedureTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeProcedureTemplates", DescribeProcedureTemplatesResponse.class);
}
/**
*Get media quality inspection Template List.
* @param req DescribeQualityInspectTemplatesRequest
* @return DescribeQualityInspectTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeQualityInspectTemplatesResponse DescribeQualityInspectTemplates(DescribeQualityInspectTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeQualityInspectTemplates", DescribeQualityInspectTemplatesResponse.class);
}
/**
*Describe Rebuild Media Templates
* @param req DescribeRebuildMediaTemplatesRequest
* @return DescribeRebuildMediaTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeRebuildMediaTemplatesResponse DescribeRebuildMediaTemplates(DescribeRebuildMediaTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeRebuildMediaTemplates", DescribeRebuildMediaTemplatesResponse.class);
}
/**
*This API is disused and replaced by [DescribeMediaProcessUsageData](https://intl.cloud.tencent.com/document/product/266/41464?from_cn_redirect=1).
This API returns the video content duration for intelligent recognition in seconds per day within the queried period.
1. The API is used to query statistics on the video content duration for intelligent recognition in the last 365 days.
2. The query period is up to 90 days.
* @param req DescribeReviewDetailsRequest
* @return DescribeReviewDetailsResponse
* @throws TencentCloudSDKException
*/
public DescribeReviewDetailsResponse DescribeReviewDetails(DescribeReviewDetailsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeReviewDetails", DescribeReviewDetailsResponse.class);
}
/**
*This API is used to get the information of moderation templates.
> The templates can only be used by the APIs [ReviewAudioVideo](https://intl.cloud.tencent.com/document/api/266/80283?from_cn_redirect=1) and [ReviewImage](https://intl.cloud.tencent.com/document/api/266/73217?from_cn_redirect=1).
* @param req DescribeReviewTemplatesRequest
* @return DescribeReviewTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeReviewTemplatesResponse DescribeReviewTemplates(DescribeReviewTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeReviewTemplates", DescribeReviewTemplatesResponse.class);
}
/**
*This API is used to query playlists.
* @param req DescribeRoundPlaysRequest
* @return DescribeRoundPlaysResponse
* @throws TencentCloudSDKException
*/
public DescribeRoundPlaysResponse DescribeRoundPlays(DescribeRoundPlaysRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeRoundPlays", DescribeRoundPlaysResponse.class);
}
/**
*This API is used to query the list of sampled screencapturing templates and supports paged queries by filters.
* @param req DescribeSampleSnapshotTemplatesRequest
* @return DescribeSampleSnapshotTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeSampleSnapshotTemplatesResponse DescribeSampleSnapshotTemplates(DescribeSampleSnapshotTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSampleSnapshotTemplates", DescribeSampleSnapshotTemplatesResponse.class);
}
/**
*This API is used to query the list of time point screencapturing templates and supports paged queries by filters.
* @param req DescribeSnapshotByTimeOffsetTemplatesRequest
* @return DescribeSnapshotByTimeOffsetTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeSnapshotByTimeOffsetTemplatesResponse DescribeSnapshotByTimeOffsetTemplates(DescribeSnapshotByTimeOffsetTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSnapshotByTimeOffsetTemplates", DescribeSnapshotByTimeOffsetTemplatesResponse.class);
}
/**
*This API is used to query the storage capacity usage and number of files.
* @param req DescribeStorageDataRequest
* @return DescribeStorageDataResponse
* @throws TencentCloudSDKException
*/
public DescribeStorageDataResponse DescribeStorageData(DescribeStorageDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeStorageData", DescribeStorageDataResponse.class);
}
/**
*This API is used to query VOD storage usage in bytes within the query period.
1. You can only query storage usage for the last 365 days.
2. The query period is up to 90 days.
3. The query period at minute-level granularity is up to 7 days.
* @param req DescribeStorageDetailsRequest
* @return DescribeStorageDetailsResponse
* @throws TencentCloudSDKException
*/
public DescribeStorageDetailsResponse DescribeStorageDetails(DescribeStorageDetailsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeStorageDetails", DescribeStorageDetailsResponse.class);
}
/**
*This API is used to query the following information:
1. All supported storage regions.
2. The regions you have storage access to currently.
3. The default storage region.
* @param req DescribeStorageRegionsRequest
* @return DescribeStorageRegionsResponse
* @throws TencentCloudSDKException
*/
public DescribeStorageRegionsResponse DescribeStorageRegions(DescribeStorageRegionsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeStorageRegions", DescribeStorageRegionsResponse.class);
}
/**
*This API is used to query the list of the primary application and subapplications of the current account.
* @param req DescribeSubAppIdsRequest
* @return DescribeSubAppIdsResponse
* @throws TencentCloudSDKException
*/
public DescribeSubAppIdsResponse DescribeSubAppIds(DescribeSubAppIdsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSubAppIds", DescribeSubAppIdsResponse.class);
}
/**
*We have stopped updating this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to query player configurations. It supports pagination.
* @param req DescribeSuperPlayerConfigsRequest
* @return DescribeSuperPlayerConfigsResponse
* @throws TencentCloudSDKException
*/
public DescribeSuperPlayerConfigsResponse DescribeSuperPlayerConfigs(DescribeSuperPlayerConfigsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSuperPlayerConfigs", DescribeSuperPlayerConfigsResponse.class);
}
/**
*This API is used to query the details of execution status and result of a task submitted in the last 3 days by task ID.
* @param req DescribeTaskDetailRequest
* @return DescribeTaskDetailResponse
* @throws TencentCloudSDKException
*/
public DescribeTaskDetailResponse DescribeTaskDetail(DescribeTaskDetailRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTaskDetail", DescribeTaskDetailResponse.class);
}
/**
** This API is used to query the task list;
* If there are many data entries in the list, one single call of the API may not be able to pull the entire list. The `ScrollToken` parameter can be used to pull the list in batches;
* Only tasks in the last three days (72 hours) can be queried.
* @param req DescribeTasksRequest
* @return DescribeTasksResponse
* @throws TencentCloudSDKException
*/
public DescribeTasksResponse DescribeTasks(DescribeTasksRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTasks", DescribeTasksResponse.class);
}
/**
*This API is used to get the list of transcoding templates based on unique template ID. The return result includes all eligible custom and [preset transcoding templates](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1#.E9.A2.84.E7.BD.AE.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).
* @param req DescribeTranscodeTemplatesRequest
* @return DescribeTranscodeTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeTranscodeTemplatesResponse DescribeTranscodeTemplates(DescribeTranscodeTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTranscodeTemplates", DescribeTranscodeTemplatesResponse.class);
}
/**
*This API is used to query the list of VOD domain names.
* @param req DescribeVodDomainsRequest
* @return DescribeVodDomainsResponse
* @throws TencentCloudSDKException
*/
public DescribeVodDomainsResponse DescribeVodDomains(DescribeVodDomainsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeVodDomains", DescribeVodDomainsResponse.class);
}
/**
*This API is used to query custom watermarking templates and supports paged queries by filters.
* @param req DescribeWatermarkTemplatesRequest
* @return DescribeWatermarkTemplatesResponse
* @throws TencentCloudSDKException
*/
public DescribeWatermarkTemplatesResponse DescribeWatermarkTemplates(DescribeWatermarkTemplatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeWatermarkTemplates", DescribeWatermarkTemplatesResponse.class);
}
/**
*This API is used to perform paginated queries of keyword sample information by use case, keyword, and tag.
* @param req DescribeWordSamplesRequest
* @return DescribeWordSamplesResponse
* @throws TencentCloudSDKException
*/
public DescribeWordSamplesResponse DescribeWordSamples(DescribeWordSamplesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeWordSamples", DescribeWordSamplesResponse.class);
}
/**
*Edit the video (cut, splice, etc.) to generate a new video. The editing functions include:
1. Edit a file in the VOD video to generate a new video;
2. Splice multiple files to generate a new video;
3. Edit multiple files and then splice them to generate a new video;
4. Directly generate a new video for a stream;
5. Edit a stream to generate a new video. Video;
6. Splice multiple streams to generate a new video;
7. Clip and then splice multiple streams to generate a new video.
For the generated new video, you can also specify whether the generated video needs to execute the task flow.
>When editing or splicing live streams, please make sure to do so after the stream is over. Otherwise the resulting video may be incomplete.
If event notification is used, the type of event notification is [Video editing completed](https://intl.cloud.tencent.com/document/product/266/33794?from_cn_redirect=1).
* @param req EditMediaRequest
* @return EditMediaResponse
* @throws TencentCloudSDKException
*/
public EditMediaResponse EditMedia(EditMediaRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "EditMedia", EditMediaResponse.class);
}
/**
*Enhance Media By Template.
* @param req EnhanceMediaByTemplateRequest
* @return EnhanceMediaByTemplateResponse
* @throws TencentCloudSDKException
*/
public EnhanceMediaByTemplateResponse EnhanceMediaByTemplate(EnhanceMediaByTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "EnhanceMediaByTemplate", EnhanceMediaByTemplateResponse.class);
}
/**
*Initiate a Remaster task for audio and video media in VOD
* @param req EnhanceMediaQualityRequest
* @return EnhanceMediaQualityResponse
* @throws TencentCloudSDKException
*/
public EnhanceMediaQualityResponse EnhanceMediaQuality(EnhanceMediaQualityRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "EnhanceMediaQuality", EnhanceMediaQualityResponse.class);
}
/**
*This API is only used in special scenarios of custom development. Unless requested by VOD customer service, please do not call it.
* @param req ExecuteFunctionRequest
* @return ExecuteFunctionResponse
* @throws TencentCloudSDKException
*/
public ExecuteFunctionResponse ExecuteFunction(ExecuteFunctionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ExecuteFunction", ExecuteFunctionResponse.class);
}
/**
*Extract CopyRight Watermark.
* @param req ExtractCopyRightWatermarkRequest
* @return ExtractCopyRightWatermarkResponse
* @throws TencentCloudSDKException
*/
public ExtractCopyRightWatermarkResponse ExtractCopyRightWatermark(ExtractCopyRightWatermarkRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ExtractCopyRightWatermark", ExtractCopyRightWatermarkResponse.class);
}
/**
*This API is used to extract the user ID of a user that distributed a video containing a digital watermark.
* @param req ExtractTraceWatermarkRequest
* @return ExtractTraceWatermarkResponse
* @throws TencentCloudSDKException
*/
public ExtractTraceWatermarkResponse ExtractTraceWatermark(ExtractTraceWatermarkRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ExtractTraceWatermark", ExtractTraceWatermarkResponse.class);
}
/**
*Implement quick concatenation and quick clipping for Tencent Cloud VOD's HLS videos to generate new media in HLS format. The video generated by quick concatenation or clipping will produce a new FileId and undergo solidification. After successful solidification, the new video file exists independently of the original input video and is not affected by deletions or other actions on the original video. Note: Enable the reception of persistence completed event notifications through the ModifyEvent config interface, and a PersistenceComplete type event notification will be received after successful solidification. Before receiving this event notification, operations such as deletion or cooling down of the original input video should not be performed, otherwise, abnormal playback may occur in the video generated by the concatenation and clipping.
* @param req FastEditMediaRequest
* @return FastEditMediaResponse
* @throws TencentCloudSDKException
*/
public FastEditMediaResponse FastEditMedia(FastEditMediaRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "FastEditMedia", FastEditMediaResponse.class);
}
/**
** After a media file is forbidden, except previewing it in the VOD Console, accessing the URLs of its various resources (such as source file, output files, and screenshots) in other scenarios will return error 403.
It takes about 5-10 minutes for a forbidding/unblocking operation to take effect across the entire network.
* @param req ForbidMediaDistributionRequest
* @return ForbidMediaDistributionResponse
* @throws TencentCloudSDKException
*/
public ForbidMediaDistributionResponse ForbidMediaDistribution(ForbidMediaDistributionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ForbidMediaDistribution", ForbidMediaDistributionResponse.class);
}
/**
*Initiate media quality inspection task.
* @param req InspectMediaQualityRequest
* @return InspectMediaQualityResponse
* @throws TencentCloudSDKException
*/
public InspectMediaQualityResponse InspectMediaQuality(InspectMediaQualityRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "InspectMediaQuality", InspectMediaQualityResponse.class);
}
/**
*Live broadcast real-time editing means that during the live broadcast process (that is, before the live broadcast has ended), customers can select a section of past live broadcast content to generate a new video (HLS format) in real time. Developers can share it immediately, or permanently Save it.
Tencent Cloud VOD supports two real-time editing modes:
- Editing and solidification: Save the edited video as an independent video with an independent FileId; suitable for scenes where the highlight clips are saved for a long time;
- Editing is not solidified: the edited video is attached to the live broadcast recording file and does not have an independent FileId; it is suitable for scenarios where highlight clips are **temporarily shared**.
Notice:
- The prerequisite for using the live broadcast real-time editing function is that the target live stream has the [Time Shift Replay](https://intl.cloud.tencent.com/document/product/267/32742?from_cn_redirect=1) function enabled.
- Live broadcast real-time editing is based on the m3u8 file generated by live broadcast recording, so its minimum editing accuracy is one ts slice, and it is impossible to achieve second-level or more precise editing accuracy.
- Since the stream may be interrupted during the live broadcast, the actual video duration generated by editing may be inconsistent with expectations. For example, the time interval for editing a live stream is from 2018-09-20T10:30:00Z to 2018-09-20T10:40:00Z. If the stream is interrupted during this time interval, the duration of the returned media asset file will be Less than 10 minutes, in which case it can be sensed via the output parameter SegmentSet.
### Clip solidification
Clip solidification means saving the clipped video into an independent video (with an independent FileId). Its life cycle is not affected by the original live broadcast recording video (even if the original recording video is deleted, the editing results will not be affected in any way); it can also be subjected to secondary processing such as transcoding.
For example: for a complete football match, the original video recorded live may be as long as 2 hours. To save costs, the customer can store this video for 2 months, but for the "highlight moment" video that is edited in real time during the live broadcast However, you can specify a longer storage period, and at the same time, you can separately transcode the "highlight moments" video and other on-demand operations. At this time, you can choose the solution of real-time editing and solidification of the live broadcast.
The advantage of editing and curing is that its life cycle is independent of the original recorded video, and can be managed independently and stored for a long time.
Notice: If solidification is specified during clipping, enable the reception of persistence completed event notifications through the ModifyEventConfig interface. After successful solidification, an event notification of type PersistenceComplete will be received. Before receiving this event notification, operations such as deletion or cooling down of live recording videos should not be performed, otherwise, abnormal playback may occur in the video generated by the clipping.
### Clips are not solidified
The editing is not solidified, which means that the result of editing (m3u8 file) and the live recording video share the same ts fragment. The newly generated video is not an independent and complete video (no independent FileId, only playback URL), and its validity period is the same as the live broadcast. The validity period of the complete recorded video is the same. Once the video recorded during the live broadcast is deleted, the clip will also become unplayable.
The clip is not solidified. Because the clip result is not an independent video, it will not be included in on-demand media asset video management (for example, the total number of videos in the console will not count this clip), and this clip cannot be transcoded separately. Video processing operations.
The advantage of not solidifying editing is that its editing operation is very "lightweight" and does not generate additional storage overhead. However, its disadvantage is that the life cycle is the same as the original recorded video, and further video processing such as transcoding cannot be performed.
* @param req LiveRealTimeClipRequest
* @return LiveRealTimeClipResponse
* @throws TencentCloudSDKException
*/
public LiveRealTimeClipResponse LiveRealTimeClip(LiveRealTimeClipRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "LiveRealTimeClip", LiveRealTimeClipResponse.class);
}
/**
*This API is used to manage initiated tasks.
* @param req ManageTaskRequest
* @return ManageTaskResponse
* @throws TencentCloudSDKException
*/
public ManageTaskResponse ManageTask(ManageTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ManageTask", ManageTaskResponse.class);
}
/**
*This API is used to modify a custom video content analysis template.
Note: templates with an ID below 10000 are preset and cannot be modified.
* @param req ModifyAIAnalysisTemplateRequest
* @return ModifyAIAnalysisTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyAIAnalysisTemplateResponse ModifyAIAnalysisTemplate(ModifyAIAnalysisTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAIAnalysisTemplate", ModifyAIAnalysisTemplateResponse.class);
}
/**
*This API is used to modify a custom video content recognition template.
* @param req ModifyAIRecognitionTemplateRequest
* @return ModifyAIRecognitionTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyAIRecognitionTemplateResponse ModifyAIRecognitionTemplate(ModifyAIRecognitionTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAIRecognitionTemplate", ModifyAIRecognitionTemplateResponse.class);
}
/**
*This API is used to modify an adaptive bitrate streaming template.
* @param req ModifyAdaptiveDynamicStreamingTemplateRequest
* @return ModifyAdaptiveDynamicStreamingTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyAdaptiveDynamicStreamingTemplateResponse ModifyAdaptiveDynamicStreamingTemplate(ModifyAdaptiveDynamicStreamingTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAdaptiveDynamicStreamingTemplate", ModifyAdaptiveDynamicStreamingTemplateResponse.class);
}
/**
*This API is used to modify a custom animated image generating template.
* @param req ModifyAnimatedGraphicsTemplateRequest
* @return ModifyAnimatedGraphicsTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyAnimatedGraphicsTemplateResponse ModifyAnimatedGraphicsTemplate(ModifyAnimatedGraphicsTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAnimatedGraphicsTemplate", ModifyAnimatedGraphicsTemplateResponse.class);
}
/**
*Modify CDN Domain Config.
* @param req ModifyCDNDomainConfigRequest
* @return ModifyCDNDomainConfigResponse
* @throws TencentCloudSDKException
*/
public ModifyCDNDomainConfigResponse ModifyCDNDomainConfig(ModifyCDNDomainConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyCDNDomainConfig", ModifyCDNDomainConfigResponse.class);
}
/**
*This API is used to modify the category of a media file.
* @param req ModifyClassRequest
* @return ModifyClassResponse
* @throws TencentCloudSDKException
*/
public ModifyClassResponse ModifyClass(ModifyClassRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyClass", ModifyClassResponse.class);
}
/**
*We have stopped updating this API. Our new moderation templates can moderate audio/video as well as images. For details, see [ModifyReviewTemplate](https://intl.cloud.tencent.com/document/api/266/84388?from_cn_redirect=1).
This API is used to modify a custom audio/video moderation template.
* @param req ModifyContentReviewTemplateRequest
* @return ModifyContentReviewTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyContentReviewTemplateResponse ModifyContentReviewTemplate(ModifyContentReviewTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyContentReviewTemplate", ModifyContentReviewTemplateResponse.class);
}
/**
*This API is used to set the default storage region. A file will be stored in the default region if no region is specified for file upload.
* @param req ModifyDefaultStorageRegionRequest
* @return ModifyDefaultStorageRegionResponse
* @throws TencentCloudSDKException
*/
public ModifyDefaultStorageRegionResponse ModifyDefaultStorageRegion(ModifyDefaultStorageRegionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyDefaultStorageRegion", ModifyDefaultStorageRegionResponse.class);
}
/**
*Modify enhance media template.
* @param req ModifyEnhanceMediaTemplateRequest
* @return ModifyEnhanceMediaTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyEnhanceMediaTemplateResponse ModifyEnhanceMediaTemplate(ModifyEnhanceMediaTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyEnhanceMediaTemplate", ModifyEnhanceMediaTemplateResponse.class);
}
/**
*Tencent Cloud VOD provides customers with media upload, media management, media processing and other services. During or at the end of the execution of these services, Tencent Cloud On-Demand also provides various corresponding event notifications to facilitate developers to perceive the service processing status and Do the next business operation.
Developers can achieve this by calling this interface:
- Set the type of callback notification received. Currently, there is [HTTP callback notification](https://www.tencentcloud.com/document/product/266/33948) and [reliable notification based on message queue](https://www.tencentcloud.com/document/product/266/33948) two types.
- For [HTTP callback notification](https://www.tencentcloud.com/document/product/266/33948), you can set the address of the 3.0 format callback. For the description of 3.0 format callback, see [Historical Format Callback](https://intl.cloud.tencent.com/document/product/266/33796?from_cn_redirect=1).
- Select settings to receive or ignore notification events for specific event services.
* @param req ModifyEventConfigRequest
* @return ModifyEventConfigResponse
* @throws TencentCloudSDKException
*/
public ModifyEventConfigResponse ModifyEventConfig(ModifyEventConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyEventConfig", ModifyEventConfigResponse.class);
}
/**
*Modify HeadTail Template.
* @param req ModifyHeadTailTemplateRequest
* @return ModifyHeadTailTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyHeadTailTemplateResponse ModifyHeadTailTemplate(ModifyHeadTailTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyHeadTailTemplate", ModifyHeadTailTemplateResponse.class);
}
/**
*This API is used to modify a custom image sprite generating template.
* @param req ModifyImageSpriteTemplateRequest
* @return ModifyImageSpriteTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyImageSpriteTemplateResponse ModifyImageSpriteTemplate(ModifyImageSpriteTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyImageSpriteTemplate", ModifyImageSpriteTemplateResponse.class);
}
/**
*Modify Just In Time Transcode Template.
* @param req ModifyJustInTimeTranscodeTemplateRequest
* @return ModifyJustInTimeTranscodeTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyJustInTimeTranscodeTemplateResponse ModifyJustInTimeTranscodeTemplate(ModifyJustInTimeTranscodeTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyJustInTimeTranscodeTemplate", ModifyJustInTimeTranscodeTemplateResponse.class);
}
/**
*This API is used to modify the attributes of a media file, including category, name, description, tag, expiration time, timestamp information, video thumbnail, and subtitle information.
* @param req ModifyMediaInfoRequest
* @return ModifyMediaInfoResponse
* @throws TencentCloudSDKException
*/
public ModifyMediaInfoResponse ModifyMediaInfo(ModifyMediaInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyMediaInfo", ModifyMediaInfoResponse.class);
}
/**
*This API is used to modify the storage class of media files.
If the current storage class is STANDARD, it can be changed to one of the following classes:
STANDARD_IA
ARCHIVE
DEEP ARCHIVE
If the current storage class is STANDARD_IA, it can be changed to one of the following classes:
STANDARD
ARCHIVE
DEEP ARCHIVE
If the current storage class is ARCHIVE, it can be changed to the following class:
STANDARD
If the current storage class is DEEP ARCHIVE, it can be changed to the following class:
STANDARD
* @param req ModifyMediaStorageClassRequest
* @return ModifyMediaStorageClassResponse
* @throws TencentCloudSDKException
*/
public ModifyMediaStorageClassResponse ModifyMediaStorageClass(ModifyMediaStorageClassRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyMediaStorageClass", ModifyMediaStorageClassResponse.class);
}
/**
*This API is used to modify sample information according to the sample ID. You can modify the name and description, add, delete, and reset facial features or tags. Leave at least one image after deleting facial features. To leave no image, please use the reset operation.
* @param req ModifyPersonSampleRequest
* @return ModifyPersonSampleResponse
* @throws TencentCloudSDKException
*/
public ModifyPersonSampleResponse ModifyPersonSample(ModifyPersonSampleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyPersonSample", ModifyPersonSampleResponse.class);
}
/**
*Modifies media quality inspection template.
* @param req ModifyQualityInspectTemplateRequest
* @return ModifyQualityInspectTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyQualityInspectTemplateResponse ModifyQualityInspectTemplate(ModifyQualityInspectTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyQualityInspectTemplate", ModifyQualityInspectTemplateResponse.class);
}
/**
*Modify Rebuild Media Template.
* @param req ModifyRebuildMediaTemplateRequest
* @return ModifyRebuildMediaTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyRebuildMediaTemplateResponse ModifyRebuildMediaTemplate(ModifyRebuildMediaTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyRebuildMediaTemplate", ModifyRebuildMediaTemplateResponse.class);
}
/**
*This API is used to modify a custom moderation template.
> The templates can only be used by the APIs [ReviewAudioVideo](https://intl.cloud.tencent.com/document/api/266/80283?from_cn_redirect=1) and [ReviewImage](https://intl.cloud.tencent.com/document/api/266/73217?from_cn_redirect=1).
* @param req ModifyReviewTemplateRequest
* @return ModifyReviewTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyReviewTemplateResponse ModifyReviewTemplate(ModifyReviewTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyReviewTemplate", ModifyReviewTemplateResponse.class);
}
/**
*This API is used to modify a playlist.
The modification will only take effect for new playback requests. For ongoing playback, the old playlist will be playable for seven days after the modification.
* @param req ModifyRoundPlayRequest
* @return ModifyRoundPlayResponse
* @throws TencentCloudSDKException
*/
public ModifyRoundPlayResponse ModifyRoundPlay(ModifyRoundPlayRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyRoundPlay", ModifyRoundPlayResponse.class);
}
/**
*This API is used to modify a custom sampled screencapturing template.
* @param req ModifySampleSnapshotTemplateRequest
* @return ModifySampleSnapshotTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifySampleSnapshotTemplateResponse ModifySampleSnapshotTemplate(ModifySampleSnapshotTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifySampleSnapshotTemplate", ModifySampleSnapshotTemplateResponse.class);
}
/**
*This API is used to modify a custom time point screencapturing template.
* @param req ModifySnapshotByTimeOffsetTemplateRequest
* @return ModifySnapshotByTimeOffsetTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifySnapshotByTimeOffsetTemplateResponse ModifySnapshotByTimeOffsetTemplate(ModifySnapshotByTimeOffsetTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifySnapshotByTimeOffsetTemplate", ModifySnapshotByTimeOffsetTemplateResponse.class);
}
/**
*This API is used to modify subapplication information, but it is not allowed to modify primary application information.
* @param req ModifySubAppIdInfoRequest
* @return ModifySubAppIdInfoResponse
* @throws TencentCloudSDKException
*/
public ModifySubAppIdInfoResponse ModifySubAppIdInfo(ModifySubAppIdInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifySubAppIdInfo", ModifySubAppIdInfoResponse.class);
}
/**
*This API is used to enable/disable a subapplication. After a subapplication is disabled, its corresponding domain name will be blocked and its access to the console will be restricted.
* @param req ModifySubAppIdStatusRequest
* @return ModifySubAppIdStatusResponse
* @throws TencentCloudSDKException
*/
public ModifySubAppIdStatusResponse ModifySubAppIdStatus(ModifySubAppIdStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifySubAppIdStatus", ModifySubAppIdStatusResponse.class);
}
/**
*We have stopped updating this API. Currently, you no longer need a player configuration to use player signatures. For details, see [Player Signature](https://intl.cloud.tencent.com/document/product/266/45554?from_cn_redirect=1).
This API is used to modify a player configuration.
* @param req ModifySuperPlayerConfigRequest
* @return ModifySuperPlayerConfigResponse
* @throws TencentCloudSDKException
*/
public ModifySuperPlayerConfigResponse ModifySuperPlayerConfig(ModifySuperPlayerConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifySuperPlayerConfig", ModifySuperPlayerConfigResponse.class);
}
/**
*This API is used to modify a custom transcoding template.
* @param req ModifyTranscodeTemplateRequest
* @return ModifyTranscodeTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyTranscodeTemplateResponse ModifyTranscodeTemplate(ModifyTranscodeTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyTranscodeTemplate", ModifyTranscodeTemplateResponse.class);
}
/**
*This API is used to modify the acceleration region of a domain name on VOD.
1. You can modify acceleration regions of only domain names whose status is `Online`.
* @param req ModifyVodDomainAccelerateConfigRequest
* @return ModifyVodDomainAccelerateConfigResponse
* @throws TencentCloudSDKException
*/
public ModifyVodDomainAccelerateConfigResponse ModifyVodDomainAccelerateConfig(ModifyVodDomainAccelerateConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyVodDomainAccelerateConfig", ModifyVodDomainAccelerateConfigResponse.class);
}
/**
*This API is used to modify domain name settings, such as the hotlink protection configuration.
1. You can modify settings of only domain names whose status is `Online`.
* @param req ModifyVodDomainConfigRequest
* @return ModifyVodDomainConfigResponse
* @throws TencentCloudSDKException
*/
public ModifyVodDomainConfigResponse ModifyVodDomainConfig(ModifyVodDomainConfigRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyVodDomainConfig", ModifyVodDomainConfigResponse.class);
}
/**
*This API is used to modify a custom watermarking template. The watermark type cannot be modified.
* @param req ModifyWatermarkTemplateRequest
* @return ModifyWatermarkTemplateResponse
* @throws TencentCloudSDKException
*/
public ModifyWatermarkTemplateResponse ModifyWatermarkTemplate(ModifyWatermarkTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyWatermarkTemplate", ModifyWatermarkTemplateResponse.class);
}
/**
*This API is used to modify the use case and tag of a keyword. The keyword itself cannot be modified, but you can delete it and create another one if needed.
* @param req ModifyWordSampleRequest
* @return ModifyWordSampleResponse
* @throws TencentCloudSDKException
*/
public ModifyWordSampleResponse ModifyWordSample(ModifyWordSampleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyWordSample", ModifyWordSampleResponse.class);
}
/**
*This API is used to parse the index file content and return the list of segment files to be uploaded when an HLS video is uploaded. A segment file path must be a relative path of the current directory or subdirectory instead of a URL or absolute path.
* @param req ParseStreamingManifestRequest
* @return ParseStreamingManifestResponse
* @throws TencentCloudSDKException
*/
public ParseStreamingManifestResponse ParseStreamingManifest(ParseStreamingManifestRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ParseStreamingManifest", ParseStreamingManifestResponse.class);
}
/**
*Initiate processing tasks for media file in VOD, including:
1. Video transcoding (with Watermark);
2. Video to animated image;
3. Screencapturing the video at specified Time point;
4. Sampled screenshot of the video;
5. Generated Image sprite template from the video;
6. Generated a cover image from the video;
7. Adaptive Bitrate Streaming for the video (with encryption);
8. Content Moderation (offensive Information, unsafe Information, inappropriate Information), it is not recommended to use this API, recommend using [Video moderation(ReviewAudioVideo)](https://www.tencentcloud.com/document/api/266/50634) or [Image moderation(ReviewImage)](https://www.tencentcloud.com/document/api/266/47138);
9. Content analysis (tag, category, cover, frame-by-frame tag);
10. Content recognition (video intro and outro, face, Text, keyword, voice, Key object).
If using event notification, the event notification type is [task flow status change](https://www.tencentcloud.com/document/product/266/33953).
* @param req ProcessMediaRequest
* @return ProcessMediaResponse
* @throws TencentCloudSDKException
*/
public ProcessMediaResponse ProcessMedia(ProcessMediaRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ProcessMedia", ProcessMediaResponse.class);
}
/**
*This API is used to start a task flow on a video.
There are two ways to create a task flow template:
1. Create and modify a task flow template in the console;
2. Create a task flow template using the `CreateProcedureTemplate` API.
If event notifications are used, the event type for moderation tasks is [ReviewAudioVideoComplete](https://intl.cloud.tencent.com/document/product/266/81258?from_cn_redirect=1), and that for other tasks is [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1).
* @param req ProcessMediaByProcedureRequest
* @return ProcessMediaByProcedureResponse
* @throws TencentCloudSDKException
*/
public ProcessMediaByProcedureResponse ProcessMediaByProcedure(ProcessMediaByProcedureRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ProcessMediaByProcedure", ProcessMediaByProcedureResponse.class);
}
/**
*This API is disused, please use [ProcessMedia](https://intl.cloud.tencent.com/document/product/862/37578?from_cn_redirect=1) API of MPS, with the input parameter `InputInfo.UrlInputInfo.Url` set to a video URL.
* @param req ProcessMediaByUrlRequest
* @return ProcessMediaByUrlResponse
* @throws TencentCloudSDKException
*/
public ProcessMediaByUrlResponse ProcessMediaByUrl(ProcessMediaByUrlRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ProcessMediaByUrl", ProcessMediaByUrlResponse.class);
}
/**
** This API is used to get event notifications from the business server through [reliable callback](https://intl.cloud.tencent.com/document/product/266/33948).
* The API gets event data through long polling. That is, if there is any unconsumed event on the server, the event notification will be returned to the requester immediately. If there is no unconsumed event on the server, the request will be suspended in the backend until a new event is generated.
* The request can be suspended for up to 5 seconds. It's recommended to set the request timeout period to 10 seconds.
* Event notifications not pulled will be retained for up to 4 days and may be cleared after this period.
* After the API returns an event, the caller must call the [ConfirmEvents](https://intl.cloud.tencent.com/document/product/266/34184) API within 30 seconds to confirm that the event notification has been processed. Otherwise, the event notification will be pulled again after 30 seconds.
* This API can get up to 16 event notifications at a time.
* @param req PullEventsRequest
* @return PullEventsResponse
* @throws TencentCloudSDKException
*/
public PullEventsResponse PullEvents(PullEventsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "PullEvents", PullEventsResponse.class);
}
/**
*This API is used to pull a video on the internet to the VOD platform.
* @param req PullUploadRequest
* @return PullUploadResponse
* @throws TencentCloudSDKException
*/
public PullUploadResponse PullUpload(PullUploadRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "PullUpload", PullUploadResponse.class);
}
/**
*1. This API is used to prefetch a list of specified URLs.
2. The URL domain names must have already been registered with VOD.
3. Up to 20 URLs can be specified in one request.
4. By default, the maximum number of URLs that can be refreshed per day is 10,000.
* @param req PushUrlCacheRequest
* @return PushUrlCacheResponse
* @throws TencentCloudSDKException
*/
public PushUrlCacheResponse PushUrlCache(PushUrlCacheRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "PushUrlCache", PushUrlCacheResponse.class);
}
/**
*Initiate rebuild media
* @param req RebuildMediaRequest
* @return RebuildMediaResponse
* @throws TencentCloudSDKException
*/
public RebuildMediaResponse RebuildMedia(RebuildMediaRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "RebuildMedia", RebuildMediaResponse.class);
}
/**
*Rebuild media by template.
* @param req RebuildMediaByTemplateRequest
* @return RebuildMediaByTemplateResponse
* @throws TencentCloudSDKException
*/
public RebuildMediaByTemplateResponse RebuildMediaByTemplate(RebuildMediaByTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "RebuildMediaByTemplate", RebuildMediaByTemplateResponse.class);
}
/**
*1. This API is used to purge URLs.
2. The URL domain names must have already been registered with VOD.
3. Up to 20 URLs can be specified in one request.
4. By default, the maximum number of URLs allowed for purge per day is 100,000.
* @param req RefreshUrlCacheRequest
* @return RefreshUrlCacheResponse
* @throws TencentCloudSDKException
*/
public RefreshUrlCacheResponse RefreshUrlCache(RefreshUrlCacheRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "RefreshUrlCache", RefreshUrlCacheResponse.class);
}
/**
*This API is used to remove watermarks from a video.
* @param req RemoveWatermarkRequest
* @return RemoveWatermarkResponse
* @throws TencentCloudSDKException
*/
public RemoveWatermarkResponse RemoveWatermark(RemoveWatermarkRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "RemoveWatermark", RemoveWatermarkResponse.class);
}
/**
*This API is used to modify a custom task flow template.
* @param req ResetProcedureTemplateRequest
* @return ResetProcedureTemplateResponse
* @throws TencentCloudSDKException
*/
public ResetProcedureTemplateResponse ResetProcedureTemplate(ResetProcedureTemplateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ResetProcedureTemplate", ResetProcedureTemplateResponse.class);
}
/**
*This API is used to restore files from ARCHIVE or DEEP ARCHIVE. Files stored in ARCHIVE or DEEP ARCHIVE must be restored before they can be accessed. Restored files are available for a limited period of time.
* @param req RestoreMediaRequest
* @return RestoreMediaResponse
* @throws TencentCloudSDKException
*/
public RestoreMediaResponse RestoreMedia(RestoreMediaRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "RestoreMedia", RestoreMediaResponse.class);
}
/**
*This API is used to start a moderation task on a file stored in VOD to detect non-compliant content in images, text, speech, and voice.
If event notifications are used, the event type is [ReviewAudioVideoComplete](https://intl.cloud.tencent.com/document/product/266/81258?from_cn_redirect=1).
* @param req ReviewAudioVideoRequest
* @return ReviewAudioVideoResponse
* @throws TencentCloudSDKException
*/
public ReviewAudioVideoResponse ReviewAudioVideo(ReviewAudioVideoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ReviewAudioVideo", ReviewAudioVideoResponse.class);
}
/**
*This API is used to moderate an image stored in VOD (detect pornographic and terrorist content).>The image file must be smaller than 5 MB. >To ensure the accuracy of moderation results, the image resolution must be higher than 256 x 256 px. >The format must be PNG, JPG, JPEG, BMP, GIF, or WEBP.
* @param req ReviewImageRequest
* @return ReviewImageResponse
* @throws TencentCloudSDKException
*/
public ReviewImageResponse ReviewImage(ReviewImageRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ReviewImage", ReviewImageResponse.class);
}
/**
*Search for media information, supporting multiple condition filtering, as well as sorting and filtering of returned results. This includes:
- Specify a collection of file IDs (FileIds) to return media with any ID in the collection.
- Fuzzy search based on multiple media file names (Names) or description information (Descriptions).
- Search based on multiple file name prefixes (NamePrefixes).
- Specify a collection of categories (ClassIds, see input parameters) to return media that meets any category in the collection. For example, media categories include movies, TV shows, variety shows, etc., and there are subcategories such as historical films, action films, and romance films under the movie category. If ClassIds specifies movies and TV shows, all subcategories under movies and TV shows will be returned; if ClassIds specifies historical films and action films, only media under these two subcategories will be returned.
- Specify a collection of tags (Tags, see input parameters) to return media that meets any tag in the collection. For example, media tags include ACG, palace fighting, and ghost animal. If Tags specifies ACG and ghost animal, media that meets any of these two tags will be retrieved.
- Specify a collection of file types (Categories, see input parameters) to return media that meets any type in the collection. For example, file types include Video (video), Audio (audio), and Image (image). If Categories specifies Video and Audio, media that meets these types will be retrieved.
- Specify a collection of sources (SourceTypes, see input parameters) to return media that meets any source in the collection. For example, media sources include Record (live recording) and Upload (upload). If SourceTypes specifies Record and Upload, media that meets these sources will be retrieved.
- Specify a collection of file container formats (MediaTypes, see input parameters) to return media that meets any container format in the collection. For example, container formats include MP4, AVI, MP3, etc. If MediaTypes specifies MP4 and MP3, media that meets these container formats will be retrieved.
- Specify a collection of file statuses (Status, see input parameters) to return media that meets any status in the collection. For example, file statuses include Normal (normal), SystemForbidden (platform ban), and Forbidden (active ban). If Status specifies Normal and Forbidden, media that meets these statuses will be retrieved.
- Specify a collection of file moderation results (ReviewResults, see input parameters) to return media that meets any status in the collection. For example, file moderation results include pass (passed) and block (not compliant). If ReviewResults specifies pass and block, media that meets these moderation results will be retrieved.
- Filter live recorded media by specifying a collection of live streaming codes (StreamIds, see input parameters).
- Filter media by specifying the creation time range of the media.
- Filter media by specifying a collection of TRTC application IDs.
- Filter media by specifying a collection of TRTC room IDs.
- The above parameters can be combined in any way to search. For example, filter media created between 12:00:00 on December 1, 2018, and 12:00:00 on December 8, 2018, categorized as movies or TV shows, and tagged with palace fighting and suspense. Note that the search logic for elements of any parameter that supports array input is 'or'. The logical relationship between all parameters is 'and'
- Allow to control the type of media information returned through Filters (default to return all information). Optional inputs include:
1. Basic information (basicInfo): including media name, category, playback URL, cover image, etc.
2. Metadata (metaData): including size, duration, video stream information, audio stream information, etc.
3. Transcoding result information (transcodeInfo): including the media addresses, video stream parameters, audio stream parameters, etc., generated by transcoding the media into various specifications.
4. Animated image result information (animatedGraphicsInfo): information on the animated image (such as gif) generated after converting the video.
Sampled screenshot information (sampleSnapshotInfo): screenshot information after sampling the video.
6. Image sprite information (imageSpriteInfo): image sprite information after generating the sprite from the video.
7. Specified time point screenshot information (snapshotByTimeOffsetInfo): screenshot information after capturing the video at specified time points.
8. Video timestamp info (keyFrameDescInfo): timestamp information set for the video.
9. Adaptive Bitrate Streaming information (adaptiveDynamicStreamingInfo): including specifications, encryption types, muxing formats, and other relevant information.
- Allow sorting the results by creation time and returning them in pages. Pagination is controlled by Offset and Limit (see input parameters).
API result count limitation:
- Offset and Limit both affect the number of results returned in a single page query. Please pay special attention: when both of these values are missing, this API will return a maximum of 10 query results.
- Supports up to 5,000 search results, and queries beyond this limit are not supported. If the search result volume is too large, it is recommended to use more refined filtering conditions to reduce search results.
Not recommended for conditional filtering:
- (Not recommended: use Names, NamePrefixes, or Descriptions instead) Fuzzy search for media file names or description information with a single text (Text).
- (Not recommended: use SourceTypes instead) Search for media files with a single source (SourceType).
- (Not recommended: use StreamIds instead) Search for media files with a single live streaming code (StreamId).
- (Not recommended: use CreateTime instead) Search for media files with a single start creation time (StartTime).
- (Not recommended: use CreateTime instead) Search for media files with a single end creation time (EndTime).
* @param req SearchMediaRequest
* @return SearchMediaResponse
* @throws TencentCloudSDKException
*/
public SearchMediaResponse SearchMedia(SearchMediaRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "SearchMedia", SearchMediaResponse.class);
}
/**
*This API is used to configure DRM key information.
* @param req SetDrmKeyProviderInfoRequest
* @return SetDrmKeyProviderInfoResponse
* @throws TencentCloudSDKException
*/
public SetDrmKeyProviderInfoResponse SetDrmKeyProviderInfo(SetDrmKeyProviderInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "SetDrmKeyProviderInfo", SetDrmKeyProviderInfoResponse.class);
}
/**
*Set Vod Domain Certificate.
* @param req SetVodDomainCertificateRequest
* @return SetVodDomainCertificateResponse
* @throws TencentCloudSDKException
*/
public SetVodDomainCertificateResponse SetVodDomainCertificate(SetVodDomainCertificateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "SetVodDomainCertificate", SetVodDomainCertificateResponse.class);
}
/**
*This API is used to cut a clip from an HLS video to generate a new video (in HLS format). You can either share the new video or save it.
VOD supports two types of clipping:
- Clipping for persistent storage: The video clip is saved as an independent video file with its own `FileId`.
- Clipping for temporary sharing: The video clip shares `FileId` with the input file.
Notes:
- Clipping is based on the M3U8 file that contains a list of TS segments, so the smallest clipping unit is one TS segment instead of a second or less.
### Clipping for persistent storage
In this mode, a video clip is saved as an independent video file with a `FileId`, and its lifecycle is not subject to the input video. Even if the source video is deleted, the video clip still exists. Moreover, the video clip can be transcoded, published on WeChat, and processed in other ways.
Suppose you recorded a two-hour football match. You want to save the full video for only two months to save costs, but want to save the highlights for a longer time and perhaps transcode and publish the highlight clip to WeChat. In this case, you can choose clipping for persistent storage.
The advantage of clipping for persistent storage is that the video clip has a lifecycle independent of the input video and can be managed independently and stored persistently.
Notice: If solidification is specified during clipping, enable the reception of persistence completed event notifications through the ModifyEventConfig interface. After successful solidification, an event notification of type PersistenceComplete will be received. Before receiving this event notification, operations such as deletion or cooling down of live recording videos should not be performed, otherwise, abnormal playback may occur in the video generated by the clipping.
### Clipping for temporary sharing
The video clip (an M3U8 file) shares the same TS segments with the input video instead of being an independent video. It only has a playback URL but has no `FileId`, and its validity period is the same as that of the input video. Once the input video is deleted, the video clip cannot be played back.
Because the video clip is not an independent video, it's not displayed as a media asset in the VOD console, and cannot be transcoded or published to WeChat.
Clipping for temporary sharing is lightweight and incurs no additional storage fees. However, the video clip has the same lifecycle as the source recording video and cannot be transcoded or processed in other ways.
* @param req SimpleHlsClipRequest
* @return SimpleHlsClipResponse
* @throws TencentCloudSDKException
*/
public SimpleHlsClipResponse SimpleHlsClip(SimpleHlsClipRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "SimpleHlsClip", SimpleHlsClipResponse.class);
}
/**
*Split the video into strips to generate multiple new videos.
* @param req SplitMediaRequest
* @return SplitMediaResponse
* @throws TencentCloudSDKException
*/
public SplitMediaResponse SplitMedia(SplitMediaRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "SplitMedia", SplitMediaResponse.class);
}
/**
*This API is used for enabling/disabling the CDN acceleration domain.
* @param req StartCDNDomainRequest
* @return StartCDNDomainResponse
* @throws TencentCloudSDKException
*/
public StartCDNDomainResponse StartCDNDomain(StartCDNDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "StartCDNDomain", StartCDNDomainResponse.class);
}
/**
*This API is used to verify the domain name resolution value.
* @param req VerifyDomainRecordRequest
* @return VerifyDomainRecordResponse
* @throws TencentCloudSDKException
*/
public VerifyDomainRecordResponse VerifyDomainRecord(VerifyDomainRecordRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "VerifyDomainRecord", VerifyDomainRecordResponse.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy