public class AdaptiveDynamicStreamingTaskInput extends AbstractModel
header, skipSign
Constructor and Description |
---|
AdaptiveDynamicStreamingTaskInput() |
AdaptiveDynamicStreamingTaskInput(AdaptiveDynamicStreamingTaskInput 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 |
---|---|
AddOnSubtitle[] |
getAddOnSubtitles()
Get Subtitle file to be inserted.
|
Long |
getDefinition()
Get Adaptive dynamic streaming template ID.
|
String |
getDefinitionType()
Get Adaptive transcoding template type.
|
DrmInfo |
getDrmInfo()
Get Drm information.
|
String |
getOutputObjectPath()
Get Output path for the manifest file after adaptive dynamic streaming.
|
TaskOutputStorage |
getOutputStorage()
Get Target storage for files after adaptive dynamic streaming.
|
String |
getSegmentObjectName()
Get After adaptive dynamic streaming (for HLS only), the output path of segment files can only be a relative path.
|
String |
getSubStreamObjectName()
Get After adaptive dynamic streaming, the output path of substream files can only be a relative path.
|
WatermarkInput[] |
getWatermarkSet()
Get Watermark list.
|
void |
setAddOnSubtitles(AddOnSubtitle[] AddOnSubtitles)
Set Subtitle file to be inserted.
|
void |
setDefinition(Long Definition)
Set Adaptive dynamic streaming template ID.
|
void |
setDefinitionType(String DefinitionType)
Set Adaptive transcoding template type.
|
void |
setDrmInfo(DrmInfo DrmInfo)
Set Drm information.
|
void |
setOutputObjectPath(String OutputObjectPath)
Set Output path for the manifest file after adaptive dynamic streaming.
|
void |
setOutputStorage(TaskOutputStorage OutputStorage)
Set Target storage for files after adaptive dynamic streaming.
|
void |
setSegmentObjectName(String SegmentObjectName)
Set After adaptive dynamic streaming (for HLS only), the output path of segment files can only be a relative path.
|
void |
setSubStreamObjectName(String SubStreamObjectName)
Set After adaptive dynamic streaming, the output path of substream files can only be a relative path.
|
void |
setWatermarkSet(WatermarkInput[] WatermarkSet)
Set Watermark list.
|
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 AdaptiveDynamicStreamingTaskInput()
public AdaptiveDynamicStreamingTaskInput(AdaptiveDynamicStreamingTaskInput source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- Adaptive dynamic streaming template ID.public WatermarkInput[] getWatermarkSet()
public void setWatermarkSet(WatermarkInput[] WatermarkSet)
WatermarkSet
- Watermark list. Multiple image or text watermarks up to a maximum of 10 are supported.public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage
- Target storage for files after adaptive dynamic streaming. If left blank, it inherits the upper-level OutputStorage value.
Note: This field may return null, indicating that no valid value can be obtained.public String getOutputObjectPath()
public void setOutputObjectPath(String OutputObjectPath)
OutputObjectPath
- Output path for the manifest file after adaptive dynamic streaming. It can be either a relative path or an absolute path.
If you need to define an output path, the path must end with `.{format}`. Refer to [Filename Variable Description](https://intl.cloud.tencent.com/document/product/862/37039?from_cn_redirect=1) for variable names.
Example of relative path:
public String getSubStreamObjectName()
public void setSubStreamObjectName(String SubStreamObjectName)
SubStreamObjectName
- After adaptive dynamic streaming, the output path of substream files can only be a relative path. If not filled in, it is a relative path by default: `{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}.{format}`.public String getSegmentObjectName()
public void setSegmentObjectName(String SegmentObjectName)
SegmentObjectName
- After adaptive dynamic streaming (for HLS only), the output path of segment files can only be a relative path. If not filled in, it is a relative path by default: `{inputName}_adaptiveDynamicStreaming_{definition}_{subStreamNumber}_{segmentNumber}.{format}`.public AddOnSubtitle[] getAddOnSubtitles()
public void setAddOnSubtitles(AddOnSubtitle[] AddOnSubtitles)
AddOnSubtitles
- Subtitle file to be inserted.
Note: This field may return null, indicating that no valid value can be obtained.public DrmInfo getDrmInfo()
public void setDrmInfo(DrmInfo DrmInfo)
DrmInfo
- Drm information.
Note: This field may return null, indicating that no valid value can be obtained.public String getDefinitionType()
public void setDefinitionType(String DefinitionType)
DefinitionType
- Adaptive transcoding template type.
Common: audio-video.
PureAudio: audio-only.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.