public class PlayerConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
PlayerConfig() |
PlayerConfig(PlayerConfig 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.
|
String |
getAudioVideoType()
Get The type of audio/video played.
|
String |
getComment()
Get Template description.
|
String |
getCreateTime()
Get Creation time of player configuration in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
|
String |
getDomain()
Get Domain name used for playback.
|
DrmStreamingsInfo |
getDrmStreamingsInfo()
Get Content of the DRM-protected adaptive bitrate streaming template that allows output.
|
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.
|
Long |
getImageSpriteDefinition()
Get ID of the image sprite generating template that allows output.
|
String |
getName()
Get Player configuration name.
|
ResolutionNameInfo[] |
getResolutionNameSet()
Get Display name of player for substreams with different resolutions.
|
String |
getScheme()
Get Scheme used for playback.
|
Long |
getTranscodeDefinition()
Get The ID of the transcoding template allowed.
|
String |
getType()
Get Player configuration type.
|
String |
getUpdateTime()
Get Last modified time of player configuration in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
|
void |
setAdaptiveDynamicStreamingDefinition(Long AdaptiveDynamicStreamingDefinition)
Set ID of the unencrypted adaptive bitrate streaming template that allows output.
|
void |
setAudioVideoType(String AudioVideoType)
Set The type of audio/video played.
|
void |
setComment(String Comment)
Set Template description.
|
void |
setCreateTime(String CreateTime)
Set Creation time of player configuration in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
|
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.
|
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.
|
void |
setImageSpriteDefinition(Long ImageSpriteDefinition)
Set ID of the image sprite generating template that allows output.
|
void |
setName(String Name)
Set Player configuration name.
|
void |
setResolutionNameSet(ResolutionNameInfo[] ResolutionNameSet)
Set Display name of player for substreams with different resolutions.
|
void |
setScheme(String Scheme)
Set Scheme used for playback.
|
void |
setTranscodeDefinition(Long TranscodeDefinition)
Set The ID of the transcoding template allowed.
|
void |
setType(String Type)
Set Player configuration type.
|
void |
setUpdateTime(String UpdateTime)
Set Last modified time of player configuration in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public PlayerConfig()
public PlayerConfig(PlayerConfig source)
public String getName()
public void setName(String Name)
Name
- Player configuration name.public String getType()
public void setType(String Type)
Type
- Player configuration type. Valid values:
public String getAudioVideoType()
public void setAudioVideoType(String AudioVideoType)
AudioVideoType
- The type of audio/video played. Valid values:
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.public DrmStreamingsInfo getDrmStreamingsInfo()
public void setDrmStreamingsInfo(DrmStreamingsInfo DrmStreamingsInfo)
DrmStreamingsInfo
- Content of the DRM-protected adaptive bitrate streaming template that allows output.public Long getTranscodeDefinition()
public void setTranscodeDefinition(Long TranscodeDefinition)
TranscodeDefinition
- The ID of the transcoding template allowed.public Long getImageSpriteDefinition()
public void setImageSpriteDefinition(Long ImageSpriteDefinition)
ImageSpriteDefinition
- ID of the image sprite generating template that allows output.public ResolutionNameInfo[] getResolutionNameSet()
public void setResolutionNameSet(ResolutionNameInfo[] ResolutionNameSet)
ResolutionNameSet
- Display name of player for substreams with different resolutions.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation time of player configuration in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Last modified time of player configuration in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).public String getDomain()
public void setDomain(String Domain)
Domain
- Domain name used for playback. If its value is `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. Valid values:
public String getComment()
public void setComment(String Comment)
Comment
- Template description.Copyright © 2024. All rights reserved.