public class CreateSuperPlayerConfigRequest extends AbstractModel
Constructor and Description |
---|
CreateSuperPlayerConfigRequest() |
CreateSuperPlayerConfigRequest(CreateSuperPlayerConfigRequest 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 |
---|---|
Long |
getAdaptiveDynamicStreamingDefinition()
Get 允许输出的未加密的自适应码流模板 ID,当 DrmSwitch 为 OFF 时必填。
|
String |
getComment()
Get 模板描述信息,长度限制:256 个字符。
|
String |
getDomain()
Get 播放时使用的域名。不填或者填 Default,表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的域名。
|
DrmStreamingsInfo |
getDrmStreamingsInfo()
Get 允许输出的 DRM 自适应码流模板内容,当 DrmSwitch 为 ON 时必填。
|
String |
getDrmSwitch()
Get 播放 DRM 保护的自适应码流开关:
ON:开启,表示仅播放 DRM 保护的自适应码流输出;
OFF:关闭,表示播放未加密的自适应码流输出。
默认为 OFF。
|
Long |
getImageSpriteDefinition()
Get 允许输出的雪碧图模板 ID。
|
String |
getName()
Get 播放器配置名称,长度限制:64 个字符。只允许出现 [0-9a-zA-Z] 及 _- 字符(如 test_ABC-123),同一个用户该名称唯一。
|
ResolutionNameInfo[] |
getResolutionNames()
Get 播放器对不于不同分辨率的子流展示名字,不填或者填空数组则使用默认配置:
MinEdgeLength:240,Name:流畅;
MinEdgeLength:480,Name:标清;
MinEdgeLength:720,Name:高清;
MinEdgeLength:1080,Name:全高清;
MinEdgeLength:1440,Name:2K;
MinEdgeLength:2160,Name:4K;
MinEdgeLength:4320,Name:8K。
|
String |
getScheme()
Get 播放时使用的 Scheme。不填或者填 Default,表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的 Scheme。其他可选值:
HTTP;
HTTPS。
|
Long |
getSubAppId()
Get 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
void |
setAdaptiveDynamicStreamingDefinition(Long AdaptiveDynamicStreamingDefinition)
Set 允许输出的未加密的自适应码流模板 ID,当 DrmSwitch 为 OFF 时必填。
|
void |
setComment(String Comment)
Set 模板描述信息,长度限制:256 个字符。
|
void |
setDomain(String Domain)
Set 播放时使用的域名。不填或者填 Default,表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的域名。
|
void |
setDrmStreamingsInfo(DrmStreamingsInfo DrmStreamingsInfo)
Set 允许输出的 DRM 自适应码流模板内容,当 DrmSwitch 为 ON 时必填。
|
void |
setDrmSwitch(String DrmSwitch)
Set 播放 DRM 保护的自适应码流开关:
ON:开启,表示仅播放 DRM 保护的自适应码流输出;
OFF:关闭,表示播放未加密的自适应码流输出。
默认为 OFF。
|
void |
setImageSpriteDefinition(Long ImageSpriteDefinition)
Set 允许输出的雪碧图模板 ID。
|
void |
setName(String Name)
Set 播放器配置名称,长度限制:64 个字符。只允许出现 [0-9a-zA-Z] 及 _- 字符(如 test_ABC-123),同一个用户该名称唯一。
|
void |
setResolutionNames(ResolutionNameInfo[] ResolutionNames)
Set 播放器对不于不同分辨率的子流展示名字,不填或者填空数组则使用默认配置:
MinEdgeLength:240,Name:流畅;
MinEdgeLength:480,Name:标清;
MinEdgeLength:720,Name:高清;
MinEdgeLength:1080,Name:全高清;
MinEdgeLength:1440,Name:2K;
MinEdgeLength:2160,Name:4K;
MinEdgeLength:4320,Name:8K。
|
void |
setScheme(String Scheme)
Set 播放时使用的 Scheme。不填或者填 Default,表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的 Scheme。其他可选值:
HTTP;
HTTPS。
|
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 CreateSuperPlayerConfigRequest()
public CreateSuperPlayerConfigRequest(CreateSuperPlayerConfigRequest source)
public String getName()
public void setName(String Name)
Name
- 播放器配置名称,长度限制:64 个字符。只允许出现 [0-9a-zA-Z] 及 _- 字符(如 test_ABC-123),同一个用户该名称唯一。public String getDrmSwitch()
public void setDrmSwitch(String DrmSwitch)
DrmSwitch
- 播放 DRM 保护的自适应码流开关:
public Long getAdaptiveDynamicStreamingDefinition()
public void setAdaptiveDynamicStreamingDefinition(Long AdaptiveDynamicStreamingDefinition)
AdaptiveDynamicStreamingDefinition
- 允许输出的未加密的自适应码流模板 ID,当 DrmSwitch 为 OFF 时必填。public DrmStreamingsInfo getDrmStreamingsInfo()
public void setDrmStreamingsInfo(DrmStreamingsInfo DrmStreamingsInfo)
DrmStreamingsInfo
- 允许输出的 DRM 自适应码流模板内容,当 DrmSwitch 为 ON 时必填。public Long getImageSpriteDefinition()
public void setImageSpriteDefinition(Long ImageSpriteDefinition)
ImageSpriteDefinition
- 允许输出的雪碧图模板 ID。public ResolutionNameInfo[] getResolutionNames()
public void setResolutionNames(ResolutionNameInfo[] ResolutionNames)
ResolutionNames
- 播放器对不于不同分辨率的子流展示名字,不填或者填空数组则使用默认配置:
public String getDomain()
public void setDomain(String Domain)
Domain
- 播放时使用的域名。不填或者填 Default,表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的域名。public String getScheme()
public void setScheme(String Scheme)
Scheme
- 播放时使用的 Scheme。不填或者填 Default,表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的 Scheme。其他可选值:
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 © 2021. All rights reserved.