public class CreateAdaptiveDynamicStreamingTemplateRequest extends AbstractModel
Constructor and Description |
---|
CreateAdaptiveDynamicStreamingTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get 模板描述信息,长度限制:256 个字符。
|
Long |
getDisableHigherVideoBitrate()
Get 是否禁止视频低码率转高码率,取值范围:
0:否,
1:是。
默认为否。
|
Long |
getDisableHigherVideoResolution()
Get 是否禁止视频分辨率转高分辨率,取值范围:
0:否,
1:是。
默认为否。
|
String |
getDrmType()
Get DRM方案类型,取值范围:
SimpleAES。
如果取值为空字符串,代表不对视频做 DRM 保护。
|
String |
getFormat()
Get 自适应转码格式,取值范围:
HLS。
|
String |
getName()
Get 模板名称,长度限制:64 个字符。
|
AdaptiveStreamTemplate[] |
getStreamInfos()
Get 自适应转码输出子流参数信息,最多输出10路子流。
注意:各个子流的帧率必须保持一致;如果不一致,采用第一个子流的帧率作为输出帧率。
|
Long |
getSubAppId()
Get 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
void |
setComment(String Comment)
Set 模板描述信息,长度限制:256 个字符。
|
void |
setDisableHigherVideoBitrate(Long DisableHigherVideoBitrate)
Set 是否禁止视频低码率转高码率,取值范围:
0:否,
1:是。
默认为否。
|
void |
setDisableHigherVideoResolution(Long DisableHigherVideoResolution)
Set 是否禁止视频分辨率转高分辨率,取值范围:
0:否,
1:是。
默认为否。
|
void |
setDrmType(String DrmType)
Set DRM方案类型,取值范围:
SimpleAES。
如果取值为空字符串,代表不对视频做 DRM 保护。
|
void |
setFormat(String Format)
Set 自适应转码格式,取值范围:
HLS。
|
void |
setName(String Name)
Set 模板名称,长度限制:64 个字符。
|
void |
setStreamInfos(AdaptiveStreamTemplate[] StreamInfos)
Set 自适应转码输出子流参数信息,最多输出10路子流。
注意:各个子流的帧率必须保持一致;如果不一致,采用第一个子流的帧率作为输出帧率。
|
void |
setSubAppId(Long SubAppId)
Set 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateAdaptiveDynamicStreamingTemplateRequest()
public String getFormat()
public void setFormat(String Format)
Format
- 自适应转码格式,取值范围:
public AdaptiveStreamTemplate[] getStreamInfos()
public void setStreamInfos(AdaptiveStreamTemplate[] StreamInfos)
StreamInfos
- 自适应转码输出子流参数信息,最多输出10路子流。
注意:各个子流的帧率必须保持一致;如果不一致,采用第一个子流的帧率作为输出帧率。public String getName()
public void setName(String Name)
Name
- 模板名称,长度限制:64 个字符。public String getDrmType()
public void setDrmType(String DrmType)
DrmType
- DRM方案类型,取值范围:
public Long getDisableHigherVideoBitrate()
public void setDisableHigherVideoBitrate(Long DisableHigherVideoBitrate)
DisableHigherVideoBitrate
- 是否禁止视频低码率转高码率,取值范围:
public Long getDisableHigherVideoResolution()
public void setDisableHigherVideoResolution(Long DisableHigherVideoResolution)
DisableHigherVideoResolution
- 是否禁止视频分辨率转高分辨率,取值范围:
public String getComment()
public void setComment(String Comment)
Comment
- 模板描述信息,长度限制:256 个字符。public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。Copyright © 2020. All rights reserved.