public class CreateAdaptiveDynamicStreamingTemplateRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateAdaptiveDynamicStreamingTemplateRequest() | 
| CreateAdaptiveDynamicStreamingTemplateRequest(CreateAdaptiveDynamicStreamingTemplateRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getComment()Get Template description. | 
| Long | getDisableHigherVideoBitrate()Get Whether to prohibit transcoding video from low bitrate to high bitrate. | 
| Long | getDisableHigherVideoResolution()Get Whether to prohibit transcoding from low resolution to high resolution. | 
| String | getDrmKeyProvider()Get The provider of the DRM key. | 
| String | getDrmType()Get DRM scheme type, value range:
SimpleAES
Widevine
FairPlay
The default value is an empty string. | 
| String | getFormat()Get The adaptive bitrate streaming format. | 
| String | getName()Get Template name. | 
| String | getSegmentType()Get The segment type. | 
| AdaptiveStreamTemplate[] | getStreamInfos()Get Parameter information of output substream for adaptive bitrate streaming. | 
| Long | getSubAppId()Get The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. | 
| void | setComment(String Comment)Set Template description. | 
| void | setDisableHigherVideoBitrate(Long DisableHigherVideoBitrate)Set Whether to prohibit transcoding video from low bitrate to high bitrate. | 
| void | setDisableHigherVideoResolution(Long DisableHigherVideoResolution)Set Whether to prohibit transcoding from low resolution to high resolution. | 
| void | setDrmKeyProvider(String DrmKeyProvider)Set The provider of the DRM key. | 
| void | setDrmType(String DrmType)Set DRM scheme type, value range:
SimpleAES
Widevine
FairPlay
The default value is an empty string. | 
| void | setFormat(String Format)Set The adaptive bitrate streaming format. | 
| void | setName(String Name)Set Template name. | 
| void | setSegmentType(String SegmentType)Set The segment type. | 
| void | setStreamInfos(AdaptiveStreamTemplate[] StreamInfos)Set Parameter information of output substream for adaptive bitrate streaming. | 
| void | setSubAppId(Long SubAppId)Set The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateAdaptiveDynamicStreamingTemplateRequest()
public CreateAdaptiveDynamicStreamingTemplateRequest(CreateAdaptiveDynamicStreamingTemplateRequest source)
public String getFormat()
public void setFormat(String Format)
Format - The adaptive bitrate streaming format. Valid values:
public AdaptiveStreamTemplate[] getStreamInfos()
public void setStreamInfos(AdaptiveStreamTemplate[] StreamInfos)
StreamInfos - Parameter information of output substream for adaptive bitrate streaming. Up to 10 substreams can be output.
Note: the frame rate of all substreams must be the same; otherwise, the frame rate of the first substream will be used as the output frame rate.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId - The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.public String getName()
public void setName(String Name)
Name - Template name. Length limit: 64 characters.public String getDrmType()
public void setDrmType(String DrmType)
DrmType - DRM scheme type, value range:
public String getDrmKeyProvider()
public void setDrmKeyProvider(String DrmKeyProvider)
DrmKeyProvider - The provider of the DRM key. Valid values:
public Long getDisableHigherVideoBitrate()
public void setDisableHigherVideoBitrate(Long DisableHigherVideoBitrate)
DisableHigherVideoBitrate - Whether to prohibit transcoding video from low bitrate to high bitrate. Valid values:
public Long getDisableHigherVideoResolution()
public void setDisableHigherVideoResolution(Long DisableHigherVideoResolution)
DisableHigherVideoResolution - Whether to prohibit transcoding from low resolution to high resolution. Valid values:
public String getComment()
public void setComment(String Comment)
Comment - Template description. Length limit: 256 characters.public String getSegmentType()
public void setSegmentType(String SegmentType)
SegmentType - The segment type. This parameter is valid only if `Format` is `HLS`. Valid values:
Copyright © 2025. All rights reserved.