public class CreateSuperPlayerConfigRequest extends AbstractModel
skipSign
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 adaptive bitrate streaming template allowed for playback not protected by DRM.
|
String |
getAudioVideoType()
Get Type of audio/video played.
|
String |
getComment()
Get Template description.
|
String |
getDomain()
Get Domain name used for playback.
|
DrmStreamingsInfo |
getDrmStreamingsInfo()
Get Content of the adaptive bitrate streaming template allowed for playback protected by DRM.
|
String |
getDrmSwitch()
Get Whether to allow only adaptive bitrate streaming playback protected by DRM.
|
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 The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID.
|
Long |
getTranscodeDefinition()
Get ID of the transcoding template allowed for playback
This parameter is required if `AudioVideoType` is `Transcode`.
|
void |
setAdaptiveDynamicStreamingDefinition(Long AdaptiveDynamicStreamingDefinition)
Set ID of the adaptive bitrate streaming template allowed for playback not protected by DRM.
|
void |
setAudioVideoType(String AudioVideoType)
Set Type of audio/video played.
|
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 adaptive bitrate streaming template allowed for playback protected by DRM.
|
void |
setDrmSwitch(String DrmSwitch)
Set Whether to allow only adaptive bitrate streaming playback protected by DRM.
|
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 The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID.
|
void |
setTranscodeDefinition(Long TranscodeDefinition)
Set ID of the transcoding template allowed for playback
This parameter is required if `AudioVideoType` is `Transcode`.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, 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 Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.public String getAudioVideoType()
public void setAudioVideoType(String AudioVideoType)
AudioVideoType
- Type of audio/video played. Valid values:
public String getDrmSwitch()
public void setDrmSwitch(String DrmSwitch)
DrmSwitch
- Whether to allow only adaptive bitrate streaming playback protected by DRM. Valid values:
public Long getAdaptiveDynamicStreamingDefinition()
public void setAdaptiveDynamicStreamingDefinition(Long AdaptiveDynamicStreamingDefinition)
AdaptiveDynamicStreamingDefinition
- ID of the adaptive bitrate streaming template allowed for playback not protected by DRM.
This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `OFF`.public DrmStreamingsInfo getDrmStreamingsInfo()
public void setDrmStreamingsInfo(DrmStreamingsInfo DrmStreamingsInfo)
DrmStreamingsInfo
- Content of the adaptive bitrate streaming template allowed for playback protected by DRM.
This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `ON`.public Long getTranscodeDefinition()
public void setTranscodeDefinition(Long TranscodeDefinition)
TranscodeDefinition
- ID of the transcoding template allowed for playback
This parameter is required if `AudioVideoType` is `Transcode`.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.Copyright © 2023. All rights reserved.