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 of the unencrypted adaptive bitrate streaming template that allows output, which is required if `DrmSwitch` is `OFF`.
|
String |
getComment()
Get Template description.
|
String |
getDomain()
Get Domain name used for playback.
|
DrmStreamingsInfo |
getDrmStreamingsInfo()
Get Content of the DRM-protected adaptive bitrate streaming template that allows output, which is required if `DrmSwitch` is `ON`.
|
String |
getDrmSwitch()
Get Switch of DRM-protected adaptive bitstream playback:
ON: enabled, indicating to play back only output adaptive bitstreams protected by DRM;
OFF: disabled, indicating to play back unencrypted output adaptive bitstreams.
Default value: OFF.
|
Long |
getImageSpriteDefinition()
Get ID of the image sprite generating template that allows output.
|
String |
getName()
Get Player configuration name, which can contain up to 64 letters, digits, underscores, and hyphens (such as test_ABC-123) and must be unique under a user.
|
ResolutionNameInfo[] |
getResolutionNames()
Get Display name of player for substreams with different resolutions.
|
String |
getScheme()
Get Scheme used for playback.
|
Long |
getSubAppId()
Get [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
void |
setAdaptiveDynamicStreamingDefinition(Long AdaptiveDynamicStreamingDefinition)
Set ID of the unencrypted adaptive bitrate streaming template that allows output, which is required if `DrmSwitch` is `OFF`.
|
void |
setComment(String Comment)
Set Template description.
|
void |
setDomain(String Domain)
Set Domain name used for playback.
|
void |
setDrmStreamingsInfo(DrmStreamingsInfo DrmStreamingsInfo)
Set Content of the DRM-protected adaptive bitrate streaming template that allows output, which is required if `DrmSwitch` is `ON`.
|
void |
setDrmSwitch(String DrmSwitch)
Set Switch of DRM-protected adaptive bitstream playback:
ON: enabled, indicating to play back only output adaptive bitstreams protected by DRM;
OFF: disabled, indicating to play back unencrypted output adaptive bitstreams.
Default value: OFF.
|
void |
setImageSpriteDefinition(Long ImageSpriteDefinition)
Set ID of the image sprite generating template that allows output.
|
void |
setName(String Name)
Set Player configuration name, which can contain up to 64 letters, digits, underscores, and hyphens (such as test_ABC-123) and must be unique under a user.
|
void |
setResolutionNames(ResolutionNameInfo[] ResolutionNames)
Set Display name of player for substreams with different resolutions.
|
void |
setScheme(String Scheme)
Set Scheme used for playback.
|
void |
setSubAppId(Long SubAppId)
Set [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
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
- Player configuration name, which can contain up to 64 letters, digits, underscores, and hyphens (such as test_ABC-123) and must be unique under a user.public String getDrmSwitch()
public void setDrmSwitch(String DrmSwitch)
DrmSwitch
- Switch of DRM-protected adaptive bitstream playback:
public Long getAdaptiveDynamicStreamingDefinition()
public void setAdaptiveDynamicStreamingDefinition(Long AdaptiveDynamicStreamingDefinition)
AdaptiveDynamicStreamingDefinition
- ID of the unencrypted adaptive bitrate streaming template that allows output, which is required if `DrmSwitch` is `OFF`.public DrmStreamingsInfo getDrmStreamingsInfo()
public void setDrmStreamingsInfo(DrmStreamingsInfo DrmStreamingsInfo)
DrmStreamingsInfo
- Content of the DRM-protected adaptive bitrate streaming template that allows output, which is required if `DrmSwitch` is `ON`.public Long getImageSpriteDefinition()
public void setImageSpriteDefinition(Long ImageSpriteDefinition)
ImageSpriteDefinition
- ID of the image sprite generating template that allows output.public ResolutionNameInfo[] getResolutionNames()
public void setResolutionNames(ResolutionNameInfo[] ResolutionNames)
ResolutionNames
- Display name of player for substreams with different resolutions. If this parameter is left empty or an empty array, the default configuration will be used:
public String getDomain()
public void setDomain(String Domain)
Domain
- Domain name used for playback. If it is left empty or set to `Default`, the domain name configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used.public String getScheme()
public void setScheme(String Scheme)
Scheme
- Scheme used for playback. If it is left empty or set to `Default`, the scheme configured in [Default Distribution Configuration](https://intl.cloud.tencent.com/document/product/266/33373?from_cn_redirect=1) will be used. Other valid values:
public String getComment()
public void setComment(String Comment)
Comment
- Template description. Length limit: 256 characters.public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.Copyright © 2021. All rights reserved.